/* ==========================================================================
   ORKA LOTUS BEACH - APP UI STYLES
   ========================================================================== */

:root {
    --lotus-dark: #1a1b1a;
    --lotus-gold: #b99d75;
    --lotus-mainbg: #F1EBE3;
    --text-gray: #666666;
    --danger-red: #d32f2f;
    --border-color: #e2e8f0;
}

/* Base & Reset */
* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--lotus-mainbg);
    font-family: 'Jost', sans-serif;
    color: var(--lotus-dark);
    margin: 0;
    padding: 0;
    padding-bottom: 80px;
    -webkit-font-smoothing: antialiased;
    
    /* Masaüstü Web için App Görünümü Ayarları */
    width: 100%;
    max-width: var(--app-max-width);
    min-height: 100vh;
    position: relative;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.1); /* Masaüstünde app'in etrafına hafif gölge verir */
}

.bottom-tab-bar {
    position: fixed;
    bottom: 0;
    /* left: 0; satırını siliyoruz veya yerine margin ayarı yapıyoruz */
    
    width: 100%;
    max-width: var(--app-max-width); /* Menünün sadece body genişliğinde kalmasını sağlar */
    
    /* ... (Arkaplan ve Glassmorphism kodlarınız aynı kalacak) ... */
    background: rgba(255, 255, 255, 0.90);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    
    display: flex;
    justify-content: space-between;
    padding: 12px 0 calc(12px + env(safe-area-inset-bottom)) 0; 
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.05);
    z-index: 100;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Marcellus', serif;
    font-weight: normal;
    margin: 0;
}

/* ==========================================================================
   1. HEADER & TOP BAR
   ========================================================================== */
.app-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: var(--lotus-dark);
    color: #ffffff;
    padding: 20px 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.weather-widget {
    display: flex;
    align-items: center;
    font-size: 13px;
    font-weight: 500;
}

.date-widget {
    font-size: 13px;
    font-weight: 500;
    color: #cccccc;
}

/* ==========================================================================
   2. SCHEDULE TABS
   ========================================================================== */
.schedule-tabs {
    display: flex;
    background: #ffffff;
    padding: 0 20px;
    position: sticky;
    top: 64px;
    z-index: 99;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.tab-btn {
    flex: 1;
    padding: 16px 0;
    border: none;
    background: transparent;
    font-family: 'Jost', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-gray);
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.tab-btn.active {
    color: var(--lotus-gold);
    border-bottom-color: var(--lotus-gold);
}

/* ==========================================================================
   3. NEW MODERN TIMELINE STRUCTURE (GÖRSEL REFERANSLI)
   ========================================================================== */
.schedule-header-row {
    padding: 24px 20px 10px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.page-main-title {
    font-size: 20px;
    font-weight: bold;
    color: var(--lotus-dark); /* Kurumsal koyu renk yapıldı */
    letter-spacing: 0.5px;
}

/* Kategori Hap Butonları */
.category-filter-pills {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 5px;
    scrollbar-width: none;
}
.category-filter-pills::-webkit-scrollbar {
    display: none;
}

.pill-btn {
    background: #eef2f6;
    border: none;
    padding: 6px 16px;
    border-radius: 20px;
    font-family: 'Jost', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-gray);
    white-space: nowrap;
    transition: background 0.2s, color 0.2s;
}

.pill-btn.active {
    background: var(--lotus-dark); /* Kurumsal koyu renk yapıldı */
    color: #ffffff;
}

/* Zaman Çizgisi Alanı */
.modern-timeline-container {
    position: relative;
    padding: 10px 20px 30px 40px;
}

.timeline-vertical-line {
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #cbd5e1;
    z-index: 1;
}

.timeline-row-item {
    position: relative;
    margin-bottom: 16px;
    z-index: 2;
}

/* Çizgi Üzerindeki Halka */
.timeline-node {
    position: absolute;
    left: -25px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid var(--lotus-gold); /* Elegans bir görünüm için Gold yapıldı */
    z-index: 3;
    transition: all 0.3s ease;
}

/* Canlı Etkinlik Durumunda Halkanın Değişimi */
.timeline-row-item.is-live .timeline-node {
    border-color: var(--danger-red);
    background: var(--danger-red);
    box-shadow: 0 0 8px var(--danger-red);
}

/* Beyaz Şık Kartlar */
.modern-event-card {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 14px 16px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

/* Kart İçi: Sol Saat Grubu */
.card-time-section {
    width: 65px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-shrink: 0;
}

.time-digit {
    font-size: 15px;
    font-weight: bold;
    color: var(--lotus-dark); /* Kurumsal koyu renk yapıldı */
}

.time-ampm {
    font-size: 10px;
    font-weight: 600;
    color: var(--text-gray);
    letter-spacing: 0.5px;
}

/* Kart İçi: Orta Metin Grubu */
.card-details-section {
    flex: 1;
    padding: 0 12px;
}

.event-title {
    font-family: 'Jost', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--lotus-dark);
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.live-inline-badge {
    background: var(--danger-red);
    color: white;
    font-size: 9px;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 4px;
}

.event-location-info {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: var(--text-gray);
}

/* Kart İçi: Sağ Aksiyon Oku */
.card-action-section {
    color: #cbd5e1;
    display: flex;
    align-items: center;
}

/* ==========================================================================
   4. HORIZONTAL SCROLL (TEAM SECTION)
   ========================================================================== */
.team-section {
    padding: 20px 0 30px 20px;
}

.section-title {
    font-size: 20px;
    margin-bottom: 16px;
    color: var(--lotus-dark);
}

.horizontal-scroll-container {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 15px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.horizontal-scroll-container::-webkit-scrollbar {
    display: none;
}

.team-card {
    min-width: 130px;
    scroll-snap-align: start;
    text-align: center;
    background: #ffffff;
    padding: 16px 12px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.team-avatar img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 8px;
    border: 2px solid var(--lotus-gold);
}

/* ==========================================================================
   5. BOTTOM TAB BAR (MODERN APP STYLE)
   ========================================================================== */
.bottom-tab-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    
    /* Modern Buzlu Cam (Glassmorphism) Efekti */
    background: rgba(255, 255, 255, 0.90);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    
    display: flex;
    justify-content: space-between;
    padding: 12px 0 calc(12px + env(safe-area-inset-bottom)) 0; 
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.05);
    z-index: 100;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1; /* 4 Butonu ekran genişliğine kusursuz eşit böler */
    color: #94a3b8; /* Daha modern ve premium bir gri tonu */
    text-decoration: none;
    font-size: 11px;
    font-weight: 600;
    gap: 6px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* EKSİK OLAN İKON BOYUTLANDIRMA KODU (Tüm ikonları aynı boyda kilitler) */
.nav-item svg {
    width: 24px;
    height: 24px;
    fill: currentColor; /* Renk geçişlerini kolaylaştırır */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* AKTİF (SEÇİLİ) MENÜ EFEKTLERİ */
.nav-item{
 color: #1a1b1a;
}
.nav-item.active {
    color: var(--lotus-gold);
}

.nav-item.active svg {
    transform: scale(1.2); /* İkonu hafifçe büyütür (Pop-out) */
    filter: drop-shadow(0 4px 6px rgba(185, 157, 117, 0.35)); /* Altın rengi şık ışıma efekti */
}

.nav-item.active span {
    transform: translateY(1px); /* Büyüyen ikonu dengelemek için metni hafif aşağı iter */
}
/* ==========================================================================
   KIDS CLUB SPECIFIC STYLES
   ========================================================================== */
.day-selector-wrapper {
    padding: 0 20px 15px 20px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 15px;
}

.day-pills {
    gap: 12px; /* Gün butonları arası boşluk */
}

.day-pill-btn {
    padding: 8px 18px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.daily-title {
    font-family: 'Jost', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--lotus-dark);
    margin: 0 0 15px 20px;
    opacity: 0.6;
}

.kids-day-tab-content {
    transition: opacity 0.3s ease;
}
.accordion-header {
    width: 100%;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    font-family: 'Marcellus', serif;
    font-size: 17px;
    cursor: pointer;
    border-radius: 8px;
    margin-bottom: 5px;
}
.accordion-content { padding: 10px 0; }