/* =========================================================
   DE-CAMP PREMIUM - EXPEDITION & EVENTS STYLES
   ========================================================= */

body { padding-top: 0 !important; background-color: var(--light-bg); color: var(--text-main); overflow-x: hidden; }

/* --- 1. SİNEMATİK HERO --- */
.event-hero { position: relative; height: 70vh; width: 100%; display: flex; align-items: center; justify-content: center; overflow: hidden; background-color: #000; }
.event-hero.detail-hero { height: 90vh; } /* Detay sayfasında hero daha büyük */
.hero-bg-img { position: absolute; top: 0; left: 0; width: 100%; height: 110%; object-fit: cover; opacity: 0.5; z-index: 1; transition: transform 0.1s linear; filter: grayscale(20%); }
.hero-content { position: relative; z-index: 3; text-align: center; margin-top: 80px; animation: fadeUpReveal 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards; }

.hero-badge { display: inline-block; font-size: 0.9rem; letter-spacing: 4px; text-transform: uppercase; color: #fff; background: var(--accent-color); padding: 8px 20px; border-radius: 50px; font-weight: 800; margin-bottom: 25px; box-shadow: 0 10px 20px rgba(200, 90, 50, 0.3); }
.hero-title { font-size: 2.5rem; font-weight: 800; color: #ffffff; letter-spacing: -1px; text-shadow: 0 10px 40px rgba(0,0,0,0.6); margin-bottom: 20px; line-height: 1.1; }
.hero-subtitle { font-size: 1.25rem; color: rgba(255,255,255,0.8); max-width: 700px; margin: 0 auto; line-height: 1.8; font-weight: 300; }

/* --- 2. ETKİNLİK LİSTESİ (KARTLAR) --- */
.events-section { padding: 60px 0 50px 0; background-color: var(--light-bg); position: relative; z-index: 4;border-top-left-radius: 50px;border-top-right-radius: 50px;margin-top: -80px; }
.events-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 40px; }

.event-card { background: #ffffff; border-radius: 24px; overflow: hidden; box-shadow: 0 15px 35px rgba(0,0,0,0.03); border: 1px solid rgba(0,0,0,0.03); transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1); display: flex; flex-direction: column; text-decoration: none !important; color: inherit; }
.event-card:hover { transform: translateY(-10px); box-shadow: 0 30px 60px rgba(22, 84, 56, 0.1); border-color: rgba(22, 84, 56, 0.2); }

.event-img-wrapper { position: relative; height: 280px; overflow: hidden; }
.event-img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.event-card:hover .event-img-wrapper img { transform: scale(1.08); }

/* Tarih Rozeti (Resmin Üstünde) */
.event-date-badge { position: absolute; top: 20px; right: 20px; background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); border-radius: 16px; padding: 10px 15px; text-align: center; box-shadow: 0 10px 20px rgba(0,0,0,0.1); min-width: 70px; }
.event-date-badge .day { display: block; font-size: 1.5rem; font-weight: 900; color: var(--primary-color); line-height: 1; margin-bottom: 2px; }
.event-date-badge .month { display: block; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; color: var(--accent-color); letter-spacing: 1px; }

.event-info { padding: 15px 20px; display: flex; flex-direction: column; flex-grow: 1; height:250px; }
.event-location { font-size: 0.85rem; font-weight: 700; color: var(--accent-color); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.event-name { font-size: 1.4rem; font-weight: 800; color: var(--primary-color); margin-bottom: 15px; line-height: 1.3; letter-spacing: -0.5px; }
.event-excerpt { font-size: 1rem; color: rgba(0,0,0,0.6); line-height: 1.7; margin-bottom: 30px; flex-grow: 1; height:30px; }

.event-action { border-top: 1px solid rgba(0,0,0,0.05); font-weight: 700; color: var(--primary-color); text-transform: uppercase; letter-spacing: 1px; font-size: 0.9rem; display: flex; align-items: center; justify-content: space-between; transition: color 0.3s ease; }
.event-card:hover .event-action { color: var(--accent-color); }

/* --- 3. ETKİNLİK DETAY (WHITE CANVAS EDİTÖRYAL) --- */
.event-detail-canvas { background-color: #ffffff; border-top-left-radius: 50px; border-top-right-radius: 50px; margin-top: -80px; position: relative; z-index: 5; box-shadow: 0 -20px 50px rgba(0,0,0,0.2); padding: 25px 0; }

/* Hızlı Bilgi Çubuğu (Info Bar) */
.event-info-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: 40px; margin-bottom: 10px; padding: 30px; background: var(--light-bg); border-radius: 24px; border: 1px solid rgba(0,0,0,0.03); }
.info-item { display: flex; align-items: center; gap: 15px; }
.info-item i { font-size: 2rem; color: var(--accent-color); }
.info-item div { display: flex; flex-direction: column; }
.info-item span:first-child { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; font-weight: 700; color: rgba(0,0,0,0.5); }
.info-item span:last-child { font-size: 1.1rem; font-weight: 800; color: var(--primary-color); }

/* Editoryal Metin */
.editorial-grid { grid-template-columns: 1fr 2fr; gap: 60px; margin-bottom: 80px; }
.editorial-title { font-size: 1rem; letter-spacing: 5px; text-transform: uppercase; color: var(--accent-color); font-weight: 800; margin-bottom: 10px; position: sticky; top: 120px; }
.editorial-title::after { content: ''; display: block; width: 40px; height: 3px; background: var(--accent-color); margin-top: 20px; border-radius: 2px; }
.editorial-text { font-size: 1.25rem; line-height: 2; color: rgba(0,0,0,0.75); font-weight: 300; }
.editorial-text::first-letter { font-size: 4rem; font-weight: 900; color: var(--primary-color); float: left; margin-right: 15px; line-height: 1; padding-top: 5px; font-family: 'Cinzel Decorative', serif; }

/* Sticky Katılım Butonu */
.floating-book-action { position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 999; animation: floatUpReveal 1s cubic-bezier(0.25, 1, 0.5, 1) 0.5s both; }
.btn-book-glass { background: rgba(22, 84, 56, 0.9); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); color: #fff; padding: 18px 50px; border-radius: 50px; font-size: 1.1rem; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; text-decoration: none; box-shadow: 0 15px 35px rgba(22, 84, 56, 0.4), inset 0 2px 5px rgba(255,255,255,0.2); border: 1px solid rgba(255,255,255,0.1); display: inline-flex; align-items: center; transition: all 0.4s ease; }
.btn-book-glass:hover { background: #ffffff; color: var(--primary-color); transform: scale(1.05) translateY(-5px); box-shadow: 0 20px 40px rgba(0,0,0,0.2); }

@media (max-width: 992px) {
    .editorial-grid { grid-template-columns: 1fr; gap: 40px; }
    .editorial-title { position: static; }
    .floating-book-action { width: 90%; bottom: 20px; }
    .btn-book-glass { width: 100%; justify-content: center; }
}

@keyframes fadeUpReveal { from { opacity: 0; transform: translateY(50px); } to { opacity: 1; transform: translateY(0); } }
@keyframes floatUpReveal { from { opacity: 0; transform: translate(-50%, 50px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* Event Linki Özel Tasarımı */
.event-info-link {
    color: var(--primary-color); 
    font-weight: 800; 
    font-size: 1.1rem; 
    text-decoration: underline; 
    max-width: 250px; 
    white-space: nowrap; 
    overflow: hidden; 
    text-overflow: ellipsis; 
    display: block;
    transition: color 0.3s ease;
    margin-bottom: 30px;


}

/* Üzerine gelince lüks Turuncu/Kiremit rengine döner */
.event-info-link:hover {
    color: var(--accent-color);
}


/* =========================================================
   MİMARIN DOKUNUŞU: MOBİLDE ETKİNLİK KARTLARINI SIKILAŞTIRMA 
   ========================================================= */
@media (max-width: 991px) {
    
    /* 1. Resim yüksekliğini masaüstündeki 280px'ten 150px'e indir */
    .event-img-wrapper { 
        height: 150px !important; 
    }
    
    /* 2. Tarih Etiketini (Badge) küçült ve köşeye daha çok yaklaştır */
    .event-date-badge { 
        top: 8px !important; 
        right: 8px !important; 
        padding: 6px 12px !important; 
    }
    .event-date-badge .day {
        font-size: 1rem !important;
    }
    .event-date-badge .month {
        font-size: 0.65rem !important;
        margin-top: 2px !important;
    }
    
    /* 3. Kartın içindeki devasa boşlukları daralt */
    .event-info { 
        padding: 15px !important; 
    }
    
    /* 4. Yazıları (Başlık, Lokasyon ve Açıklama) mobilde ezilmeyecek boyuta çek */
    .event-location {
        font-size: 0.7rem !important;
        margin-bottom: 6px !important;
    }
    .event-name { 
        font-size: 1.1rem !important; 
        margin-bottom: 8px !important; 
        line-height: 1.3 !important; 
    }
    .event-excerpt { 
        font-size: 0.85rem !important; 
        margin-bottom: 12px !important; 
        line-height: 1.4 !important; 
    }
    
    /* 5. Alt çizgiyi ve butonu (Discover) daralt */
    .event-action { 
        padding-top: 10px !important; 
        font-size: 0.8rem !important; 
    }
}


/* 1. BAŞLIK İÇİN SATIR KESİCİ (Maksimum 2 Satır) */
.event-name {
    display: -webkit-box;
    -webkit-line-clamp: 2; 
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    
    /* Yükseklik Kilidi: Başlık tek satır olsa bile 2 satırlık yer kaplar, kartları bozmaz */
    line-height: 1.4;
    max-height: 2.7em; /* 1.4 x 2 satır = 2.8em */
    min-height: 2.7em;
    margin-bottom: 10px;
}

/* 2. AÇIKLAMA (EXCERPT) İÇİN SATIR KESİCİ (Maksimum 3 Satır) */
.event-excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Açıklamaya 3 satır izin veriyoruz, yetmezse sonuna ... koyar */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    
    /* Yükseklik Kilidi: Açıklama 1 satır olsa bile 3 satırlık boşluğu korur */
    line-height: 1.5;
    min-height: 4.5em;
    max-height: 4.5em;/* 1.5 x 3 satır = 4.5em */
    margin-bottom: 15px;
}