/* ==========================================================================
   GENEL AYARLAR VE DEĞİŞKENLER (Eksik Renk ve Fontlar Tamamlandı)
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
    --bg-primary: #040705;
    --bg-secondary: #0b130e;
    --primary: #84cc16;
    --secondary: #eab308;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --border: rgba(255, 255, 255, 0.08);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   GRID VE ESNEK YERLEŞİMLER
   ========================================================================== */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

/* ==========================================================================
   HEADER & NAVIGASYON
   ========================================================================== */
header {
    background: rgba(4, 7, 5, 0.85);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
    padding: 15px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: #fff;
    text-decoration: none;
    letter-spacing: 1px;
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
}

.header-btn {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 8px 18px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
}

.header-btn:hover {
    background: var(--primary);
    color: #000;
}

/* ==========================================================================
   HERO / GİRİŞ ALANI
   ========================================================================== */
#hero {
    padding: 80px 0;
}

.section-title {
    font-family: 'Outfit', sans-serif;
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.text-primary { color: var(--primary); }
.text-muted { color: var(--text-muted); }

.stat-box {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.stat-item {
    padding-left: 15px;
    border-left: 3px solid var(--primary);
}

.stat-item h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 24px;
    color: #fff;
}

/* ==========================================================================
   KARTLAR VE FORMLAR
   ========================================================================== */
.card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input, .form-group select {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    color: #fff;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: var(--transition);
}

.form-group input:focus, .form-group select:focus {
    border-color: var(--primary);
}

.input-note {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 5px;
}

/* ==========================================================================
   SONUÇ KUTULARI VE DEKORASYONLAR
   ========================================================================== */
.results-box {
    background: rgba(132, 204, 22, 0.02);
    border: 1px solid rgba(132, 204, 22, 0.15);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

.results-box p {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin-bottom: 10px;
    color: var(--text-muted);
}

.results-box p:last-child {
    margin-bottom: 0;
}

.btn-submit {
    width: 100%;
    background: var(--primary);
    color: #000;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    font-size: 15px;
    transition: var(--transition);
}

.btn-submit:hover {
    opacity: 0.9;
}

.success-alert {
    display: none;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid #10b981;
    color: #10b981;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    font-size: 14px;
}

/* ==========================================================================
   BÖLÜM YAPILARI
   ========================================================================== */
section {
    padding: 100px 0;
}

.text-center {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
}

.badge-green {
    background: rgba(132, 204, 22, 0.1);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 16px;
    margin-top: 10px;
}

/* ==========================================================================
   NE ÇALIŞTIRABİLİRİM MODÜL EKLEMELERİ
   ========================================================================== */
.device-badge-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.device-badge {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    color: var(--text-muted);
}

.btn-preset {
    background: transparent;
    border: 1px solid var(--border);
    color: #fff;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}

.btn-preset.active, .btn-preset:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #000;
}

.result-pill {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 14px;
    color: var(--text-muted);
}

/* ==========================================================================
   SÜREÇ VE SSS
   ========================================================================== */
.step-card {
    position: relative;
    padding-top: 40px !important;
}

.step-number {
    position: absolute;
    top: -20px;
    left: 30px;
    background: var(--primary);
    color: #000;
    width: 40px;
    height: 40px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    box-shadow: 0 4px 20px rgba(132,204,22,0.3);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
}

.faq-question {
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: '+';
    color: var(--primary);
    font-size: 20px;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    color: var(--text-muted);
    font-size: 14px;
    transition: max-height 0.3s ease, margin-top 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    margin-top: 15px;
}

.faq-item.active .faq-question::after {
    content: '−';
}

/* ==========================================================================
   İLETİŞİM VE FOOTER
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.whatsapp-btn, .whatsapp-floating {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25d366;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    transition: var(--transition);
}

.whatsapp-btn {
    padding: 12px 24px;
    font-size: 15px;
}

.whatsapp-floating {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    z-index: 999;
}

.whatsapp-btn:hover, .whatsapp-floating:hover {
    transform: translateY(-3px);
    opacity: 0.9;
}

footer {
    padding: 40px 0;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
}

/* ==========================================================================
   KULLANICININ EKLEDİĞİ GALERİ STİLLERİ (KORUNDU)
   ========================================================================== */
.solar-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    border-radius: 15px;
    overflow: hidden;
    height: 250px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.contact-card-v2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 768px) {
    .contact-card-v2 {
        grid-template-columns: 1fr;
    }
    .nav-links {
        display: none; /* Mobil uyum için basit gizleme */
    }
}