/* Modern Header - Sıfırdan Tasarım */

:root {
    --header-bg: rgba(255, 255, 255, 0.85);
    --header-bg-scrolled: rgba(255, 255, 255, 0.95);
    --header-border: rgba(0, 0, 0, 0.08);
    --header-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    --text-primary: #1a202c;
    --text-secondary: #4a5568;
    --accent-primary: #4f46e5;
    --accent-secondary: #6366f1;
    --radius-md: 8px;
    --radius-lg: 12px;
    --transition-fast: all 0.2s ease-in-out;
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    padding-top: 80px; /* Header yüksekliği kadar boşluk */
}

.header-modern {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 80px;
    background: var(--header-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--header-border);
    transition: var(--transition-smooth);
}

.header-modern.scrolled {
    background: var(--header-bg-scrolled);
    box-shadow: var(--header-shadow);
    height: 70px;
}

.nav-modern {
    max-width: 1280px;
    height: 100%;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-modern {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-modern img {
    height: 76px;
    transition: var(--transition-fast);
}

.header-modern.scrolled .logo-modern img {
    height: 70px;
}



.nav-menu-modern {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 8px;
}

.nav-link-modern {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 500;
    padding: 10px 16px;
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
    position: relative;
}

.nav-link-modern:hover {
    color: var(--text-primary);
    background-color: rgba(0, 0, 0, 0.04);
}

.nav-link-modern.active {
    color: var(--accent-primary);
    font-weight: 600;
}

.cta-button-modern {
    background: linear-gradient(45deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: var(--radius-md);
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition-fast);
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.3);
    margin-left: 16px;
}

.cta-button-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.4);
}

.mobile-toggle-modern {
    display: none;
    background: transparent;
    border: none;
    padding: 8px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger-modern {
    width: 24px;
    height: 20px;
    position: relative;
}

.hamburger-modern span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.hamburger-modern span:nth-child(1) { top: 0; }
.hamburger-modern span:nth-child(2) { top: 9px; }
.hamburger-modern span:nth-child(3) { top: 18px; }

.mobile-toggle-modern.active .hamburger-modern span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle-modern.active .hamburger-modern span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.mobile-toggle-modern.active .hamburger-modern span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 768px) {
    .nav-menu-modern {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 24px;
        transition: var(--transition-smooth);
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    }

    .nav-menu-modern.active {
        right: 0;
    }

    .nav-link-modern {
        font-size: 20px;
    }

    .cta-button-modern {
        margin-left: 0;
        padding: 12px 24px;
        font-size: 20px;
    }

    .mobile-toggle-modern {
        display: block;
    }
}