/* ==========================================================================
   PROF-DERS AKADEMİ - MERKEZİ VE EKSİKSİZ STİL DOSYASI (V3.2 - PROFESYONEL SLAYT ANİMASYONLU)
   ========================================================================== */

/* ==========================================================================
   1. KÖK DEĞİŞKENLER VE TEMEL SIFIRLAMALAR
   ========================================================================== */
:root {
    --primary: #040712;        /* Sitenin ana koyu arka plan rengi */
    --secondary: #0f172a;      /* İkincil derin ton (kartlar ve alanlar için) */
    --accent: #d4af37;         /* Lüks altın sarısı vurgu rengi */
    --text-main: #ffffff;      /* Ana başlık ve parlak metin rengi */
    --text-muted: #cbd5e1;     /* Okunabilirliği yüksek ikincil/açık gri metin rengi */
    --glass: rgba(255, 255, 255, 0.03); /* Şeffaf cam katman efekti */
    --glass-border: rgba(255, 255, 255, 0.08); /* Cam sınır çizgisi */
}

/* Tüm elementlerin taşma, iç boşluk ve dış boşluk standartlarının sıfırlanması */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box !important;
    max-width: 100%;
}

html {
    font-size: 16px;
    scroll-behavior: smooth; /* Sayfa içi kaydırmalara akıcı geçiş kazandırır */
}

body {
    font-family: 'Poppins', sans-serif !important;
    background-color: var(--primary);
    background-image: radial-gradient(circle at 50% -20%, #1e293b 0%, var(--primary) 70%); /* Üstten merkezli hafif aydınlatma efekti */
    background-attachment: fixed;
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 1rem;
    overflow-x: hidden !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    width: 100%;
}

/* Tüm ana başlık türleri için Montserrat fontu ve lüks büyük harf düzeni */
h1, h2, h3, h4, .slide-title {
    font-family: 'Montserrat', sans-serif !important;
    color: var(--text-main);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

/* İçeriklerin düzenli ortalanmasını sağlayan ana kapsayıcı container */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* Medya elemanlarının duyarlı (responsive) yapıda kalmasını sağlayan kural */
img, video, iframe, .swiper-slide {
    max-width: 100% !important;
    height: auto;
}

/* ==========================================================================
   2. ÜST DUYURU ŞERİDİ VE HEADER (NAVBAR) [LÜKS GÖLGE VE CAM EFEKTİ]
   ========================================================================== */

/* Sabit üst menü (Navbar) tasarımı, cam bulanıklığı ve altın detaylar */
header, header#navbar, #navbar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 10000 !important;
    background: rgba(4, 7, 18, 0.92) !important; /* Hafif transparan lüks koyu ton */
    backdrop-filter: blur(12px) !important; /* Modern buğulu cam efekti */
    -webkit-backdrop-filter: blur(12px) !important;
    border-bottom: 1px solid rgba(212, 175, 55, 0.25) !important; /* Altın renkli zarif sınır çizgisi */
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.75), 0 4px 15px rgba(212, 175, 55, 0.08) !important; /* Aşağıya doğru derin ve lüks gölge */
    height: 95px !important;
    transition: all 0.3s ease;
}

/* Menü içerisindeki elemanların hizalandığı esnek kutu */
.nav-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
}

/* Logo sarmalayıcısı ve konumlandırması */
.brand-wrapper {
    display: flex;
    align-items: center;
    margin-left: 0 !important;
    padding-left: 0 !important;
    z-index: 1001 !important;
    text-decoration: none;
}

/* SVG logo boyutu ve hover animasyonu */
.logo-svg {
    height: 60px;
    width: auto;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.brand-wrapper:hover .logo-svg {
    transform: scale(1.04);
}

/* Mobil cihazlar için açma/kapama buton yapısı (başlangıçta gizli) */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ==========================================================================
   3. NAVİGASYON VE MENÜ SİSTEMİ
   ========================================================================== */

/* Navigasyon menü listesi */
.menu {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
}

/* Menü bağlantı öğelerinin tasarımı */
.menu a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    transition: all 0.3s ease;
    position: relative;
}

/* Altın buton hariç diğer menü öğelerinin altındaki hover çizgisi efekti */
.menu a:not(.btn-gold)::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.menu a:not(.btn-gold):hover::after {
    width: 100%;
}

.menu a:hover {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255,255,255,0.2);
}

/* Özel parıltılı altın CTA (Call to Action) butonu */
.btn-gold {
    background: linear-gradient(135deg, #c5a039 0%, var(--accent) 50%, #f4dc96 100%);
    background-size: 200% auto;
    color: #040712 !important;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 700 !important;
    box-shadow: 0 4px 25px rgba(229, 193, 88, 0.3);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

.btn-gold:hover {
    transform: translateY(-2px);
    background-position: right center;
    box-shadow: 0 8px 30px rgba(229, 193, 88, 0.5);
}

/* ==========================================================================
   4. DROPDOWN (AÇILIR MENÜ) YAPISI
   ========================================================================== */

.menu li {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
}

.dropdown-arrow {
    font-size: 0.75rem;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Açılır alt menü kutusunun konumlandırma ve cam tasarımı */
.dropdown-menu {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    transform: translateY(15px) !important;
    background: rgba(4, 7, 18, 0.98) !important;
    border: 1px solid rgba(229, 193, 88, 0.25) !important;
    border-radius: 12px !important;
    width: max-content !important;
    min-width: 320px !important;
    padding: 16px 0 !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7), 0 0 30px rgba(229, 193, 88, 0.08) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1) !important;
    z-index: 99999 !important;
}

/* Masaüstü ekranlarda hover ile dropdown menüyü açma */
@media (min-width: 992px) {
    .dropdown:hover .dropdown-menu {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
        display: block !important;
    }
}

.dropdown-header {
    padding: 6px 20px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    color: var(--accent);
    font-weight: 700;
}

.dropdown-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(229, 193, 88, 0.15), transparent);
    margin: 12px 0;
}

.dropdown-menu li a {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 10px 24px !important;
    color: var(--text-muted) !important;
    font-size: 0.82rem !important;
    font-weight: 500 !important;
    white-space: nowrap !important;
    background: transparent !important;
    border: none !important;
}

.dropdown-menu li a i {
    color: var(--accent);
    width: 20px;
    text-align: center;
    font-size: 0.95rem;
}

.dropdown-menu li a:hover {
    color: #ffffff !important;
    background: rgba(229, 193, 88, 0.05) !important;
    padding-left: 26px !important;
}

/* ==========================================================================
   5. HERO VE SLAYT ALANLARI
   ========================================================================== */

.hero-slider-container, 
.inner-page-hero {
    margin-top: 95px !important; /* Navbar yüksekliği kadar boşluk bırakır */
}

.hero-slider-container {
    width: 100%;
    height: calc(100vh - 95px);
    min-height: 600px;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.inner-page-hero {
    height: 680px;
    position: relative;
    background: #040712;
    overflow: hidden;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
}

/* ==========================================================================
   6. KUTU, KART VE BÖLÜM YERLEŞİMLERİ
   ========================================================================== */

/* 2 sütunlu kusursuz grid kart yapısı */
.grid-cards {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 35px !important;
    width: 100% !important;
    margin: 0 auto !important;
}

/* Kurumsal kartlar için ortak cam ve gölge stilleri */
.p-card, .premium-card, .box-corporate, .premium-contact-card {
    background: rgba(15, 23, 42, 0.65) !important;
    border: 1px solid rgba(212, 175, 55, 0.2) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border-radius: 20px !important;
    padding: 40px 30px !important;
    display: flex !important;
    flex-direction: column !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1) !important;
    position: relative !important;
    overflow: hidden !important;
}

.p-card .p-icon, 
.premium-card .p-icon {
    font-size: 2.4rem !important;
    color: var(--accent, #d4af37) !important;
    margin-bottom: 20px !important;
    transition: transform 0.4s ease !important;
}

.p-card h3, 
.premium-card h3, 
.box-corporate h3 {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 1.35rem !important;
    color: #ffffff !important;
    margin-bottom: 15px !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
}

.p-card p, 
.premium-card p, 
.box-corporate p {
    font-family: 'Poppins', sans-serif !important;
    font-size: 1rem !important;
    color: var(--text-muted, #cbd5e1) !important;
    line-height: 1.7 !important;
    margin-bottom: 0 !important;
}

/* Kartların üzerine gelindiğinde (hover) oluşan lüks kalkış ve parlama efekti */
.p-card:hover, 
.premium-card:hover, 
.box-corporate:hover, 
.premium-contact-card:hover {
    transform: translateY(-8px) !important;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(15, 23, 42, 0.9) 100%) !important;
    border-color: rgba(212, 175, 55, 0.6) !important;
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.15) !important;
}

.p-card:hover .p-icon, 
.premium-card:hover .p-icon {
    transform: scale(1.1) !important;
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.5) !important;
}

/* ==========================================================================
   7. RESPONSIVE / MOBİL UYUM VE HİZALAMA
   ========================================================================== */

/* Tablet ve altı ekranlar için dropdown ayarları */
@media (max-width: 991px) {
    .dropdown-menu {
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        transform: none !important;
        width: 100% !important;
        background: rgba(15, 23, 42, 0.4) !important;
        border: none !important;
        border-left: 2px solid rgba(229, 193, 88, 0.3) !important;
        border-radius: 0 !important;
        padding: 0 !important;
        margin: 8px 0 !important;
        display: none; 
        opacity: 1 !important;
        visibility: visible !important;
    }
    .dropdown.open .dropdown-menu {
        display: block !important;
    }
    .dropdown.open .dropdown-arrow {
        transform: rotate(180deg);
    }
}

/* Akıllı telefonlar (Mobil) için özel düzenlemeler */
@media (max-width: 768px) {
    header, header#navbar, #navbar { height: 75px !important; }
    .nav-box { height: 75px; }
    .logo-svg { height: 48px; }
    .mobile-toggle { display: block; }
    
    .menu {
        position: fixed;
        top: 75px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 75px);
        background: rgba(4, 7, 18, 0.98);
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
        flex-direction: column;
        justify-content: center;
        gap: 30px;
        transition: left 0.4s cubic-bezier(0.77,0.2,0.05,1);
        z-index: 999;
        padding: 40px;
    }

    .menu.active { left: 0; }
    .menu a { font-size: 1.1rem; }
    
    .hero-slider-container,
    .inner-page-hero { 
        margin-top: 75px !important; 
    }

    .grid-cards {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    .p-card, .premium-card, .box-corporate {
        padding: 25px 20px !important;
    }
}

/* Marka imajlarının standart boyut koruması */
.brand-wrapper img, 
.site-header img, 
.navbar-brand img {
    max-height: 50px !important;
    width: auto !important;
    height: auto !important;
}

/* ==========================================================================
   8. PROFESYONEL SLAYT GEÇİŞ VE YAZI ANİMASYONLARI (CUBIC-BEZIER & BLUR)
   ========================================================================== */

/* Başlangıç Durumu (Aktif Olmayan Slaytlar) */
.swiper-slide .inner-badge,
.swiper-slide h1,
.swiper-slide p,
.swiper-slide .btn-gold {
    opacity: 0;
    transform: translateY(45px) scale(0.96);
    filter: blur(10px);
    transition: all 0s ease;
}

/* Aktif Slayt Olduğunda Çalışacak Gelişmiş Profesyonel Akış */
.swiper-slide-active .inner-badge {
    animation: profSlideUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

.swiper-slide-active h1 {
    animation: profSlideUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.35s forwards;
}

.swiper-slide-active p {
    animation: profSlideUp 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
}

.swiper-slide-active .btn-gold {
    animation: profSlideUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.65s forwards;
}

@keyframes profSlideUp {
    0% {
        opacity: 0;
        transform: translateY(45px) scale(0.96);
        filter: blur(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0px);
    }
}

/* Arka plan görseline modern hafif zoom (yakınlaşma) efekti */
.swiper-slide-inner {
    transition: transform 6s cubic-bezier(0.25, 1, 0.5, 1);
    transform: scale(1);
}

.swiper-slide-active .swiper-slide-inner {
    transform: scale(1.06);
}

/* ==========================================================================
   9. YENİ NESİL: GÖZ YORMAYAN LÜKS SLAYT & YAZI ANİMASYONLARI (V4.0)
   ========================================================================== */

/* Slayt geçişlerinde yazıların varsayılan (pasif) gizli durumu */
.swiper-slide .inner-badge,
.swiper-slide h1,
.swiper-slide p,
.swiper-slide .btn-gold {
    opacity: 0;
    transform: translateY(25px) scale(0.98); /* Çok hafif ve zarif bir mesafe */
    filter: blur(0px); /* Gözü yoran aşırı blur kaldırıldı, netlik korundu */
    transition: all 0.5s ease;
}

/* Slayt aktif olduğunda tetiklenen kademeli (staggered) akış */
.swiper-slide-active .inner-badge {
    animation: softFadeUp 1s cubic-bezier(0.25, 1, 0.5, 1) 0.2s forwards;
}

.swiper-slide-active h1 {
    animation: softFadeUp 1.1s cubic-bezier(0.25, 1, 0.5, 1) 0.35s forwards;
}

.swiper-slide-active p {
    animation: softFadeUp 1.2s cubic-bezier(0.25, 1, 0.5, 1) 0.5s forwards;
}

.swiper-slide-active .btn-gold {
    animation: softFadeUp 1.3s cubic-bezier(0.25, 1, 0.5, 1) 0.65s forwards;
}

/* Gözü yormayan, akıcı ve sarsıntısız ana animasyon Keyframe'i */
@keyframes softFadeUp {
    0% {
        opacity: 0;
        transform: translateY(25px) scale(0.98);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Arka plan slayt görseli için sinematik ve çok yavaş "Nefes Alma" efekti */
.swiper-slide img,
.swiper-slide .slide-bg {
    transform: scale(1);
    transition: transform 7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.swiper-slide-active img,
.swiper-slide-active .slide-bg {
    transform: scale(1.04); /* Çok yavaş, fark edilmeyecek kadar sakin bir zoom */
}



/* Perdeyi tamamen kaldırmak için */
.swiper-slide-inner::after {
    background: transparent !important;
}

/* 1. Slayt Lavanta */
.swiper-slide:nth-child(1) .swiper-slide-inner {
    background: linear-gradient(135deg, rgba(76, 29, 149, 0.9) 0%, rgba(109, 40, 217, 0.8) 100%) !important;
}

/* 2. Slayt Yeşil */
.swiper-slide:nth-child(2) .swiper-slide-inner {
    background: linear-gradient(135deg, rgba(6, 78, 59, 0.9) 0%, rgba(4, 120, 87, 0.8) 100%) !important;
}

/* 3. Slayt Kırmızı */
.swiper-slide:nth-child(3) .swiper-slide-inner {
    background: linear-gradient(135deg, rgba(127, 29, 29, 0.9) 0%, rgba(153, 27, 27, 0.8) 100%) !important;
}




    /* Tam Ekran Hero / Slayt Alanı Optimizasyonu */
    .inner-page-hero {
        position: relative;
        width: 100vw;
        height: 100vh;
        margin-left: calc(-50vw + 50%);
        margin-right: calc(-50vw + 50%);
        margin-top: 0;
        padding: 0;
        overflow: hidden;
    }
    .inner-page-hero .swiper,
    .inner-page-hero .swiper-wrapper,
    .inner-page-hero .swiper-slide,
    .inner-page-hero .swiper-slide-inner {
        width: 100%;
        height: 100vh !important;
    }
    
    .inner-page-hero .swiper-slide-inner {
        display: flex;
        align-items: center;
        position: relative;
        transition: background 1s ease;
    }
    
    /* ==========================================================================
       HER SLAYTA ÖZEL DİNAMİK ARKA PLAN RENKLERİ (GÖRSEL YOK)
       ========================================================================== */
       
    /* 1. Slayt: Prestijli Koyu Lacivert / Kurumsal Ton */
    .slide-bg-1 {
        background: linear-gradient(135deg, #070e22 0%, #0f172a 50%, #1e293b 100%);
    }

    /* 2. Slayt: Sofistike Antrasit / Dinamik Matematik & Fen Tonu */
    .slide-bg-2 {
        background: linear-gradient(135deg, #111827 0%, #1f2937 50%, #0f172a 100%);
    }

    /* 3. Slayt: Derin Gece Mavisi / Strateji & Derece Tonu */
    .slide-bg-3 {
        background: linear-gradient(135deg, #040d18 0%, #0c1c30 50%, #112240 100%);
    }

    .inner-page-hero .slide-text-container {
        position: relative;
        z-index: 2;
        width: 100%;
    }

    /* ==========================================================================
       YENİ NESİL: GÖZ YORMAYAN LÜKS SLAYT & YAZI ANİMASYONLARI
       ========================================================================== */
    .inner-page-hero .swiper-slide .inner-badge,
    .inner-page-hero .swiper-slide h1,
    .inner-page-hero .swiper-slide p,
    .inner-page-hero .swiper-slide .btn-gold {
        opacity: 0;
        transform: translateY(25px) scale(0.98);
        filter: blur(0px);
        transition: all 0.5s ease;
    }

    .inner-page-hero .swiper-slide-active .inner-badge {
        animation: softFadeUp 1s cubic-bezier(0.25, 1, 0.5, 1) 0.2s forwards;
    }

    .inner-page-hero .swiper-slide-active h1 {
        animation: softFadeUp 1.1s cubic-bezier(0.25, 1, 0.5, 1) 0.35s forwards;
    }

    .inner-page-hero .swiper-slide-active p {
        animation: softFadeUp 1.2s cubic-bezier(0.25, 1, 0.5, 1) 0.5s forwards;
    }

    .inner-page-hero .swiper-slide-active .btn-gold {
        animation: softFadeUp 1.3s cubic-bezier(0.25, 1, 0.5, 1) 0.65s forwards;
    }

    @keyframes softFadeUp {
        0% {
            opacity: 0;
            transform: translateY(25px) scale(0.98);
        }
        100% {
            opacity: 1;
            transform: translateY(0) scale(1);
        }
    }

