/* Modern Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 15, 28, 0.95);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(100, 255, 218, 0.1);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100px;
    display: flex;
    align-items: center;
}

.header.scrolled {
    background: rgba(10, 15, 28, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    height: 80px;
}

.nav {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 0;
    width: 100%;
    height: 100%;
}

/* LOGO ÇÖZÜMÜ - KESİN ÇÖZÜM */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--accent);
    height: 100%;
    position: relative;
    z-index: 1002;
    /* HITBOX DÜZELTMESİ: Logo konteynerini görünen boyuta sabitle */
    width: 325px; /* Görünen genişlik */
    height: 80px; /* Görünen yükseklik */
    overflow: hidden; /* Taşan kısımları gizle */
}

/* LOGO GÖRSELİ - ESKİ BÜYÜK BOYUT AMA HITBOX DÜZGÜN */
.logo-img {
    width: 650px; /* Orijinal büyük boyut */
    height: 650px; /* Orijinal büyük boyut */
    object-fit: contain;
    transition: transform 0.3s ease;
    border-radius: 8px;
    /* Transform ile küçült ama hitbox konteyner tarafından sınırlı */
    transform: scale(0.5);
    transform-origin: left center;
    /* Görseli konteynerin sol üst köşesine hizala */
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) scale(0.5);
}

.logo:hover .logo-img {
    transform: translateY(-50%) scale(0.52);
}

.logo-text {
    font-weight: 800;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.8rem;
    margin-left: -55px;
    white-space: nowrap;
    position: relative;
    z-index: 1;
}

/* NAV LİNKLERİN POZİSYONU */
.nav-links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    margin-left: auto;
    position: relative;
    z-index: 1001;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 0;
    position: relative;
    transition: all 0.3s ease;
    white-space: nowrap;
    min-width: max-content;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 4px;
    z-index: 1003;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background: var(--accent);
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Modern Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-accent);
    color: var(--deep-navy);
    box-shadow: 0 4px 15px rgba(100, 255, 218, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(100, 255, 218, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--accent);
}

.btn-secondary:hover {
    background: rgba(100, 255, 218, 0.1);
    transform: translateY(-2px);
}

/* Cards */
.card {
    background: var(--gradient-card);
    border: 1px solid rgba(100, 255, 218, 0.1);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid rgba(100, 255, 218, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.card:hover::before {
    transform: scaleX(1);
}

.card:hover {
    transform: translateY(-8px);
    border-color: rgba(100, 255, 218, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}


/* WhatsApp Button */
.whatsapp-float {
    position: fixed !important;
    bottom: 25px !important;
    right: 25px !important;
    background: #25D366 !important;
    color: white !important;
    width: 60px !important;
    height: 60px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3) !important;
    z-index: 1000 !important;
    transition: transform 0.3s ease !important;
}

.whatsapp-float:hover {
    transform: scale(1.1) !important;
}

.whatsapp-float i {
    font-size: 1.5rem !important;
    color: white !important;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Footer */
.footer {
    background: var(--navy);
    padding: 4rem 0 2rem;
    margin-top: 6rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    color: var(--accent);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: var(--light-slate);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(100, 255, 218, 0.1);
    color: var(--slate);
}

/* MOBİL MENÜ TAM EKRAN ÇÖZÜMÜ */
@media (max-width: 1024px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100% !important; /* TAM EKRAN GENİŞLİK */
        height: 100vh;
        background: rgba(10, 15, 28, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 120px 2rem 2rem;
        transition: right 0.3s ease-in-out;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
        z-index: 999;
        margin: 0;
        gap: 0;
        overflow-y: auto;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-link {
        padding: 1.2rem 0 !important;
        border-bottom: 1px solid rgba(100, 255, 218, 0.1);
        width: 100%;
        display: block;
        font-size: 1.2rem !important;
        color: var(--white) !important;
        transition: all 0.3s ease;
    }

    .nav-link:hover,
    .nav-link.active {
        color: var(--accent) !important;
        background: rgba(100, 255, 218, 0.05);
    }

    .mobile-menu-btn {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 21px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 1000;
        position: relative;
    }

    .mobile-menu-btn span {
        display: block;
        height: 3px;
        width: 100%;
        background: var(--accent);
        border-radius: 3px;
        transition: all 0.3s ease;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
}

/* Desktop menü */
@media (min-width: 1025px) {
    .mobile-menu-btn {
        display: none;
    }
    
    .nav-links {
        display: flex;
        align-items: center;
        gap: 2rem;
        list-style: none;
        margin: 0;
        padding: 0;
    }
}

/* Responsive düzenlemeler */
@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    /* Mobilde logo boyutu */
    .header {
        height: 80px;
    }
    
    .logo {
        width: 150px; /* Mobilde daha küçük konteyner */
        height: 60px;
    }
    
    .logo-img {
        width: 300px;
        height: 300px;
        transform: translateY(-50%) scale(0.4);
    }
    
    .logo:hover .logo-img {
        transform: translateY(-50%) scale(0.42);
    }
    
    .logo-text {
        font-size: 1.5rem;
        margin-left: -50px;
    }
    
    /* Mobilde WhatsApp boyutu */
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 1.5rem;
        right: 1.5rem;
    }
    
    .whatsapp-float i {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .logo {
        width: 130px;
        height: 50px;
    }
    
    .logo-img {
        width: 300px;
        height: 300px;
        transform: translateY(-50%) scale(0.35);
    }
    
    .logo:hover .logo-img {
        transform: translateY(-50%) scale(0.37);
    }
    
    .logo-text {
        font-size: 1.4rem;
        margin-left: -45px;
    }
    
    .header {
        height: 70px;
    }
    
    /* Küçük ekranlarda WhatsApp boyutu */
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 1rem;
        right: 1rem;
    }
    
    .whatsapp-float i {
        font-size: 1.5rem;
    }

    /* Mobil menü padding ayarı */
    .nav-links {
        padding: 100px 1.5rem 2rem !important;
    }

    .nav-link {
        font-size: 1.1rem !important;
        padding: 1rem 0 !important;
    }
}

/* Header scroll efekti */
.header.scrolled {
    background: rgba(10, 25, 47, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px -10px rgba(2, 12, 27, 0.7);
}

