/* ===== HEADER / NAVBAR ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-normal);
    background: transparent;
}

.header.scrolled {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 253, 248, 0.98) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(46, 125, 50, 0.1);
    border-bottom: 1px solid rgba(46, 125, 50, 0.08);
}

.navbar {
    padding: 5px 0;
    transition: var(--transition-normal);
}

.header.scrolled .navbar {
    padding: 5px 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo Stilleri - BÜYÜK VE VURGULU */
.logo {
    display: flex;
    align-items: center;
    position: relative;
    padding: 0;
    margin: 0;
}

.logo img {
    height: 180px;
    width: auto;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 6px 20px rgba(46, 125, 50, 0.3));
}

.logo:hover img {
    transform: scale(1.03);
    filter: drop-shadow(0 10px 30px rgba(46, 125, 50, 0.45));
}

/* Scroll durumunda logo boyutu KÜÇÜLÜR */
.header.scrolled .logo img {
    height: 70px;
    filter: drop-shadow(0 2px 8px rgba(46, 125, 50, 0.2));
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Navigation Links - İyileştirilmiş Tasarım */
.nav-link {
    padding: 12px 24px;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    color: var(--white);
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 20px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: transform 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
}

/* Scroll durumunda link renkleri */
.header.scrolled .nav-link {
    color: #2d3436;
    text-shadow: none;
}

.nav-link:hover {
    color: #A5D6A7;
    background: rgba(255, 255, 255, 0.1);
}

/* Aktif ve hover durumu - logoyla uyumlu koyu yeşil */
.header.scrolled .nav-link:hover,
.header.scrolled .nav-link.active {
    color: #1B5E20;
    background: linear-gradient(135deg, rgba(27, 94, 32, 0.1) 0%, rgba(46, 125, 50, 0.15) 100%);
}

/* Şeffaf navbar'da aktif link - sadece renk değişimi, arka plan yok */
.nav-link.active {
    color: #66BB6A;
    background: transparent;
}

/* CTA Button - Bize Ulaşın */
.nav-link.cta-btn {
    background: linear-gradient(135deg, #2E7D32 0%, #43A047 50%, #66BB6A 100%);
    color: var(--white) !important;
    margin-left: 15px;
    border-radius: 50px;
    padding: 12px 28px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.35);
    text-shadow: none;
    border: none;
}

.nav-link.cta-btn::after {
    display: none;
}

.nav-link.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(46, 125, 50, 0.45);
    background: linear-gradient(135deg, #1B5E20 0%, #2E7D32 50%, #43A047 100%);
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown .nav-link i {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.dropdown:hover .nav-link i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 240px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fdf8 100%);
    border-radius: 16px;
    box-shadow: 0 15px 50px rgba(46, 125, 50, 0.15), 0 5px 15px rgba(0, 0, 0, 0.08);
    padding: 12px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(46, 125, 50, 0.08);
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #ffffff;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu li a {
    display: flex;
    align-items: center;
    padding: 14px 18px;
    font-size: 0.92rem;
    font-weight: 500;
    color: #4a4a5a;
    border-radius: 10px;
    transition: all 0.25s ease;
}

.dropdown-menu li a:hover {
    background: linear-gradient(135deg, rgba(200, 230, 201, 0.6) 0%, rgba(232, 245, 233, 1) 100%);
    color: #1B5E20;
    transform: translateX(5px);
}

/* Hamburger Menü */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
    padding: 8px;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.hamburger:hover {
    background: rgba(255, 255, 255, 0.1);
}

.header.scrolled .hamburger:hover {
    background: rgba(46, 125, 50, 0.1);
}

.bar {
    width: 26px;
    height: 3px;
    background: var(--white);
    border-radius: 3px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header.scrolled .bar {
    background: #2d3436;
}

.hamburger.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
    background: #2E7D32;
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
    background: #2E7D32;
}

/* Mobile Styles */
@media (max-width: 991px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 400px;
        height: 100vh;
        background: linear-gradient(180deg, #ffffff 0%, #f8fdf8 100%);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 15px;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 50px rgba(0, 0, 0, 0.15);
        padding: 40px 30px;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        color: #2d3436;
        font-size: 1.15rem;
        text-shadow: none;
        width: 100%;
        justify-content: center;
        padding: 16px 24px;
    }

    .nav-link::after {
        bottom: 10px;
    }

    .nav-link:hover,
    .nav-link.active {
        color: #2E7D32;
        background: linear-gradient(135deg, rgba(200, 230, 201, 0.5) 0%, rgba(232, 245, 233, 0.8) 100%);
    }

    .nav-link.cta-btn {
        margin-left: 0;
        margin-top: 15px;
        width: 100%;
        justify-content: center;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding: 0;
        margin-top: 10px;
        background: transparent;
        border: none;
        min-width: 100%;
    }

    .dropdown-menu::before {
        display: none;
    }

    .dropdown-menu li a {
        padding: 12px 20px;
        justify-content: center;
        background: rgba(200, 230, 201, 0.3);
        margin: 5px 0;
    }
}

/* Küçük Ekran Uyarlamaları */
@media (max-width: 576px) {
    .logo img {
        height: 50px;
    }

    .header.scrolled .logo img {
        height: 45px;
    }

    .navbar {
        padding: 12px 0;
    }
}