/* =========================================
   CAMPAIGNS PAGE (FILTER & BUNDLE EDITION)
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700;900&display=swap');

:root {
    --bg-body: #ffffff;
    --primary: #4f46e5;
    --secondary: #0f172a;
    --deal-red: #e11d48; /* Aciliyet */
    --deal-gold: #f59e0b; /* Bundle/Premium */
    --text-main: #334155;
    --text-muted: #64748b;
    --card-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.08);
}

body {
    background-color: var(--bg-body);
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    overflow-x: hidden;
}

/* 1. HERO SECTION (SADELEŞTİRİLMİŞ) */
.camp-hero {
    padding: 160px 0 80px;
    background: radial-gradient(circle at center, #f8fafc 0%, #ffffff 80%);
    text-align: center;
}
.hero-badge {
    display: inline-block; padding: 8px 25px; border-radius: 50px;
    background: #e0e7ff; color: var(--primary); font-weight: 800; font-size: 0.9rem;
    margin-bottom: 25px; letter-spacing: 1px; border: 1px solid #c7d2fe;
}
.hero-title {
    font-size: 4rem; font-weight: 900; line-height: 1.1; margin-bottom: 20px;
    color: var(--secondary); letter-spacing: -2px;
}
.hero-desc {
    font-size: 1.25rem; color: var(--text-muted); max-width: 700px; margin: 0 auto;
}

/* 2. FILTER NAVIGATION (FİLTRELEME) */
.filter-nav {
    display: flex; justify-content: center; gap: 15px; flex-wrap: wrap;
    margin-bottom: 60px;
}
.filter-btn {
    padding: 12px 30px; border-radius: 50px; border: 1px solid #e2e8f0;
    background: white; color: var(--text-muted); font-weight: 600; cursor: pointer;
    transition: 0.3s; font-size: 1rem;
}
.filter-btn:hover, .filter-btn.active {
    background: var(--secondary); color: white; border-color: var(--secondary);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.2);
}

/* 3. DEALS GRID */
.deals-section { padding-bottom: 120px; }
.deals-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }

/* KART TASARIMI */
.deal-card {
    background: white; border-radius: 24px; overflow: hidden;
    box-shadow: var(--card-shadow); border: 1px solid #f1f5f9;
    transition: 0.4s; position: relative;
    display: flex; flex-direction: column;
}
.deal-card:hover { transform: translateY(-10px); border-color: var(--primary); }

/* BUNDLE (ÖZEL PAKET) KART STİLİ */
.deal-card.bundle {
    border: 2px solid var(--deal-gold);
    background: linear-gradient(to bottom, #fffbeb, #ffffff);
}
.deal-card.bundle .deal-tag { background: var(--deal-gold); color: black; }

/* İndirim Rozeti */
.deal-tag {
    position: absolute; top: 20px; right: 20px;
    background: var(--deal-red); color: white;
    padding: 6px 15px; border-radius: 8px; font-weight: 700; font-size: 0.85rem; z-index: 2;
}

.deal-header {
    padding: 30px; text-align: center; border-bottom: 1px dashed #e2e8f0; position: relative;
}
.deal-icon { font-size: 2.5rem; margin-bottom: 15px; color: var(--primary); }
.deal-card.bundle .deal-icon { color: var(--deal-gold); }

.deal-title { font-size: 1.4rem; font-weight: 800; color: var(--secondary); margin-bottom: 10px; }
.deal-desc { font-size: 0.95rem; color: var(--text-muted); line-height: 1.5; min-height: 45px; }

/* KART İÇİ SAYAÇ (NEW) */
.card-timer {
    background: #f1f5f9; padding: 10px; border-radius: 8px;
    margin-top: 20px; display: flex; justify-content: center; gap: 10px;
    font-family: monospace; font-weight: 700; color: var(--deal-red); font-size: 1.1rem;
}
.card-timer span { color: var(--text-muted); font-size: 0.8rem; font-weight: 600; margin-left: 2px; }

.deal-body { padding: 30px; text-align: center; flex: 1; display: flex; flex-direction: column; justify-content: flex-end; }

/* Kopyalama Alanı */
.coupon-box {
    border: 1px dashed #cbd5e1; border-radius: 12px;
    padding: 12px; display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 15px; cursor: pointer; transition: 0.3s; background: #fff;
}
.coupon-box:hover { background: #f8fafc; border-color: var(--primary); }
.coupon-code { font-family: monospace; font-size: 1.1rem; font-weight: 700; color: var(--secondary); letter-spacing: 1px; }

.btn-use {
    display: block; width: 100%; padding: 15px; border-radius: 12px;
    background: var(--secondary); color: white; font-weight: 700; text-decoration: none;
    transition: 0.3s;
}
.btn-use:hover { background: var(--primary); color: white; }
.deal-card.bundle .btn-use { background: var(--deal-gold); color: black; }
.deal-card.bundle .btn-use:hover { background: #d97706; color: white; }

/* TOAST */
.toast-notification {
    position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%) translateY(100px);
    background: #1e293b; color: white; padding: 12px 30px; border-radius: 50px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3); display: flex; align-items: center; gap: 10px;
    opacity: 0; transition: 0.4s; z-index: 10000;
}
.toast-notification.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* RESPONSIVE */
@media (max-width: 992px) {
    .deals-grid { grid-template-columns: 1fr; }
    .hero-title { font-size: 3rem; }
}
/* =========================================
   4. NEWSLETTER (BÜLTEN - LIGHT VERSION)
   ========================================= */
.newsletter-section {
    padding: 100px 0;
    /* Koyu yerine Açık Gri/Mavi Degrade */
    background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%); 
    color: var(--secondary); /* Yazılar Koyu Olsun */
    text-align: center;
    position: relative;
    overflow: hidden;
    border-top: 1px solid #e2e8f0; /* Üstüne ince çizgi */
    /* Alt boşluğu sıfırlayarak Footer'a yaklaştırma opsiyonu: */
    margin-bottom: 0; 
}

/* Arka Plan Deseni (Koyu yerine Silik) */
.newsletter-section::before {
    content: ''; position: absolute; inset: 0;
    background-image: radial-gradient(#cbd5e1 1px, transparent 1px);
    background-size: 30px 30px; opacity: 0.4;
}

.nl-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
}

.nl-content h2 {
    color: var(--secondary); /* Başlık Koyu */
}

.nl-content p {
    color: var(--text-muted); /* Açıklama Gri */
}

.nl-form {
    display: flex;
    gap: 10px;
    margin-top: 40px;
    background: white; /* Form zemini Beyaz */
    padding: 8px;
    border-radius: 50px; /* Daha yuvarlak modern hatlar */
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); /* Hafif gölge */
}

.nl-input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-main); /* Yazı Rengi Koyu */
    padding: 15px 25px;
    font-size: 1rem;
    font-family: 'Outfit', sans-serif;
}

.nl-input:focus {
    outline: none;
}

.nl-input::placeholder {
    color: #94a3b8;
}

.nl-btn {
    background: var(--secondary); /* Buton Koyu (Lacivert) */
    color: white;
    border: none;
    padding: 15px 35px;
    border-radius: 50px; /* Yuvarlak buton */
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.nl-btn:hover {
    background: var(--primary); /* Hoverda İndigo */
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.2);
}

/* MOBİL İÇİN DÜZENLEME */
@media (max-width: 768px) {
    .newsletter-section { padding: 60px 0; }
    
    .nl-form {
        flex-direction: column;
        background: transparent;
        border: none;
        padding: 0;
        box-shadow: none;
        border-radius: 0;
    }
    
    .nl-input {
        background: white;
        border-radius: 12px;
        margin-bottom: 15px;
        border: 1px solid #e2e8f0;
        text-align: center;
    }
    
    .nl-btn {
        width: 100%;
        padding: 18px;
        border-radius: 12px;
    }
}