/* Genel Ayarlar */
body { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; background: #fff; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }

/* Top Bar */
.top-bar { background: #f8f8f8; padding: 10px 0; border-bottom: 1px solid #eee; font-size: 13px; color: #666; }
.top-left span { margin-right: 20px; }
.top-left i { color: #82b440; margin-right: 5px; }
.social-links a { color: #666; margin: 0 10px; text-decoration: none; }
.lang-selector { margin-left: 15px; border-left: 1px solid #ddd; padding-left: 15px; display: inline-block; }

/* Navbar */
.main-nav { background: #fff; padding: 20px 0; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.logo a { text-decoration: none; font-size: 28px; font-weight: 800; color: #333; }
.logo .green { color: #82b440; }
.logo sup { font-size: 12px; vertical-align: top; color: #666; }

.menu { list-style: none; display: flex; margin: 0; padding: 0; }
.menu li { margin-left: 25px; }
.menu a { text-decoration: none; color: #333; font-weight: 600; font-size: 14px; transition: 0.3s; }
.menu a:hover, .menu a.active { color: #82b440; }
.menu a.active { background: #82b440; color: #fff; padding: 8px 15px; border-radius: 4px; }

/* Hero Tasarımı */
.hero-area {
    height: 550px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: #fff;
}

.hero-text h1 {
    font-size: 45px;
    font-weight: 800;
    line-height: 1.2;
}

.hero-text h1 span {
    color: #82b440;
    text-transform: uppercase;
}

.hero-text p {
    font-size: 20px;
    margin-top: 20px;
    opacity: 0.9;
}

/* Distribütör Barı */
.distributor-bar {
    background: #fff;
    padding: 25px 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.dist-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dist-item img {
    height: 28px;
}

.dist-item span {
    font-size: 13px;
    font-weight: 700;
    color: #444;
}

/* Intro Bölümü Tipografi */
.intro-section {
    padding: 100px 0 60px;
}

.intro-content h2 {
    font-size: 36px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 35px;
    letter-spacing: -0.5px;
}

.intro-description p {
    font-size: 16px;
    line-height: 1.8; /* Satır aralığı ferah olsun */
    color: #555;
    margin-bottom: 25px;
}

.intro-description strong {
    color: #333;
}

/* Ürün Kartları Gelişmiş */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding-bottom: 100px;
}

.product-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid #f0f0f0;
}

.product-card:hover {
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    transform: translateY(-8px);
}

.product-img img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.product-body {
    padding: 25px;
}

.product-body h3 {
    font-size: 22px;
    font-weight: 700;
    color: #222;
    margin-bottom: 15px;
}

.product-body p {
    font-size: 14.5px;
    color: #777;
    line-height: 1.7;
    margin: 0;
}

/* Fontu tüm siteye çakıyoruz kanka */
body { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    font-family: 'Inter', sans-serif; /* Profesyonel dokunuş */
    background-color: #ffffff;
    color: #444; /* Yazılar çok siyah olmasın, daha kurumsal durur */
    -webkit-font-smoothing: antialiased; /* Yazıları daha keskin yapar */
}

/* Başlıklar İçin Özel Renkler */
h1, h2, h3 {
    color: #1a1a1a;
    font-weight: 800;
    letter-spacing: -0.02em; /* Harfleri biraz yakınlaştırınca daha şık durur */
}

/* SolarToday Yeşili */
.green-text { color: #82b440; }

/* Kurumsal Giriş Alanı */
.intro-section {
    padding: 90px 0 50px;
    max-width: 900px; /* Metin çok yayılmasın, görseldeki gibi toplu dursun */
}

.intro-content h2 {
    font-size: 38px;
    line-height: 1.2;
    margin-bottom: 30px;
}

.intro-description p {
    font-size: 16.5px;
    line-height: 1.85; /* Satır aralığı ferah */
    color: #5a5a5a;
    margin-bottom: 25px;
}

/* Ürün Kartları Görseldeki Renk Tonları */
.product-card {
    background: #fff;
    border: 1px solid #f1f1f1;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.product-card:hover {
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
    border-color: #82b440; /* Hover olunca yeşil çerçeve */
}

.product-body h3 {
    font-size: 21px;
    color: #222;
    margin-bottom: 12px;
}

.product-body p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
}

/* Haberler Grid Yapısı */
.news-section { padding: 60px 0 100px; }

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* Kart Tasarımı */
.news-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: 0.3s ease;
}

.news-card:hover { transform: translateY(-10px); }

/* Resim ve Kategori */
.news-thumb { position: relative; }
.news-thumb img { width: 100%; height: 200px; object-fit: cover; }

.news-category {
    position: absolute;
    bottom: 0;
    left: 0;
    background: #82b440; /* Meşhur yeşilimiz */
    color: #fff;
    padding: 8px 15px;
    font-size: 11px;
    font-weight: 600;
    border-top-right-radius: 10px;
}

/* Kart İçeriği */
.news-body { padding: 25px; }

.news-date {
    font-size: 13px;
    color: #999;
    display: block;
    margin-bottom: 15px;
}

.news-body h3 {
    font-size: 18px;
    color: #1a1a1a;
    line-height: 1.4;
    margin-bottom: 15px;
    font-weight: 700;
}

.news-body p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* 3 satırdan sonrasını keser */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Devamını Oku Butonu */
.news-btn {
    display: inline-block;
    color: #82b440;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    padding: 10px 20px;
    border: 1px solid #f1f1f1;
    border-radius: 50px;
    transition: 0.3s;
}

.news-btn:hover {
    background: #82b440;
    color: #fff;
    border-color: #82b440;
}

.partners-section {
    background: #f4f7f4; /* O hafif yeşilimsi gri ton */
    padding: 60px 0;
    width: 100%;
    display: block !important; /* Görünmeye zorla */
}

.partners-logos {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.logo-box img {
    max-height: 50px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: 0.3s;
}

.logo-box img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* Footer Alanı */
.main-footer {
    background-color: #82b440; /* Meşhur Yeşil */
    color: #ffffff;
    padding: 80px 0 0;
    margin-top: 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 40px;
    padding-bottom: 60px;
}

.footer-col h3 {
    font-size: 18px;
    margin-bottom: 25px;
    font-weight: 700;
    color: #fff;
    position: relative;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: #fff;
}

.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col a { color: rgba(255,255,255,0.8); text-decoration: none; transition: 0.3s; font-size: 14px; }
.footer-col a:hover { color: #fff; padding-left: 5px; }

.footer-logo { font-size: 28px; font-weight: 800; margin-bottom: 20px; }
.footer-desc { font-size: 14px; line-height: 1.6; color: rgba(255,255,255,0.9); margin-bottom: 20px; }

.footer-social a {
    display: inline-block;
    width: 35px;
    height: 35px;
    background: rgba(255,255,255,0.1);
    text-align: center;
    line-height: 35px;
    border-radius: 50%;
    margin-right: 10px;
    color: #fff;
}

.contact-list li { font-size: 14px; display: flex; gap: 10px; align-items: flex-start; }
.contact-list i { margin-top: 4px; }

/* En Alt Siyah/Koyu Bant */
.footer-bottom {
    background: rgba(0,0,0,0.1);
    padding: 20px 0;
    font-size: 13px;
    border-top: 1px solid rgba(255,255,255,0.1);
}


/* --- FULL RESPONSIVE SIFIRLAMA (SON DOKUNUŞ) --- */

/* Masaüstü Genel Ayar */
.nav-wrapper { display: flex; justify-content: space-between; align-items: center; position: relative; }
.mobile-menu-btn { display: none; } /* Masaüstünde gizle */

@media (max-width: 768px) {
    /* 1. Üst Barı Gizle (Ferah Mobil Görünüm) */
    .top-bar { display: none !important; }

    /* 2. Navigasyon ve Logo */
    .main-nav { padding: 15px 0 !important; }
    .logo a { font-size: 22px !important; }
    
    .mobile-menu-btn { 
        display: block !important; 
        font-size: 26px; 
        cursor: pointer; 
        color: #333; 
    }

    /* 3. MENÜ: Ortada açılma hatası BİTTİ - Tam Genişlik */
    .menu {
        display: none !important;
        flex-direction: column !important;
        position: absolute !important;
        top: 100% !important; /* Navbar'ın tam alt sınırı */
        left: 0 !important;
        width: 100% !important;
        background: #ffffff !important;
        margin: 0 !important;
        padding: 0 !important;
        box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
        z-index: 9999 !important;
    }

    /* JavaScript Toggle Sınıfı */
    .menu.active { display: flex !important; }

    .menu li {
        width: 100% !important;
        margin: 0 !important;
        border-bottom: 1px solid #f5f5f5;
    }

    .menu a {
        padding: 18px 25px !important;
        display: block !important;
        text-align: left !important;
        font-size: 15px !important;
        color: #333 !important;
    }

    /* 4. Banner (Hero) Mobil Ayar */
    .hero-area { height: auto !important; padding: 60px 20px !important; }
    .hero-text h1 { font-size: 26px !important; text-align: center; line-height: 1.2; }
    .hero-text p { font-size: 15px !important; text-align: center; }

    /* 5. Gridleri Tek Sütun Yap (Ürünler & Haberler) */
    .products-grid, .news-grid, .footer-grid, .packages-grid {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
        padding: 20px !important;
    }

    /* Footer ve Diğer Elemanlar */
    .distributor-bar .flex-between { flex-direction: column; gap: 20px; text-align: center; }
}

/* Linklerdeki mavi rengi ve alt çizgiyi öldür */
a { text-decoration: none !important; color: inherit; }

/* --- GÜNEŞ ENERJİSİ PAKETLERİ (FULL RESPONSIVE) --- */
.packages-section { 
    padding: 80px 0; 
    background: #fdfdfd; 
}

.packages-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap; /* Mobilde alt alta düşmesini sağlar */
}

.package-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 20px;
    padding: 40px 30px;
    width: 100%;
    max-width: 380px; /* Kartların genişliğini sabitledik */
    text-align: center;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
}

.package-card:hover { 
    transform: translateY(-10px); 
    box-shadow: 0 20px 40px rgba(0,0,0,0.08); 
}

/* Fiyat Alanı - İndirim Vurgusu */
.package-price { margin: 25px 0; }
.old-price { 
    display: block; 
    text-decoration: line-through; 
    color: #999; 
    font-size: 18px; 
}
.current-price { 
    display: block; 
    color: #e74c3c; 
    font-size: 36px; 
    font-weight: 800; 
    margin-top: 5px;
}

/* Öne Çıkan Lityum Paket Stili */
.package-card.featured {
    border: 3px solid #82b440;
    transform: scale(1.03); /* Masaüstünde biraz daha büyük durur */
}
.package-card.featured .current-price { color: #82b440; }

.badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #82b440;
    color: #fff;
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 800;
}

.package-icon { font-size: 40px; margin-bottom: 10px; }
.package-subtitle { font-size: 13px; color: #777; margin-bottom: 15px; font-weight: 600; }

/* Özellik Listesi */
.package-features { 
    text-align: left; 
    margin: 30px 0; 
    list-style: none; 
    padding: 0; 
}
.package-features li { 
    margin-bottom: 12px; 
    font-size: 14.5px; 
    color: #444; 
    border-bottom: 1px solid #f8f8f8; 
    padding-bottom: 8px;
    display: flex;
    align-items: center;
}
.package-features i { color: #82b440; margin-right: 12px; width: 18px; }
.package-features .warning i { color: #f39c12; }

/* Satın Al Butonu */
.buy-btn {
    display: block;
    background: #333;
    color: #fff !important;
    padding: 16px 20px;
    border-radius: 50px;
    font-weight: 800;
    text-transform: uppercase;
    transition: 0.3s;
    letter-spacing: 1px;
    text-decoration: none !important;
}

.package-card.featured .buy-btn { background: #82b440; }
.buy-btn:hover { 
    transform: scale(1.05); 
    box-shadow: 0 8px 20px rgba(0,0,0,0.15); 
}

/* --- MOBİL UYUM (PAKETLER ÖZEL) --- */
@media (max-width: 768px) {
    .packages-grid { 
        padding: 0 20px;
        flex-direction: column; 
        align-items: center; 
    }
    
    .package-card { 
        max-width: 100%; /* Mobilde tam ekran sığsın */
        padding: 30px 20px; 
    }
    
    .package-card.featured { 
        transform: scale(1); /* Mobilde scale bozabilir, 1 yapıyoruz */
        order: -1; /* En önemli paketi (Paket 1) en üste taşır */
    }

    .current-price { font-size: 32px; }
    
    
}

/* --- ÖDEME SAYFASI TASARIMI --- */
.checkout-wrapper {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    margin-top: 50px;
    margin-bottom: 50px;
}

.checkout-form h3 {
    font-size: 22px;
    color: #333;
    margin-bottom: 20px;
    border-left: 4px solid #82b440;
    padding-left: 15px;
}

.checkout-form input, .checkout-form select {
    outline: none;
    transition: 0.3s;
}

.checkout-form input:focus, .checkout-form select:focus {
    border-color: #82b440 !important;
    box-shadow: 0 0 8px rgba(130, 180, 64, 0.2);
}

.order-summary-box {
    position: sticky;
    top: 20px;
    height: fit-content;
}

.order-summary-box h4 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #333;
}

/* IBAN Bilgi Kutusu Animasyonu */
#ibanDisplay {
    animation: fadeIn 0.5s ease-in-out;
    border-left: 5px solid #82b440 !important;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

#displayIban {
    display: block;
    background: #f1f1f1;
    padding: 10px;
    border-radius: 5px;
    margin-top: 10px;
    font-weight: 700;
    word-break: break-all;
}

/* Mobilde Düzenleme */
@media (max-width: 768px) {
    .checkout-wrapper {
        grid-template-columns: 1fr !important; /* Yan yana olan yapıyı alt alta yap */
        padding: 20px;
    }
    
    .order-summary-box {
        order: -1; /* Özeti en üste al ki müşteri ne ödediğini görsün */
        margin-bottom: 20px;
    }
}