/* hotspot-sunucu/static/css/marketing_style.css (v4.2 - Geliştirilmiş Orta Bölümler) */

/* === 1. TEMEL DEĞİŞKENLER VE RENK PALETİ (Yeniden Düzenlendi) === */
:root {
    /* Ana Renk Paleti */
    --bg-dark-blue-1: #0d1b2a; /* Ana Koyu Mavi */
    --bg-dark-blue-2: #050d1a; /* Daha Koyu Mavi */
    --accent-color: #ff6b00;   /* Ana Vurgu Rengi: Canlı Turuncu */
    --accent-color-hover: #e65c00;
    --card-bg-color: rgba(20, 40, 60, 0.5); /* Yarı saydam kart arka planı */
    --border-color: rgba(255, 107, 0, 0.2);  /* Hafif turuncu kenarlık */

    /* Kontrast Renkleri (Örn: Fiyatlandırma Kartları için) */
    --bg-light: #f8f9fa;      /* Açık renkli kart arka planı */
    --success-color: #28a745;
    --danger-color: #dc3545;

    /* Metin Renkleri */
    --text-primary-white: #f0f8ff;
    --text-secondary-gray: #b0c4de;
    --text-dark: #212529;      /* Açık zeminler için koyu metin */
    --text-muted: #6c757d;     /* Açık zeminler için soluk metin */
    /* YENİ: Soğuk Vurgu Rengi */
    --cool-accent-color: #4A6D88; /* Çelik Mavisi */
    --cool-border-color: rgba(74, 109, 136, 0.4);
    /* BÖLÜM ARKA PLAN RENKLERİ */
    --section-bg-hero: var(--bg-dark-blue-1);
    /* DEĞİŞİKLİK: "Nasıl Çalışır?" için yeni renk */
    --section-bg-how-it-works: #122136;
    --section-bg-features: var(--bg-dark-blue-1);
    --section-bg-pricing: #333e51;
    --section-bg-testimonials: var(--bg-dark-blue-1); /* YENİ */
    --section-bg-cta: #1b2b3c;
    --section-bg-footer: #152435;
}

/* === 2. GENEL AYARLAR === */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.7;
    background-color: var(--bg-dark-blue-1);
    color: var(--text-primary-white);
}
.container { max-width: 1140px; margin: 0 auto; padding: 0 15px; }
h1, h2, h3, h4 { line-height: 1.3; font-weight: 600; color: var(--text-primary-white); }
p { color: var(--text-secondary-gray); }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
main { padding-top: 80px; }
section { padding: 80px 0; }

/* === 3. HEADER & NAVBAR === */
.header {
    background-color: rgba(13, 27, 42, 0.4);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: fixed; width: 100%; top: 0; z-index: 1000; height: 80px;
}
.navbar { display: flex; justify-content: space-between; align-items: center; height: 100%; }
.logo { display: flex; align-items: center; text-decoration: none; color: var(--text-primary-white); gap: 10px; }
.logo img { height: 35px; } .logo span { font-weight: 700; }
.nav-links { display: flex; align-items: center; list-style: none; gap: 2rem; margin: 0; padding: 0; }
.nav-links a { color: rgba(255, 255, 255, 0.8); transition: color 0.3s ease; }
.nav-links a:hover { color: var(--accent-color); }
.btn-nav {
    background-color: var(--accent-color); border: none;
    color: var(--text-primary-white) !important; padding: 8px 20px; border-radius: 8px;
}
.btn-nav:hover { background-color: var(--accent-color-hover); }
.menu-icon { display: none; color: var(--text-primary-white); }

/* === 4. GENEL BUTON STİLLERİ === */
.btn { border-radius: 8px; font-weight: 600; transition: all 0.3s ease; padding: 12px 28px; text-decoration: none; display: inline-block; }
.btn-primary {
    background-color: var(--accent-color); color: var(--text-primary-white);
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3); border: none;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(255, 107, 0, 0.5); background-color: var(--accent-color-hover); }
.btn-secondary { background-color: transparent; border: 1px solid var(--text-secondary-gray); color: var(--text-secondary-gray); }
.btn-secondary:hover { border-color: var(--accent-color); color: var(--accent-color); }

/* === 5. BÖLÜMLER (SECTIONS) === */
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { color: var(--text-primary-white); }
.section-title p { max-width: 600px; margin: 0 auto; }

/* HERO BÖLÜMÜ */
.hero {
    background-image: linear-gradient(to top, var(--section-bg-hero) 0%, rgba(13, 27, 42, 0.3) 100%), url("../img/alfa_arkaplan.jpg");
    background-size: cover; background-position: center center; min-height: calc(100vh - 80px);
    display: flex; align-items: center; justify-content: center; text-align: center;
    padding: 40px 0;
}
.hero-text { display: flex; flex-direction: column; align-items: center; gap: 2rem; }
.hero-text h1 .highlight { color: var(--accent-color); }
.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* YENİ: NASIL ÇALIŞIR BÖLÜMÜ (TIMELINE TASARIMI) */
#how-it-works { background-color: var(--section-bg-how-it-works); }
.how-it-works-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}
.how-it-works-timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background-color: var(--border-color);
    top: 20px;
    bottom: 20px;
    left: 50%;
    margin-left: -1px;
}
.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
}
.timeline-item:nth-child(odd) { left: 0; }
.timeline-item:nth-child(even) { left: 50%; }
.timeline-item.reverse { left: 50%; } /* Mobil için düzeltme */
.timeline-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    right: -25px;
    top: 30px;
    background-color: var(--accent-color);
    border: 4px solid var(--bg-dark-blue-1);
    border-radius: 50%;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
}
.timeline-item.reverse .timeline-icon { left: -25px; }
.timeline-content {
    padding: 20px 30px;
    /* DEĞİŞİKLİK: Daha belirgin bir kart arka planı */
    background-color: rgba(13, 27, 42, 0.7);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    position: relative;
}
.timeline-item:nth-child(even) .timeline-content,
.timeline-item.reverse .timeline-content { text-align: right; }

/* ÖZELLİKLER BÖLÜMÜ */
#features { background-color: var(--section-bg-features); border-top: 1px solid var(--border-color); }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2rem; }
.feature-card {
    background-color: var(--card-bg-color); border: 1px solid var(--border-color);
    border-radius: 12px; transition: all 0.3s ease; padding: 30px; text-align: center;
}
.feature-card:hover { transform: translateY(-5px); border-color: var(--accent-color); }
.icon-wrapper {
    background: linear-gradient(145deg, var(--accent-color), #ff8c3a); color: white;
    width: 70px; height: 70px; border-radius: 50%; display: inline-flex;
    align-items: center; justify-content: center; font-size: 2.2rem; margin-bottom: 1.5rem;
}

/* FİYATLANDIRMA BÖLÜMÜ */
#pricing { background-color: var(--section-bg-pricing); }
/* YENİ: AYLIK/YILLIK TOGGLE */
.pricing-toggle { display: flex; justify-content: center; align-items: center; gap: 1rem; margin-bottom: 40px; }
.pricing-toggle .discount-badge { background-color: var(--success-color); color: white; padding: 3px 8px; border-radius: 10px; font-size: 0.8rem; margin-left: 5px; }
.switch { position: relative; display: inline-block; width: 60px; height: 34px; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: var(--bg-dark-blue-1); transition: .4s; }
.slider:before { position: absolute; content: ""; height: 26px; width: 26px; left: 4px; bottom: 4px; background-color: white; transition: .4s; }
input:checked + .slider { background-color: var(--accent-color); }
input:checked + .slider:before { transform: translateX(26px); }
.slider.round { border-radius: 34px; }
.slider.round:before { border-radius: 50%; }

.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; align-items: stretch; }
.pricing-card {
    background-color: var(--bg-light); color: var(--text-dark); border: 1px solid var(--border-color);
    border-radius: 12px; padding: 30px; display: flex; flex-direction: column; height: 100%;
    transition: all 0.3s ease;
}
.pricing-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.pricing-card h4 { color: var(--bg-dark-blue-1); }
.pricing-card p { color: var(--text-muted); }
.pricing-card ul { flex-grow: 1; margin: 2rem 0; padding: 0; text-align: left; }
.pricing-card li { display: flex; align-items: center; gap: 0.5rem; padding: 0.8rem 0; border-bottom: 1px solid #dee2e6; color: var(--text-dark); }
.pricing-card li:last-child { border-bottom: none; }
.pricing-card i { font-size: 1.2rem; }
.pricing-card.popular { border-width: 2px; border-color: var(--accent-color); box-shadow: 0 8px 30px rgba(255, 107, 0, 0.2); }
.popular-badge { background-color: var(--accent-color); color: white; padding: 5px 12px; border-radius: 20px; font-size: 0.8rem; font-weight: 600; display: inline-block; margin-bottom: 15px; text-transform: uppercase; }
.pricing-card li i.bx-check { color: var(--success-color); }
.pricing-card li.disabled { color: var(--text-muted); text-decoration: line-through; }
.pricing-card li.disabled i.bx-x { color: var(--danger-color); }

/* YENİ: MÜŞTERİ YORUMLARI BÖLÜMÜ */
#testimonials {
    background-color: var(--section-bg-testimonials);
    /* DEĞİŞİKLİK: Üst bölümle arasında daha yumuşak bir geçiş */
    border-top: 1px solid var(--cool-border-color);
}
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; }
.testimonial-card {
    background-color: transparent; /* Arka planı daha sade yapalım */
    padding: 30px; border-radius: 12px;
    /* DEĞİŞİKLİK: Kenarlık için yeni soğuk rengi kullanalım */
    border: 1px solid var(--cool-border-color);
    display: flex; flex-direction: column;
    transition: all 0.3s ease;
}
.testimonial-card:hover {
    border-color: var(--cool-accent-color);
    transform: translateY(-5px);
}
.testimonial-card p { font-style: italic; color: var(--text-primary-white); flex-grow: 1; margin-bottom: 1.5rem; }
.testimonial-author { display: flex; align-items: center; gap: 1rem; }

/* YENİ: Logo Konteyneri Stili */
.testimonial-author .logo-container {
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.95); /* Logo arka planı */
    border-radius: 8px; /* Logolar için karemsi köşe */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px; /* Logoların kenarlara yapışmasını engeller */
    flex-shrink: 0;
}
.testimonial-author .logo-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* Logonun oranını korur */
}

.testimonial-author strong { color: var(--text-primary-white); font-weight: 600; }
.testimonial-author span { color: var(--cool-accent-color); font-size: 0.9rem; }


/* SON EYLEM ÇAĞRISI (CTA) & İLETİŞİM */
#contact { background-color: var(--section-bg-cta); text-align: center; }
#contact .container { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
#contact h2 { color: var(--text-primary-white); }
#contact p { color: var(--text-primary-white); max-width: 600px; margin: 0; }
#contact .contact-info { margin-top: 1rem; }
#contact .contact-info strong { color: var(--accent-color); }
.btn-whatsapp { display: inline-flex; align-items: center; gap: 8px; background-color: #25d366; color: white; padding: 10px 16px; border-radius: 8px; font-weight: 600; text-decoration: none; transition: transform 0.2s ease; }
.btn-whatsapp:hover { transform: scale(1.05); background-color: #1ebd5b; }

/* FOOTER */
.footer { background-color: var(--section-bg-footer); border-top: 1px solid var(--border-color); padding: 40px 0; }
.footer-content { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer p { color: var(--text-secondary-gray); }
.footer .logo { color: var(--text-primary-white); }
.footer-social a { color: var(--text-secondary-gray); font-size: 1.5rem; margin: 0 10px; transition: color 0.3s; }
.footer-social a:hover { color: var(--accent-color); }

/* === 6. MOBİL UYUMLULUK (RESPONSIVE) === */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; } h2 { font-size: 2rem; }
    .menu-icon { display: block; cursor: pointer; font-size: 2.5rem; z-index: 1001; }
    .nav-links {
        position: fixed; top: 0; right: -100%; width: 100%; height: 100vh;
        background-color: var(--bg-dark-blue-2);
        flex-direction: column; justify-content: center;
        align-items: center; gap: 2.5rem; transition: right 0.4s ease-in-out;
    }
    .nav-links.active { right: 0; }
    .hero-buttons { flex-direction: column; }
    .footer-content { flex-direction: column; text-align: center; gap: 2rem; }

    /* YENİ: Timeline mobil uyumluluğu */
    .how-it-works-timeline::after { left: 30px; }
    .timeline-item { width: 100%; padding-left: 70px; padding-right: 25px; }
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even),
    .timeline-item.reverse { left: 0; }
    .timeline-icon { left: 5px; }
    .timeline-item.reverse .timeline-icon { left: 5px; }
    .timeline-item:nth-child(even) .timeline-content,
    .timeline-item.reverse .timeline-content { text-align: left; }
}