/* ==========================================================================
   AQUAWAVE SPOR KULÜBÜ - ANASAYFA CSS
   ========================================================================== */

/* Hero Bento Section */
.hero-bento-section {
    padding: 60px 0 30px;
    background-color: var(--color-bg);
}

.hero-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--color-text);
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.text-gradient {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #64748b;
    font-weight: 500;
}

/* --- Rakamlarla Güven (Trust Metrics) --- */
.trust-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    background: var(--color-white);
    padding: 25px 30px;
    border-radius: 24px;
    box-shadow: 0 10px 40px -10px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.03);
    margin: 10px auto 50px auto;
    width: 92%;
    max-width: 950px;
}

.metric-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
}

.metric-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 15%;
    height: 70%;
    width: 1px;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.08) 30%, rgba(0,0,0,0.08) 70%, rgba(0,0,0,0) 100%);
}

.metric-number {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.metric-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .trust-metrics {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px 20px;
        padding: 30px 20px;
        width: 100%;
        max-width: 100%;
    }
    .metric-item:nth-child(2)::after { display: none; }
    .metric-item:not(:last-child)::after { right: -10px; }
}

@media (max-width: 480px) {
    .metric-number { font-size: 2.2rem; }
    .metric-label { font-size: 0.85rem; }
}

/* ==========================================================================
   YENİ NESİL PREMIUM KURS KARTLARI (SPLIT-LAYOUT UX MİMARİSİ)
   ========================================================================== */
.premium-course-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 22px;
    width: 100%;
    margin: 0 auto;
}

.premium-card {
    --course-accent: #0284c7;
    display: flex;
    min-width: 0;
    flex-direction: column;
    background: var(--color-white);
    border-radius: 24px;
    overflow: hidden;
    position: relative; /* Şeffaf link için zorunlu */
    box-shadow: 0 10px 40px -10px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.04);
    border-top: 3px solid var(--course-accent);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
}

.theme-gymnastics { --course-accent: #16a34a; }
.theme-summer { --course-accent: #ea580c; }

.premium-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px -10px rgba(0, 168, 255, 0.12);
}

/* Şeffaf Tıklama Katmanı - KATMAN HİYERARŞİSİ (Z-INDEX) MUCİZESİ BURADA */
.card-overlay-link {
    position: absolute;
    inset: 0;
    z-index: 10; /* DEĞİŞİKLİK: 1 yerine 10 yapıldı */
}

/* --- SOL ALAN: Pazarlama ve İkna --- */
.card-main {
    flex: 1 1 auto;
    min-height: 300px;
    padding: 34px 32px;
    display: flex;
    flex-direction: column;
    position: relative;
    /* DEĞİŞİKLİK: z-index: 2 silindi ki görünmez linkin (10) altında kalsın */
}

.card-header-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
}

.course-title {
    font-size: clamp(1.55rem, 2.4vw, 1.9rem);
    font-weight: 800;
    color: #001d40;
    margin: 0;
    letter-spacing: -0.5px;
}

.course-desc {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 30px;
    max-width: none;
}

.card-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 1rem;
    color: var(--color-primary);
    margin-top: auto;
    transition: gap 0.3s ease;
}

.premium-card:hover .card-action {
    gap: 14px;
    color: var(--color-secondary);
}

/* --- SAĞ ALAN: Bilgi ve Özellik Paneli (Teknik Veriler) --- */
.card-sidebar {
    flex: 0 0 auto;
    min-height: 260px;
    position: relative;
    z-index: 1; /* Görünmez linkin (10) altında kalması için eklendi */
    padding: 30px 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    border-top: 1px solid rgba(0,0,0,0.04);
}

/* Tema Renkleri */
.theme-swimming .card-sidebar { background-color: #EAF6FF; }
.theme-gymnastics .card-sidebar { background-color: #E9F9EF; }
.theme-summer .card-sidebar { background-color: #FFF1E5; }

/* Dev Filigran İkon */
.bg-watermark {
    position: absolute;
    right: -25px;
    bottom: -25px;
    opacity: 0.05;
    z-index: 0;
    transform: rotate(-10deg);
    transition: transform 0.5s ease, opacity 0.5s ease;
}
.premium-card:hover .bg-watermark {
    transform: rotate(0deg) scale(1.1);
    opacity: 0.08;
}

.theme-swimming .bg-watermark { color: #0284c7; }
.theme-gymnastics .bg-watermark { color: #16a34a; }
.theme-summer .bg-watermark { color: #ea580c; }

/* İçerik Düzeni (Sağ Alan Listeleri) */
.sidebar-location {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 1.05rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.loc-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: #ffffff;
    border-radius: 10px;
    color: #ef4444;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    font-weight: 600;
    color: #475569;
}

.feat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.theme-swimming .feat-icon { color: #0284c7; }
.theme-gymnastics .feat-icon { color: #16a34a; }
.theme-summer .feat-icon { color: #ea580c; }

/* --- MOBİL UYUMLULUK --- */
@media (max-width: 992px) {
    .premium-course-grid { grid-template-columns: 1fr; }
    .card-sidebar {
        min-height: 0;
        padding: 35px 40px;
    }
    .card-main { min-height: 0; padding: 40px; }
    .course-desc { max-width: 100%; }
}

@media (max-width: 576px) {
    .card-header-top { flex-direction: column; gap: 15px; }
    .card-main { padding: 30px 25px; }
    .card-sidebar { padding: 30px 25px; }
}

/* ==========================================================================
   HAKKIMIZDA ÖNİZLEME (ANASAYFA KURS ALTI)
   ========================================================================== */
.about-preview-section {
    padding: 20px 0 100px;
    background-color: var(--color-bg);
}

.about-preview-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
    width: 100%;
    margin: 0 auto;
    background: var(--color-white);
    border-radius: 30px;
    padding: 40px;
    box-shadow: 0 10px 40px -10px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.03);
}

.about-visual { flex: 1; position: relative; }

.about-img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    object-fit: cover;
    position: relative;
    z-index: 2;
    box-shadow: 0 15px 35px -5px rgba(0,0,0,0.1);
}

.about-visual-shape {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border-radius: 24px;
    z-index: 1;
    opacity: 0.15;
}

.about-content {
    flex: 1.1;
    padding-right: 20px;
}

.about-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    line-height: 1.15;
    color: #001d40;
    margin-bottom: 20px;
}

.about-text {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 35px;
    line-height: 1.7;
}

.about-btn { gap: 10px; }
.about-btn svg { transition: transform var(--transition-speed) ease; }
.about-btn:hover svg { transform: translateX(4px); }

@media (max-width: 992px) {
    .about-preview-wrapper {
        flex-direction: column;
        padding: 30px;
        gap: 40px;
        border-radius: 24px;
    }
    .about-content { padding-right: 0; text-align: center; }
    .about-visual-shape { top: -15px; left: -15px; }
}
