/* --- TEMEL AYARLAR --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    background-color: #f9f9f9;
}
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}
main {
    padding-top: 70px; 
    min-height: 70vh;
    padding-bottom: 120px;
}

/* --- 1. HEADER / NAVBAR BÖLÜMÜ --- */
header {
    background-color: #ffffff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}
.navbar {
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
    height: 70px;
}
.logo img {
    height: 50px;
    width: auto;
    max-width: 150px;
}
.nav-menu {
    margin-left: 20px;
}
.nav-menu ul {
    list-style: none;
    display: flex;
}
.nav-menu li {
    margin-left: 20px;
}
.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 16px;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}
.nav-menu a:hover,
.nav-menu a.active {
    background-color: #004a99;
    color: #ffffff;
}
.navbar-right {
    display: flex;
    align-items: center;
    margin-left: auto;
}
.calculator-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 16px;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
    margin-right: 10px;
}
.calculator-link:hover {
    background-color: #004a99;
    color: #ffffff;
}
.calculator-link .fa-calculator {
    font-size: 1.1rem;
}
.cart-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 16px;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
    margin-right: 15px;
}
.cart-link:hover {
    background-color: #004a99;
    color: #ffffff;
}
.cart-link .fa-shopping-cart {
    font-size: 1.1rem;
}
.cart-text {
    margin-left: 8px;
}
.menu-toggle {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
}

/* --- HERO SLIDER (Anasayfa) --- */
.hero-slider {
    height: 45vh; 
    min-height: 300px; 
    position: relative;
    display: flex;
    overflow: hidden;
}
.hero-slider::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 2;
}
.slider-slides {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #fff;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}
.slide.active {
    opacity: 1;
}
.hero-content {
    position: relative;
    z-index: 3;
}

/* --- HIZLI BUTONLAR (Anasayfa) --- */
.quick-buttons {
    background-color: #ffffff;
    padding: 30px 0;
}
.quick-buttons .container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 10px;
}
.quick-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background-color: #f4f4f4;
    padding: 15px 5px;
    border-radius: 8px;
    color: #333;
    font-weight: 600;
    transition: background-color 0.3s, box-shadow 0.3s, transform 0.3s;
    font-size: 0.85rem; 
    text-align: center;
}
.quick-btn:hover {
    background-color: #004a99;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.quick-btn i {
    font-size: 2rem; 
    margin-bottom: 8px;
}

/* --- GENEL SAYFA İÇERİĞİ --- */
.page-content {
    background-color: #ffffff;
    padding: 30px 20px;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.page-content h1 {
    font-size: 2.5rem;
    color: #333;
    border-bottom: 2px solid #004a99;
    padding-bottom: 10px;
    margin-bottom: 20px;
}
.page-content h2 {
    font-size: 1.8rem;
    color: #004a99;
    margin-top: 30px;
    margin-bottom: 15px;
}
.page-content p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 15px;
}
.page-content hr {
    border: 0;
    height: 1px;
    background-color: #eee;
    margin: 40px 0;
}

/* --- AKORDİYON MENÜ (Sertifikalar) --- */
.accordion {
    width: 100%;
}
.accordion-toggle {
    background-color: #f4f4f4;
    color: #444;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: background-color 0.3s;
    border-bottom: 1px solid #ddd;
}
.accordion-toggle:hover,
.accordion-toggle.active {
    background-color: #e0eaf6;
}
.accordion-toggle::after {
    content: '+';
    font-size: 1.5rem;
    color: #004a99;
    float: right;
    margin-left: 5px;
}
.accordion-toggle.active::after {
    content: "−";
}
.accordion-content {
    padding: 0 18px;
    background-color: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    border-bottom: 1px solid #ddd;
}
.accordion-content img {
    width: 100%;
    max-width: 600px;
    display: block;
    margin: 15px auto;
    padding: 5px;
    border: 1px solid #eee;
}

/* --- NEDEN ÜYE OLMALIYIM (Sayfa 3) --- */

/* Ana Teşvik Görseli */
.incentive-banner img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Video Konteyneri Boyut Düzeltmesi */
.video-container {
    text-align: center;
    margin: 20px 0;
}
.video-container video {
    width: 100%;
    max-width: 500px; 
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    display: block;
    margin: 0 auto;
}

/* Kampanya Sliderı */
.campaign-slider-container {
    position: relative;
    max-width: 600px; 
    margin: 30px auto;
    overflow: hidden; 
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    background-color: #fff;
}
.campaign-slider {
    display: flex;
    width: 400%;
    transition: transform 1s ease-in-out; 
}
.campaign-slide {
    flex: 0 0 25%; 
    width: 25%;
}
.campaign-slide img {
    width: 100%;
    display: block;
    height: auto;
    max-height: 80vh; 
    object-fit: contain; 
}
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 1.5rem;
    border-radius: 5px;
    z-index: 10;
    transition: background-color 0.3s;
}
.slider-arrow:hover {
    background-color: rgba(0, 0, 0, 0.7);
}
.left-arrow {
    left: 10px;
}
.right-arrow {
    right: 10px;
}

/* Kazanç Tablosu Resmi (Zoom'lanabilir) */
.kazanc-tablo-wrapper {
    text-align: center;
}
.kazanc-tablo-wrapper img {
    width: 100%;
    max-width: 800px;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    border: 1px solid #ddd;
    cursor: zoom-in;
    transition: transform 0.2s;
}
.kazanc-tablo-wrapper img:hover {
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* --- ULTRA MODERN HESAP MAKİNESİ STİLİ --- */
.calculator-app {
    max-width: 800px;
    margin: 30px auto;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

/* Başlık Şeridi */
.calc-header {
    background-color: #004a99;
    color: white;
    padding: 15px 25px;
    font-size: 1.4rem;
    font-weight: bold;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
.calc-header i {
    font-size: 1.8rem;
    color: gold; 
}
.calc-header .fa-rocket {
    color: #e0eaf6;
}

/* İçerik Alanı (Giriş ve Sonuç) */
.calc-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; 
    gap: 1px;
    border-top: 1px solid #e0eaf6;
}

.calc-section {
    padding: 30px;
    background-color: #ffffff;
    border-right: 1px solid #e0eaf6; 
}
.calc-result-section {
    border-right: none;
}
.calc-section h3 {
    font-size: 1.1rem;
    color: #555;
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    border-bottom: 1px dashed #eee;
    padding-bottom: 10px;
}

/* GİRİŞ ALANI */
.input-area {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.input-area label {
    font-weight: 600;
    font-size: 1rem;
    color: #333;
}
.input-area input {
    padding: 10px;
    font-size: 1.1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-top: 5px;
    width: 100%;
}
.calculate-btn {
    background-color: #25D366; 
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    padding: 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 100%;
    margin-top: 25px;
}
.calculate-btn:hover {
    background-color: #1faa58;
}

/* SONUÇ ALANI */
.result-display-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.initial-msg {
    color: #777;
    text-align: center;
    padding: 20px;
    border: 2px dashed #ccc;
    border-radius: 5px;
}

/* Sonuç Blokları Stili */
.result-item,
.total-kazanc {
    display: flex;
    align-items: center;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    font-weight: 600;
}
.result-item i {
    font-size: 1.4rem;
    margin-right: 15px;
}
.result-item span {
    flex-grow: 1;
}
.result-item strong {
    font-size: 1.1rem;
    white-space: nowrap; 
}

/* Renkler */
.result-item.green { background-color: #d4edda; color: #155724; } 
.result-item.green i { color: #25D366; }

.result-item.blue { background-color: #cce5ff; color: #004085; } 
.result-item.blue i { color: #004a99; }

.result-item.gray { background-color: #e2e3e5; color: #495057; } 
.result-item.gray i { color: #6c757d; }

/* TOPLAM KAZANÇ Bloğu */
.total-kazanc {
    background-color: #004a99;
    color: white;
    font-size: 1.3rem;
    margin-top: 20px;
    padding: 20px 15px;
}
.total-kazanc strong {
    font-size: 1.5rem;
}

/* --- LIGHTBOX, FOOTER, WHATSAPP STİLLERİ AYNI KALDI --- */

/* --- MOBİL UYUMLULUK --- */
@media (max-width: 768px) {
    /* Header */
    .nav-menu {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        background-color: #ffffff;
        width: 100%;
        flex-direction: column;
        text-align: center;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        margin-left: 0;
    }
    .nav-menu.active { display: flex; }
    .nav-menu ul { flex-direction: column; width: 100%; }
    .nav-menu li { margin: 10px 0; }
    .menu-toggle { display: block; }
    .cart-text { display: none; } 
    .calculator-link { margin-right: 5px; }
    .cart-link { margin-right: 10px; }

    /* Anasayfa Butonları (Küçültülmüş) */
    .quick-buttons .container {
        gap: 5px; 
    }
    .quick-btn {
        font-size: 0.65rem; 
        padding: 10px 3px; 
        min-width: 0; 
    }
    .quick-btn i {
        font-size: 1.5rem; 
        margin-bottom: 5px;
    }

    /* Genel İçerik Sayfaları (Mobil) */
    .page-content h1 { font-size: 2rem; }
    .page-content h2 { font-size: 1.5rem; }
    .accordion-toggle { font-size: 1rem; padding: 15px; }

    /* Neden Üye Olmalıyım (Mobil) */
    .calculator-result p.kazanc {
        font-size: 1.3rem;
    }
    .slider-arrow {
        font-size: 1.2rem;
        padding: 8px 12px;
    }
    .campaign-slider-container {
        max-width: 100%;
    }
    /* KRİTİK: Hesap Makinesi 2'li düzeni tekliye düşer */
    .calc-content-grid {
        grid-template-columns: 1fr;
    }
    .calc-section {
        border-right: none;
        border-bottom: 1px solid #e0eaf6; 
    }
    .calc-result-section {
        border-bottom: none;
    }
    .calc-header {
        font-size: 1.2rem;
    }
    .video-container video {
        max-width: 100%; /* Mobilin tamamını kaplasın */
    }
}