﻿/* ============================================
   GLOBAL STYLES
   ============================================ */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: #222;
    background-color: #f8f7f5;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ============================================
   LAYOUT
   ============================================ */
main {
    flex: 1 0 auto;
    margin-top: 0 !important;
    padding-top: 0 !important;
}

footer {
    flex-shrink: 0;
    background-color: #222;
    color: white;
    padding: 40px 0;
    text-align: center;
    width: 100%;
    margin-top: 0;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar-brand {
    color: #b8842b !important;
}

.nav-link {
    font-size: 1.05rem;
}

    .nav-link:hover {
        color: #b8842b !important;
    }

/* Navbar her zaman üstte sabit */
.custom-navbar {
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    transform: none !important;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.95) !important;
    margin-bottom: 0;
    padding: 0.5rem 1rem;
    border-radius: 0 !important;
    backdrop-filter: blur(10px);
    transition: background-color 0.3s ease;
}

    .custom-navbar:hover {
        background-color: rgba(0, 0, 0, 1) !important;
    }

    .custom-navbar .container {
        max-width: 100%;
    }

/* ============================================
   CAROUSEL
   ============================================ */
.container-fluid.p-0 {
    margin-top: 0 !important;
}

#header-carousel {
    margin-top: 0 !important;
}

    #header-carousel .carousel-item {
        position: relative;
        height: 70vh;
        min-height: 400px;
    }

        #header-carousel .carousel-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            filter: brightness(70%);
        }

    #header-carousel .carousel-caption {
        bottom: 30%;
        z-index: 10;
    }

/* ============================================
   PROJECTS
   ============================================ */
.project-carousel img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
}

/* ============================================
   FORMS
   ============================================ */
form input, form textarea {
    border-radius: 10px !important;
}

form button {
    transition: all 0.3s ease;
}

    form button:hover {
        background-color: #333;
        color: #fff;
    }

/* ============================================
   VIDEO
   ============================================ */
.fullscreen-video video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================
   RESPONSIVE - DESKTOP
   ============================================ */
@media (min-width: 992px) {
    .custom-navbar {
        background-color: rgba(0, 0, 0, 0.85) !important;
    }

    .navbar-collapse {
        justify-content: center;
    }
}

/* ============================================
   RESPONSIVE - TABLET & MOBILE
   ============================================ */
@media (max-width: 991px) {
    .navbar-collapse {
        background-color: rgba(0, 0, 0, 0.98);
        padding: 1rem;
        border-radius: 10px;
        margin-top: 0.5rem;
    }

    .navbar-nav {
        text-align: center;
    }

    .nav-item {
        padding: 0.5rem 0;
    }
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        height: 50vh;
        min-height: 350px;
    }

    #header-carousel .carousel-caption {
        bottom: 20%;
    }

        #header-carousel .carousel-caption h1 {
            font-size: 1.5rem;
        }

        #header-carousel .carousel-caption p {
            font-size: 0.9rem;
        }

        #header-carousel .carousel-caption .btn {
            padding: 0.5rem 1rem;
            font-size: 0.9rem;
        }
}

/* ============================================
   RESPONSIVE - MOBILE SMALL
   ============================================ */
@media (max-width: 576px) {
    #header-carousel .carousel-item {
        height: 45vh;
        min-height: 300px;
    }

    #header-carousel .carousel-caption h1 {
        font-size: 1.3rem;
    }
}
