/* Header Genel */
.site-header {
    position: sticky;
    top: 0;
    width: 100%;
    background: rgba(255,255,255,0.85);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    z-index: 1000;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* Header - Logo */
.navbar-brand {
    padding: 0.5rem 0;
    margin-right: 16px;
}

.navbar-brand .logo {
    height: 40px;
    width: auto;
    transition: opacity 0.2s ease;
}

.navbar-brand:hover .logo {
    opacity: 0.9;
}

/* Header - Menü */
.navbar {
    padding: 0.5rem 0;
    background: rgba(255,255,255,0.85) !important;
    border-radius: 18px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}

.navbar .container {
    padding-left: 20px;
    padding-right: 15px;
    max-width: 100%;
}

.collapse.navbar-collapse {
    display: flex !important;
    justify-content: flex-start;
    align-items: center;
}

.navbar-nav {
    margin-left: 0;
    margin-right: auto;
    gap: 16px;
    align-items: center;
}

.nav-link {
    font-family: 'Poppins', sans-serif;
    font-size: 14px !important;
    font-weight: 500;
    text-transform: uppercase;
    color: #222;
    padding: 0.5rem 0.7rem;
    position: relative;
    transition: color 0.2s, background 0.2s, box-shadow 0.2s;
    white-space: nowrap;
    letter-spacing: 0.3px;
    background: none;
    border-radius: 8px;
    box-shadow: none;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 20%;
    width: 0;
    height: 2px;
    background-color: #0056D4;
    transition: width 0.2s;
    border-radius: 2px;
}

.nav-link:hover,
.nav-link:focus {
    color: #0056D4;
    background: rgba(230,240,255,0.7);
    box-shadow: 0 2px 8px rgba(0,86,212,0.07);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 60%;
}

.nav-link.active {
    color: #0056D4;
    font-weight: 600;
    background: rgba(230,240,255,0.7);
    box-shadow: 0 2px 8px rgba(0,86,212,0.09);
}

/* Header - Dropdown */
.dropdown-menu {
    border: none;
    box-shadow: 0 2px 12px rgba(0,0,0,0.09);
    border-radius: 12px;
    padding: 0.5rem 0.2rem;
    min-width: 200px;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.dropdown-item {
    font-family: 'Poppins', sans-serif;
    font-size: 13px !important;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.2s;
    white-space: nowrap;
    color: #222;
    background: transparent;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: rgba(230,240,255,0.7);
    color: #0056D4;
}

/* Header - Butonlar */
.header-buttons {
    margin-left: 0;
    gap: 16px;
    display: flex;
    align-items: center;
}

.btn-outline-primary {
    border: 2px solid #0056D4;
    color: #0056D4;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.2s;
    font-size: 13px !important;
    white-space: nowrap;
    background: rgba(255,255,255,0.85);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.btn-outline-primary:hover {
    background-color: #0056D4;
    color: #fff;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.btn-teklif {
    background-color: #0056D4;
    color: #fff;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s;
    font-size: 13px !important;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.btn-teklif:hover {
    background-color: #003BB5;
    color: #fff;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

/* Responsive Header Styles */
@media (max-width: 991px) {
    .navbar {
        padding: 0.5rem 0;
    }

    .navbar .container {
        padding-left: 10px;
        padding-right: 10px;
    }

    .navbar-brand .logo {
        height: 35px;
    }

    .navbar-collapse {
        background: var(--white);
        padding: 1rem;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        margin-top: 1rem;
    }

    .navbar-nav {
        gap: 0.5rem;
    }

    .nav-link {
        font-size: 12px;
        padding: 0.8rem 1rem;
        border-radius: 6px;
    }

    .header-buttons {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        margin-top: 1rem;
        margin-left: 0;
        gap: 8px;
    }

    .header-buttons .btn {
        width: 100%;
        text-align: left;
    }

    .navbar-nav {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
    }

    .navbar-collapse {
        align-items: flex-start;
    }

    .collapse.navbar-collapse {
        display: none !important;
        width: 100%;
    }

    .collapse.navbar-collapse.show {
        display: block !important;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .navbar .container {
        padding-left: 5px;
        padding-right: 5px;
    }

    .navbar-brand .logo {
        height: 30px;
    }

    .navbar-collapse {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: var(--white);
        padding: 5rem 1.5rem 2rem;
        transition: 0.3s ease;
        overflow-y: auto;
    }

    .navbar-collapse.show {
        left: 0;
    }

    .navbar-nav {
        margin-bottom: 2rem;
    }

    .nav-link {
        font-size: 14px;
        padding: 1rem;
        border-bottom: 1px solid var(--light-bg);
    }

    .header-buttons {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        padding: 1rem;
        background: var(--white);
        box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
        z-index: 1000;
    }
}

/* Tablet Specific Styles */
@media (min-width: 768px) and (max-width: 991px) {
    .navbar {
        padding: 0.5rem 0;
    }

    .navbar .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .navbar-brand .logo {
        height: 35px;
    }

    .navbar-nav {
        gap: 0.5rem;
    }

    .nav-link {
        font-size: 13px;
        padding: 0.5rem 0.7rem;
    }

    .header-buttons {
        gap: 0.8rem;
    }

    .header-buttons .btn {
        padding: 0.5rem 0.8rem;
        font-size: 11px;
    }
}

/* TV Specific Styles */
@media (min-width: 1200px) {
    .navbar {
        padding: 0.6rem 0;
    }

    .navbar .container {
        padding-left: 30px;
        padding-right: 30px;
    }

    .navbar-brand .logo {
        height: 45px;
    }

    .navbar-nav {
        gap: 1rem;
    }

    .nav-link {
        font-size: 13px;
        padding: 0.5rem 0.8rem;
    }

    .header-buttons {
        gap: 1rem;
    }

    .header-buttons .btn {
        padding: 0.5rem 1rem;
        font-size: 10px;
    }
}

.navbar-toggler {
    border: 2px solid #0056D4;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.2s;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    margin-left: 1rem;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(0, 86, 212, 0.25);
    outline: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 86, 212, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    width: 1.5em;
    height: 1.5em;
    transition: background-image 0.2s;
}

@media (min-width: 992px) {
    .navbar-toggler {
        display: none !important;
    }
}

.ms-auto {
    margin-left: 0 !important;
}

/* Hamburger menü ikonları */
.navbar-toggler .navbar-toggler-icon {
    transition: background-image 0.2s;
}
.navbar-toggler.collapsed .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 86, 212, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.navbar-toggler:not(.collapsed) .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cline x1='6' y1='6' x2='24' y2='24' stroke='rgba(0, 86, 212, 1)' stroke-width='2.5'/%3e%3cline x1='24' y1='6' x2='6' y2='24' stroke='rgba(0, 86, 212, 1)' stroke-width='2.5'/%3e%3c/svg%3e");
} 