/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Fiery Ocean Color Palette */
    --primary-color: #8B1538; /* Dark Red */
    --primary-dark: #5D0E26;  /* Darker Red */
    --secondary-color: #D2334A; /* Bright Red */
    --accent-color: #F4E4BC;  /* Cream */
    --text-primary: #1E3A5F;  /* Navy Blue */
    --text-secondary: #6B8CAE; /* Light Blue */
    --text-light: #9BABC8;    /* Lighter Blue */
    --bg-primary: #ffffff;
    --bg-secondary: #F8F9FB;
    --bg-dark: #1E3A5F;       /* Navy Blue */
    --border-color: #E6EBF0;
    --success-color: #10b981;
    
    /* Updated Gradients with new palette */
    --gradient-primary: linear-gradient(135deg, #8B1538 0%, #D2334A 100%);
    --gradient-secondary: linear-gradient(135deg, #D2334A 0%, #F4E4BC 100%);
    --gradient-accent: linear-gradient(135deg, #1E3A5F 0%, #6B8CAE 100%);
    --gradient-navy: linear-gradient(135deg, #1E3A5F 0%, #6B8CAE 100%);
    --gradient-warm: linear-gradient(135deg, #8B1538 0%, #F4E4BC 100%);
    
    --shadow-sm: 0 1px 2px 0 rgba(30, 58, 95, 0.08);
    --shadow-md: 0 4px 6px -1px rgba(30, 58, 95, 0.12), 0 2px 4px -1px rgba(30, 58, 95, 0.08);
    --shadow-lg: 0 10px 15px -3px rgba(30, 58, 95, 0.15), 0 4px 6px -2px rgba(30, 58, 95, 0.08);
    --shadow-xl: 0 20px 25px -5px rgba(30, 58, 95, 0.15), 0 10px 10px -5px rgba(30, 58, 95, 0.08);
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    overflow-x: hidden;
    padding-top: 120px; /* Header yüksekliği için padding */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 99997 !important;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px) !important;
    border-bottom: none !important;
    transition: all 0.3s ease !important;
    width: 100% !important;
    box-shadow: none !important;
}

.top-bar {
    background: var(--bg-dark);
    color: white;
    padding: 8px 0;
    font-size: 14px;
    position: relative;
    z-index: 1001;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info span {
    margin-right: 20px;
}

.contact-info i {
    margin-right: 5px;
    color: var(--accent-color);
}

.social-links a {
    color: white;
    margin-left: 15px;
    font-size: 16px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-color);
}

.navbar {
    padding: 15px 0;
    position: relative;
    z-index: 1001;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

@media (max-width: 768px) {
    .navbar {
        z-index: 99997;
        position: relative;
        background: rgba(255, 255, 255, 0.98);
    }
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    text-decoration: none;
}

.logo h2 {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 28px;
    font-weight: 800;
    margin: 0;
    transition: all 0.3s ease;
}

.logo a:hover h2 {
    transform: scale(1.05);
}

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

.nav-menu li {
    margin: 0 15px;
    position: relative;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border-radius: 8px;
    position: relative;
}

/* Slight spacing between text and dropdown chevron */
.nav-menu .dropdown > a i {
    margin-left: 6px;
}

.nav-menu a:hover {
    color: var(--primary-color);
    background: rgba(139, 21, 56, 0.1);
    transform: translateY(-2px);
}

.nav-menu a.active {
    color: var(--primary-color);
    background: rgba(139, 21, 56, 0.15);
    font-weight: 700;
}

/* Desktop dropdown - only hover */
@media (min-width: 769px) {
    .dropdown-menu {
        position: absolute;
        top: 100%;
        left: 0;
        background: white;
        border-radius: 15px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15), 0 8px 16px rgba(0, 0, 0, 0.1);
        opacity: 0;
        visibility: hidden;
        transform: translateY(15px) scale(0.95);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        min-width: 280px;
        z-index: 100;
        border: 1px solid rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(20px);
        overflow: hidden;
    }
    
    .dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) scale(1);
    }
}

/* === Genel düzen === */
.instagram-header {
    display: flex;
    justify-content: center;
    margin: 40px 0;
}

/* === Ana Kart Stili === */
.instagram-profile-card-compact {
    /* Hafif pembe gradient arka plan */
    background: linear-gradient(135deg, #fff6f7 0%, #fefafb 100%);
    border-radius: 20px;
    padding: 22px 35px;
    /* Hafif pembe gölge */
    box-shadow: 0 4px 12px rgba(255, 192, 203, 0.2);
    border: 1px solid rgba(255, 192, 203, 0.25);
    max-width: 1360px;
    width: 100%;
    transition: all 0.3s ease;
}

    /* Kartın üzerine gelindiğinde (hover) efekti */
    .instagram-profile-card-compact:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(255, 192, 203, 0.25);
    }

/* === Profil satırı (İçerik hizalama) === */
.instagram-profile-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* === Sol grup (profil resmi, ad ve istatistikler) === */
.profile-details-group {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Profil Resmi */
.profile-avatar-small img {
    width: 70px;
    height: 70px;
    border-radius: 50%; /* Yuvarlak yapar */
    border: 3px solid #fff;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
    object-fit: cover;
}

/* Kullanıcı Adı ve İstatistiklerin Konteyneri */
.profile-text-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Kullanıcı Adı Başlığı */
.profile-username-compact {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 5px;
}

/* === İstatistikler (Takipçi, Gönderi) === */
.instagram-stats-inline {
    display: flex;
    align-items: center;
    font-size: 0.95rem;
    gap: 18px; /* gruplar arası boşluk */
}

.stat-group {
    display: flex;
    align-items: baseline;
    gap: 5px; /* sayı ve etiket arası küçük boşluk */
}

.stat-number-bold {
    font-weight: 700;
    color: #1a1a1a;
}

.stat-label-light {
    color: #7a7a7a;
}

/* === Sağ grup (bio ve buton) === */
.profile-action-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex: 1; /* Yatayda kalan alanı doldurur */
}

/* Biyo Metni */
.instagram-motto-compact {
    font-style: italic;
    font-size: 1.05rem;
    color: #111;
    margin: 0;
    text-align: center;
    flex: 1; /* Yatayda en fazla yeri kaplamasını sağlar */
}

/* === TAKİP ET BUTONU === */
.insta-follow-btn-tiny {
    /* Instagram'a benzer gradient renkleri */
    background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af, #515bd4);
    background-size: 300% 300%; /* Animasyon için boyut */
    color: #fff;
    padding: 10px 26px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 3px 12px rgba(221, 42, 123, 0.4);
    transition: all 0.4s ease;
    animation: gradientFlow 6s ease infinite; /* Gradient animasyonu başlatılır */
}

    .insta-follow-btn-tiny:hover {
        background-position: 100% 0;
        transform: scale(1.05);
        box-shadow: 0 6px 18px rgba(221, 42, 123, 0.5);
    }

    /* Simge Hizalaması */
    .insta-follow-btn-tiny i {
        font-size: 0.95rem;
        position: relative;
        top: 0.5px;
    }

/* === Gradient animasyonu (Keyframes) === */
@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* === Responsive düzen (992px altı) === */
@media (max-width: 992px) {
    .instagram-profile-row {
        flex-direction: column; /* Yataydan dikeye geçer */
        align-items: center;
        text-align: center;
        gap: 20px;
    }

    .profile-details-group {
        flex-direction: column; /* Profil resmi ve yazı dikey hizalanır */
        gap: 10px;
    }

    .profile-action-group {
        flex-direction: column; /* Bio ve buton dikey hizalanır */
        align-items: center;
        justify-content: center;
        gap: 10px;
        width: 100%;
    }

    .instagram-motto-compact {
        text-align: center;
        font-size: 1rem;
    }

    .insta-follow-btn-tiny {
        width: 70%;
        max-width: 250px;
    }
}

/* === Responsive düzen (576px altı) === */
@media (max-width: 576px) {
    .profile-avatar-small img {
        width: 60px;
        height: 60px;
    }

    .profile-username-compact {
        font-size: 1.2rem;
    }

    .instagram-stats-inline {
        font-size: 0.9rem;
    }

    .instagram-motto-compact {
        font-size: 0.95rem;
    }

    .insta-follow-btn-tiny {
        font-size: 0.9rem;
        padding: 8px 22px;
    }
}

#instagramGrid {
    margin-top: 1rem;
}

/* === Row (Satır) Taklidi === */
.instagram-grid-row {
    display: flex;
    flex-wrap: wrap; /* Kartların bir sonraki satıra inmesini sağlar */
    align-items: stretch; /* Kartların eşit yüksekliğe sahip olmasını sağlar */
    margin: 0 -0.75rem; /* Yan boşlukları (gap) telafi eder */
}

/* === Col-4 (3'te 1 Sütun) Taklidi === */
.instagram-grid-col {
    /* (100% / 3) - 1.5rem boşluk */
    width: 33.333%;
    padding: 0 0.75rem 1.5rem 0.75rem; /* Alttan ve yanlardan boşluk bırakır (gap-4 mantığı) */
    box-sizing: border-box; /* Padding'in genişliğe dahil olmasını sağlar */
    display: flex; /* Kartın sütunu doldurması için */
}

/* === KART (A etiketi) === */
.instagram-card {
    background: #fff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-decoration: none;
    color: #212529;
    display: flex;
    flex-direction: column;
    width: 100%; /* Sütunun tamamını doldurur */
    height: 100%;
    position: relative;
}

    .instagram-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    }

/* === GÖRSEL / VİDEO Konteyneri === */
.instagram-card-media {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 400px;
}

.instagram-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* === VİDEO PLAY İKONU (Aynı kaldı) === */
.video-icon-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(255, 255, 255, 0.85);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    pointer-events: none;
}

    .video-icon-overlay i {
        font-size: 22px;
        color: #000;
    }

/* === Eylem Butonu Konteyneri (Aynı kaldı) === */
.instagram-actions {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

    /* Butonun kendisi (Aynı kaldı) */
    .instagram-actions .btn-follow-more {
        display: inline-block;
        padding: 14px 36px;
        background: linear-gradient(90deg, #8a0d2f, #d6244b);
        color: #fff;
        font-weight: 600;
        font-size: 1rem;
        border: none;
        border-radius: 50px;
        text-decoration: none;
        box-shadow: 0 4px 15px rgba(214, 36, 75, 0.3);
        transition: all 0.3s ease;
    }

        .instagram-actions .btn-follow-more:hover {
            background: linear-gradient(90deg, #d6244b, #f58529);
            box-shadow: 0 6px 20px rgba(214, 36, 75, 0.45);
            transform: translateY(-2px);
        }

        .instagram-actions .btn-follow-more:active {
            transform: scale(0.97);
            box-shadow: 0 3px 10px rgba(214, 36, 75, 0.35);
        }

/* === Hata Mesajı Stili (Aynı kaldı) === */
.instagram-error-message {
    padding: 15px;
    margin: 1rem 0;
    border: 1px solid #bce8f1;
    border-radius: 4px;
    color: #31708f;
    background-color: #d9edf7;
    text-align: center;
    width: 100%;
}


/* === RESPONSIVE DÜZEN === */

/* Tablet ve orta ekranlar (992px altı) - 2 sütun */
@media (max-width: 992px) {
    .instagram-grid-col {
        width: 50%; /* 2'li düzen */
    }
}

/* Daha küçük tabletler (768px altı) */
@media (max-width: 768px) {
    .instagram-card-media {
        height: 300px;
    }
}

/* Mobil cihazlar (576px altı) - 1 sütun */
@media (max-width: 576px) {
    .instagram-grid-col {
        width: 100%; /* Tam genişlik */
        padding: 0 0.75rem 1rem 0.75rem; /* Alttan boşluk azaltılabilir */
    }

    /* Satırın yan boşluğunu mobil için azaltalım */
    .instagram-grid-row {
        margin: 0 -0.5rem;
    }

    .instagram-grid-col {
        padding: 0 0.5rem 1rem 0.5rem;
    }

    .instagram-card-media {
        height: 240px;
    }

    .instagram-card {
        border-radius: 0.75rem;
    }

    .instagram-actions .btn-follow-more {
        padding: 12px 28px;
        font-size: 0.95rem;
    }
}


.dropdown-menu li {
    margin: 0;
    position: relative;
}

.dropdown-menu li:first-child {
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.dropdown-menu li:last-child {
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

.dropdown-menu a {
    padding: 18px 25px;
    border-bottom: 1px solid rgba(139, 21, 56, 0.08);
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.dropdown-menu a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--primary-color);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.dropdown-menu a:hover {
    background: linear-gradient(135deg, rgba(139, 21, 56, 0.08) 0%, rgba(210, 51, 74, 0.05) 100%);
    color: var(--primary-color);
    transform: translateX(8px);
    padding-left: 30px;
}

.dropdown-menu a:hover::before {
    transform: scaleY(1);
}

.dropdown-menu a i {
    color: var(--primary-color);
    font-size: 1rem;
    width: 20px;
    text-align: center;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.dropdown-menu a:hover i {
    opacity: 1;
    transform: scale(1.1);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    z-index: 100001;
    position: relative;
    background: transparent;
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
        z-index: 100001 !important;
    }
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

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

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: var(--gradient-primary);
    overflow: hidden;
    margin-top: 0;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 21, 56, 0.9) 0%, rgba(210, 51, 74, 0.8) 100%);
    opacity: 1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text h1 {
    font-size: 3.2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 25px;
    line-height: 1.3;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    line-height: 1.6;
    font-weight: 400;
}

.hero-badge {
    display: inline-block;
    background: var(--primary-color);
    color: var(--accent-color);
    padding: 10px 25px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 30px;
    box-shadow: var(--shadow-md);
    transition: background-color 0.3s ease;
}

.hero-badge:hover {
    background: #A02040;
}

.hero-features {
    display: flex;
    gap: 40px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 15px 20px;
    color: white;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.15);
}

.feature-item i {
    color: var(--accent-color);
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

.hero-buttons {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.cta-button.primary {
    background: var(--accent-color);
    color: #000000;
    padding: 16px 32px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: background-color 0.3s ease;
    border: none;
    text-align: center;
    min-width: 180px;
}

.cta-button.primary:hover {
    background: #F0D89A;
}

.cta-button.secondary {
    background: transparent;
    color: white;
    padding: 16px 32px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-align: center;
    min-width: 180px;
}

.cta-button.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.cta-button {
    display: inline-block;
    background: var(--accent-color);
    color: #000000;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
}

.cta-button:hover {
    background: #F0D89A;
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.hero-image {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.corporate-visual {
    display: none;
}

.visual-element {
    display: none;
}

.visual-element:hover {
    background: rgba(255, 255, 255, 0.15);
}

.visual-element i {
    display: none;
}

.visual-element h4 {
    display: none;
}

/* New hero photo */
.hero-photo {
    width: 100%;
    max-width: 520px;
    aspect-ratio: 1 / 1; /* make it square */
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* crop to square without distortion */
    display: block;
}

/* About Section */
.about {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.8;
}

.btn-secondary-index {
    display: inline-block;
    background: transparent;
    color: var(--primary-color);
    padding: 12px 25px;
    border: 2px solid var(--primary-color);
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary-index:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-placeholder {
    width: 300px;
    height: 300px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-xl);
}

.image-placeholder i {
    font-size: 5rem;
    color: white;
}

/* Courses Section */
.courses {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 60px;
    color: var(--text-primary);
}

/* Pricing grid for homepage */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    align-items: stretch;
    margin-bottom: 50px;
}

/* Pricing card style */
.pricing-card {
    background: white;
    padding: 26px 24px 28px;
    border-radius: 22px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    height: 100%;
    margin-bottom: 100px;
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.card-title-home {
    color: var(--text-primary);
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 6px;
}

.card-subtitle-home {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.card-price .amount {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.card-price .hours {
    color: var(--text-secondary);
    font-weight: 600;
    margin-bottom: 12px;
}

.card-features {
    list-style: none;
    margin: 0 0 14px 0;
    padding: 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    text-align: left;
}

.card-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
    padding: 12px 6px;
}

.card-features li + li {
    border-top: 1px solid var(--border-color);
}

.card-features i {
    color: var(--secondary-color);
}

.card-footer-home {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: auto;
}

.card-cta {
    display: inline-block;
    margin: 14px 0 0;
    padding: 12px 22px;
    border-radius: 999px;
    background: var(--gradient-primary);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    box-shadow: var(--shadow-lg);
    margin-top: auto;
}

.card-cta:hover {
    transform: translateY(-2px);
}

.card-notes {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.course-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.course-card p {
    color: var(--text-secondary);
    margin-bottom: 25px;
    line-height: 1.6;
    flex-grow: 1;
}

.course-btn {
    background: var(--primary-color);
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: auto;
    display: inline-block;
}

.course-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Books Preview Section */
.books-preview {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.books-preview .books-grid-home {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
    align-items: stretch;
}

.books-preview .book-card-home {
    background: white;
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.books-preview .book-card-home:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.books-preview .book-image {
    position: relative;
    width: 160px;
    height: 210px;
    background: var(--gradient-secondary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.books-preview .book-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.books-preview .book-image:hover img {
    transform: scale(1.04);
}

.books-preview .book-card-home h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
    line-height: 1.4;
    flex-grow: 1;
}

.books-preview .price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--success-color);
    margin-bottom: 15px;
}

.books-preview .book-btn {
    background: var(--success-color);
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    margin-top: auto;
    display: inline-block;
}

.books-preview .book-btn:hover {
    background: #059669;
    transform: translateY(-2px);
}

.text-center {
    text-align: center;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
}

.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto 40px;
}

.testimonial {
    display: none;
    text-align: center;
    padding: 40px;
}

.testimonial.active {
    display: block;
}

.testimonial-content p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 30px;
    font-style: italic;
}

.testimonial-author strong {
    color: var(--text-primary);
    font-size: 1.1rem;
}

.testimonial-author span {
    color: var(--text-light);
    font-size: 0.9rem;
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-dot.active {
    background: var(--primary-color);
}

/* Navbar cart badge moved to cart.css */

/* CTA Section */
.cta {
    padding: 80px 0;
    background: var(--gradient-primary);
    text-align: center;
}

.cta-content h2 {
    font-size: 2rem;
    color: white;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--accent-color);
}

.contact-info li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.contact-info i {
    margin-right: 10px;
    color: var(--accent-color);
    width: 16px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Instagram Section */
.instagram {
    padding: 100px 0;
    background: var(--bg-primary);
}

.instagram-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
}

.insta-follow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    background: var(--gradient-primary);
    color: #fff;
    padding: 10px 16px;
    border-radius: 999px;
    font-weight: 700;
    box-shadow: var(--shadow-md);
}

.insta-follow i {
    font-size: 1.1rem;
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.insta-item {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    overflow: hidden;
    background: #f2f2f2;
    box-shadow: var(--shadow-md);
}

.insta-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.insta-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.15);
    opacity: 0;
    transition: opacity .2s ease;
}

.insta-item:hover .insta-overlay {
    opacity: 1;
}

.instagram-actions {
    text-align: center;
    margin-top: 24px;
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.whatsapp-float a {
    display: flex;
    align-items: center;
    background: #25d366;
    color: white;
    padding: 15px 20px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
}

.whatsapp-float a:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.whatsapp-float i {
    font-size: 1.5rem;
    margin-right: 10px;
}

.whatsapp-float span {
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding-top: 100px; /* Mobilde daha az padding */
    }
    
    .top-bar {
        padding: 10px 0;
        position: relative;
        z-index: 1001;
    }
    
    .top-bar .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }
    
    .contact-info {
        display: flex;
        flex-direction: column;
        gap: 6px;
        order: 1;
        flex: 1;
    }
    
    .contact-info span {
        margin: 0;
        font-size: 12px;
        padding: 2px 0;
        text-align: left;
    }
    
    .social-links {
        order: 2;
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr;
        gap: 8px;
        width: auto;
    }
    
    .social-links a {
        margin: 0;
        font-size: 14px;
        padding: 8px;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
        border-radius: 8px;
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        border: 1px solid rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(10px);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    
    .social-links a:hover {
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.15) 100%);
        transform: translateY(-2px) scale(1.05);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        border-color: rgba(255, 255, 255, 0.4);
    }
    
/* Mobile Menu Styles */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        padding: 80px 0 20px;
        margin: 0;
        transition: right 0.3s ease;
        z-index: 99999;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        border-radius: 0;
        overflow-y: auto;
        overflow-x: hidden;
        display: flex;
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
    }
    
    .nav-menu.active {
        right: 0;
        z-index: 99999 !important;
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }
    
    .nav-menu li {
        margin: 0;
        width: 100%;
        border-bottom: 1px solid var(--border-color);
        opacity: 1 !important;
        visibility: visible !important;
        display: list-item !important;
    }
    
    .nav-menu a {
        padding: 18px 25px;
        width: 100%;
        font-size: 1.1rem;
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        text-align: left;
        border-radius: 0;
        transition: all 0.3s ease;
        color: var(--text-primary) !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        cursor: pointer !important;
        z-index: 10 !important;
        position: relative;
        -webkit-tap-highlight-color: rgba(139, 21, 56, 0.2);
        touch-action: manipulation;
    }
    
    .nav-menu a:hover,
    .nav-menu a:active {
        background: rgba(139, 21, 56, 0.1) !important;
        color: var(--primary-color) !important;
    }
    
    .nav-menu .dropdown > a {
        background: transparent;
        color: var(--text-primary);
        font-weight: 600;
        border-bottom: 1px solid rgba(139, 21, 56, 0.2);
    }
    
    .nav-menu .dropdown > a:hover {
        background: rgba(139, 21, 56, 0.05);
        color: var(--primary-color);
    }
    
    .nav-menu .dropdown.show > a {
        background: #F8E8E9;
        color: var(--primary-color);
    }
    
    .nav-menu .dropdown > a i {
        color: var(--text-secondary);
        transition: transform 0.3s ease;
        margin-left: 6px;
    }
    
    .nav-menu .dropdown.show > a i {
        color: var(--primary-color);
        transform: rotate(180deg);
    }
    
    .dropdown-menu {
        position: static !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transform: none !important;
        box-shadow: none !important;
        background: #F8E8E9;
        margin: 0;
        border-radius: 0;
        border: none;
        max-height: 0;
        overflow: hidden;
        transition: all 0.3s ease;
        padding: 0;
    }
    
    .dropdown-menu.show {
        opacity: 1 !important;
        visibility: visible !important;
        max-height: 400px;
        padding: 0;
    }
    
    .dropdown-menu a {
        padding: 15px 25px;
        font-size: 1rem;
        color: var(--text-primary);
        border-radius: 0;
        display: flex;
        align-items: center;
        gap: 12px;
        border-bottom: 1px solid rgba(139, 21, 56, 0.1);
        background: #F5F5F5;
        transition: all 0.3s ease;
    }
    
    .dropdown-menu a:hover {
        background: rgba(139, 21, 56, 0.05);
        color: var(--primary-color);
        transform: none;
        padding-left: 30px;
    }
    
    .dropdown-menu a i {
        font-size: 1.1rem;
        width: 20px;
        text-align: center;
        color: var(--primary-color);
    }
    
    .dropdown-menu li:last-child a {
        border-bottom: none;
    }
    
    .menu-close-btn {
        position: absolute;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        background: var(--primary-color);
        color: white;
        padding: 15px 30px;
        border-radius: 25px;
        font-weight: 600;
        font-size: 1rem;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        gap: 10px;
        box-shadow: 0 4px 15px rgba(139, 21, 56, 0.3);
    }
    
    .menu-close-btn:hover {
        background: var(--primary-dark);
        transform: translateX(-50%) translateY(-2px);
        box-shadow: 0 6px 20px rgba(139, 21, 56, 0.4);
    }
    
    .menu-close-btn i {
        font-size: 1.1rem;
    }
    
    /* Overlay for mobile menu - using body class - REMOVED for better UX */
    /* Overlay kaldırıldı - arka plan siyah olmayacak */
    
    /* Ensure navbar is visible on mobile */
    .navbar .container {
        position: relative;
        z-index: 100000;
    }
    
    /* Ensure mobile menu toggle is above everything */
    .mobile-menu-toggle {
        z-index: 100001 !important;
        position: relative;
    }
    
    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
    }
    
    /* Ensure nav-menu is above overlay */
    .nav-menu.active {
        z-index: 99999 !important;
    }
    
    /* Ensure nav-menu items are visible and clickable */
    .nav-menu.active li,
    .nav-menu.active a {
        opacity: 1 !important;
        visibility: visible !important;
        color: var(--text-primary) !important;
        pointer-events: auto !important;
        cursor: pointer !important;
        z-index: 1;
        position: relative;
    }
    
    /* Force nav-menu to be visible and on top */
    .nav-menu.active * {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }
    
    /* Ensure dropdown menus are visible */
    .nav-menu.active .dropdown-menu.show {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }
    
    /* Ensure all interactive elements are clickable */
    .nav-menu.active li {
        pointer-events: auto !important;
        cursor: default;
    }
    
    .nav-menu.active .dropdown {
        pointer-events: auto !important;
    }
    
    .nav-menu.active .dropdown-menu {
        pointer-events: auto !important;
    }
    
    .nav-menu.active .dropdown-menu a {
        pointer-events: auto !important;
        cursor: pointer !important;
    }
    
    /* Ensure links are clickable */
    .nav-menu.active a[href] {
        pointer-events: auto !important;
        cursor: pointer !important;
        user-select: none;
        -webkit-tap-highlight-color: rgba(139, 21, 56, 0.2);
    }
}
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-features {
        justify-content: center;
        gap: 25px;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button.primary,
    .cta-button.secondary {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
    
    .corporate-visual {
        display: none;
    }
    
    .visual-element {
        display: none;
    }
    
    .visual-element i {
        display: none;
    }
    
    .visual-element h4 {
        display: none;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .courses-grid {
        grid-template-columns: 1fr;
    }

    .books-grid-home {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .whatsapp-float span {
        display: none;
    }
    
    .whatsapp-float a {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        justify-content: center;
        padding: 0;
    }
    
    .whatsapp-float i {
        margin: 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
}

/* Responsive tweaks for Instagram grid */
@media (max-width: 768px) {
    .instagram-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
}
@media (max-width: 480px) {
    .instagram-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
}

/* Student Feedback (Index) */
.student-feedback {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #070B16 0%, #0B1326 45%, #060A14 100%);
    padding: 110px 0;
    color: #ffffff;
}

.student-feedback::before {
    content: '';
    position: absolute;
    inset: -200px -120px auto -120px;
    height: 520px;
    background: radial-gradient(420px 220px at 20% 30%, rgba(210, 51, 74, 0.35) 0%, rgba(210, 51, 74, 0) 60%),
        radial-gradient(420px 220px at 70% 10%, rgba(244, 228, 188, 0.18) 0%, rgba(244, 228, 188, 0) 55%);
    pointer-events: none;
    z-index: 0;
}

.student-feedback::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 22px 22px;
    opacity: 0.35;
    pointer-events: none;
    z-index: 0;
}

.student-feedback-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.student-feedback-left h2 {
    font-size: 2.9rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 18px;
    color: #ffffff;
}

.student-feedback-left p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.74);
    line-height: 1.9;
    max-width: 540px;
}

.student-feedback-right {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    flex: 1;
}

.student-feedback-card {
    width: 520px;
    max-width: 100%;
    min-height: 330px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);
    border: 1px solid rgba(244, 228, 188, 0.22);
    border-radius: 24px;
    box-shadow: 0 35px 90px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(10px);
    padding: 34px 38px;
    position: relative;
    z-index: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.student-feedback-card::after {
    content: '';
    position: absolute;
    inset: -2px;
    background:
        radial-gradient(520px 220px at 20% -10%, rgba(210, 51, 74, 0.28) 0%, rgba(210, 51, 74, 0) 60%),
        radial-gradient(420px 240px at 85% 20%, rgba(244, 228, 188, 0.16) 0%, rgba(244, 228, 188, 0) 62%);
    pointer-events: none;
    z-index: 1;
}

.student-feedback-quote {
    position: absolute;
    top: 18px;
    left: 18px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(244, 228, 188, 0.08);
    border: 1px solid rgba(244, 228, 188, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.student-feedback-quote i {
    color: rgba(244, 228, 188, 0.98);
    font-size: 18px;
}

.student-feedback-text {
    margin-top: 36px;
    font-size: 1.08rem;
    color: rgba(255, 255, 255, 0.86);
    line-height: 1.9;
    font-weight: 450;
    position: relative;
    z-index: 2;
}

.student-feedback-author {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 24px;
}

.student-feedback-avatar {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
}

.student-feedback-author-meta strong {
    display: block;
    font-size: 1.05rem;
    color: #ffffff;
    font-weight: 800;
}

.student-feedback-author-meta span {
    display: block;
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.95rem;
    font-weight: 600;
}

.student-feedback-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(244, 228, 188, 0.22);
    background: rgba(0, 0, 0, 0.10);
    color: #ffffff;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.student-feedback-arrow i {
    font-size: 14px;
}

.student-feedback-arrow:hover {
    transform: translateY(-2px);
    background: rgba(244, 228, 188, 0.10);
    border-color: rgba(244, 228, 188, 0.32);
}

@media (max-width: 992px) {
    .student-feedback-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 34px;
    }

    .student-feedback-right {
        width: 100%;
        justify-content: flex-start;
    }

    .student-feedback-card {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .student-feedback {
        padding: 80px 0;
    }

    .student-feedback-left h2 {
        font-size: 2.1rem;
    }

    .student-feedback-left p {
        font-size: 1rem;
    }

    .student-feedback-card {
        padding: 26px 20px;
        border-radius: 20px;
        min-height: 300px;
    }

    .student-feedback-text {
        font-size: 1.02rem;
        line-height: 1.9;
    }

    .student-feedback-arrow {
        width: 40px;
        height: 40px;
    }
}
