/* Temel Ayarlar ve Altın Tema Değişkenleri */
:root {
    --gold-color: #d4af37;
    --dark-bg: #121212;
    --card-bg: #1e1e1e;
    --text-light: #f0f0f0;
}

html {
    scroll-behavior: smooth;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* Yeni Koyu Güneş Enerjisi Arka Planı (Filtreli ve Sabitlenmiş) */
    background: linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.85)), /* Koyu Filtre */
                url('bg-solar-premium.jpg') no-repeat center center fixed; /* Görsel */
    background-size: cover; /* Görseli ekrana sığdırır */
    color: var(--text-light); /* Yazı Rengi */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
/* Navigasyon */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    z-index: 1000;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    box-sizing: border-box;
    backdrop-filter: blur(5px);
}

.navbar .logo {
    font-size: 22px;
    font-weight: bold;
    color: var(--gold-color);
    letter-spacing: 1px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
}

.nav-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--gold-color);
}

/* --- GELİŞMİŞ GİRİŞ (HERO) EKRANI --- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    color: white;
    background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, rgba(18,18,18,1) 100%), 
                url('bg-solar-premium.jpg') no-repeat center center/cover;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 0 20px;
}

.badge {
    display: inline-block;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--gold-color);
    color: var(--gold-color);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 25px;
    text-transform: uppercase;
    font-weight: bold;
}

.hero-content h1 {
    font-size: 4.5rem; 
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 800;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.8);
}

.gold-text-glow {
    background: linear-gradient(to right, #d4af37, #fff8b0, #d4af37, #fff8b0, #d4af37);
    background-size: 200% auto;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    animation: shineText 3s linear infinite;
}

@keyframes shineText {
    to { background-position: 200% center; }
}

.hero-content p {
    font-size: 1.3rem;
    color: #e0e0e0;
    margin-bottom: 40px;
    font-weight: 300;
    letter-spacing: 1px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn {
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: all 0.3s ease;
    display: inline-block;
    letter-spacing: 1px;
}

.primary-btn {
    background-color: var(--gold-color);
    color: #000;
    border: 2px solid var(--gold-color);
}

.primary-btn:hover {
    background-color: transparent;
    color: var(--gold-color);
}

.secondary-btn {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.4);
}

.secondary-btn:hover {
    border-color: white;
    background: rgba(255,255,255,0.1);
}

.secondary-btn i {
    margin-right: 8px;
    color: #25d366;
}

/* Hizmetler Kartları */
.services-section {
    padding: 100px 50px;
    text-align: center;
    background: linear-gradient(180deg, var(--dark-bg) 0%, #0a0a0a 100%);
}

.section-title {
    color: var(--gold-color);
    font-size: 2.5rem;
    margin-bottom: 50px;
    text-align: center;
}

.services-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.service-card {
    background: var(--card-bg);
    padding: 40px 30px;
    border-radius: 8px;
    border-top: 3px solid var(--gold-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    width: 280px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.service-card h3 {
    color: var(--gold-color);
    margin-bottom: 15px;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.2);
}

/* --- MODERN KURUMSAL TEKNOLOJİ GALERİSİ (KUTULARA SIFIR HATA İLE OTURAN) --- */
.modern-gallery {
    padding: 80px 0;
    background-color: #0a0a0a;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.modern-gallery-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.modern-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.modern-gallery-item {
    position: relative;
    overflow: hidden; /* Resmin kutu dışına taşmasını kesin engeller */
    border-radius: 6px;
    height: 280px; /* Kutunun kesin yüksekliği */
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
    border: 1px solid rgba(212, 175, 55, 0.15);
    cursor: pointer;
    background-color: #121212;
}

.modern-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* GÖRSELLERİN KUTUYA MİLİMETRİK OTURMASINI SAĞLAYAN KOD */
    display: block;
    filter: brightness(0.8);
    transition: transform 0.5s ease, filter 0.5s ease;
}

.modern-gallery-item:hover img {
    transform: scale(1.1); /* Sadece üzerine gelince hafifçe büyür, kayma yapmaz */
    filter: brightness(1);
}

.modern-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 100%);
    display: flex;
    align-items: flex-end;
    padding: 30px;
    transition: bottom 0.4s ease;
    z-index: 1;
    box-sizing: border-box;
}

.modern-gallery-item:hover .modern-overlay {
    bottom: 0;
}

.modern-overlay span {
    color: var(--gold-color);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}
/* --- KUSURSUZ MOBİL UYUMLULUK (TELEFON EKRANLARI İÇİN) --- */
@media (max-width: 768px) {
    /* 1. Navbar ve Hamburger Menü Düzeltmesi */
    .navbar {
        flex-direction: row; /* Logo ve ikon yan yana kalsın */
        justify-content: space-between;
        padding: 15px 20px;
    }
    
    .navbar .logo {
        font-size: 1.1rem; /* Telefondaki logoyu taşmaması için küçülttük */
    }

    .menu-toggle {
        display: block; /* Hamburger ikonu görünsün */
        font-size: 24px;
        cursor: pointer;
        color: white;
    }

    /* Açılır Menünün Sayfayı İtmesini Engelleyen Ayar */
    .nav-links {
        display: none; 
        flex-direction: column;
        position: absolute; /* Menü açıldığında aşağı doğru sarkması için */
        top: 100%; /* Navbar'ın tam altında başlasın */
        left: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.95); /* Arka planı koyulaştırdık */
        padding: 20px 0;
        text-align: center;
        border-bottom: 2px solid var(--gold-color);
        box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    }

    .nav-links.active {
        display: flex; /* Tıklanınca açılmasını sağlar */
    }

    .nav-links li {
        margin: 15px 0;
    }

    .nav-links a {
        font-size: 1.2rem;
        display: block;
    }

    /* 2. Hero (Giriş) Alanı Düzeltmesi */
    .hero-content {
        margin-top: 50px; 
    }

    .hero-content h1 {
        font-size: 2.5rem; /* Mobilde başlık boyutu ekranı taşırmasın */
    }

    .hero-content p {
        font-size: 1rem;
        padding: 0 10px;
    }

    /* Butonları Alt Alta Al ve Genişlet */
    .hero-buttons {
        flex-direction: column; 
        gap: 15px;
        width: 100%;
        padding: 0 20px;
        box-sizing: border-box;
    }

    .btn {
        width: 100%; /* Butonlar mobilde daha rahat tıklansın diye tam genişlik */
        box-sizing: border-box;
    }

    /* 3. Hizmet Kartları ve Bölüm Boşlukları */
    .services-section {
        padding: 60px 20px;
    }

    .service-card {
        width: 100%; /* Mobilde tam genişlik */
        max-width: 350px; /* Çok da uzamasın */
        margin: 0 auto;
    }

    /* 4. Modern Galeri */
    .modern-gallery-grid {
        grid-template-columns: 1fr; /* Fotoğraflar tek sütun alt alta */
    }
    
    .modern-gallery-item {
        height: 250px;
    }

    /* 5. İstatistikler */
    .stats-section {
        padding: 50px 20px;
    }
    
    .stats-container {
        flex-direction: column; /* Mobilde ikonlar alt alta dizilsin */
        gap: 40px;
    }

    /* 6. Footer (Alt Kısım) Taşıma Engeli */
    footer {
        padding: 40px 15px 15px;
    }
    
    .contact-details p {
        font-size: 0.95rem;
        word-wrap: break-word; /* Uzun E-posta adresleri ekranı taşırmasın */
    }
}

/* Dinamik İstatistik Sayaçları */
.stats-section {
    background-color: #0a0a0a;
    padding: 80px 50px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.stats-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-box {
    flex: 1;
    min-width: 200px;
}

.stat-box i {
    font-size: 3rem;
    color: var(--gold-color);
    margin-bottom: 15px;
}

.stat-box .counter {
    font-size: 3.5rem;
    font-weight: bold;
    color: white;
    display: inline-block;
}

.stat-box span {
    font-size: 3.5rem;
    font-weight: bold;
    color: var(--gold-color);
}

.stat-box p {
    font-size: 1.2rem;
    color: #ccc;
    margin-top: 10px;
    letter-spacing: 1px;
}

/* Footer & İletişim Alanı */
footer {
    background: #000;
    color: #ccc;
    padding: 60px 20px 20px;
    text-align: center;
    border-top: 1px solid #333;
}

.footer-logo {
    color: var(--gold-color);
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.manager-name {
    font-size: 1.2rem;
    color: white;
    margin-bottom: 30px;
}

.contact-details p {
    margin: 10px 0;
    font-size: 1.1rem;
}

.contact-details a {
    color: var(--gold-color);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-details a:hover {
    color: white;
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #333;
    font-size: 0.9rem;
}

/* Animasyonlu WhatsApp Baloncuğu */
.whatsapp-bubble {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: pulse-animation 2s infinite; 
}

.whatsapp-bubble:hover {
    transform: scale(1.1);
    background-color: #1ebe57;
    color: white;
}

@keyframes pulse-animation {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 20px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* --- Animasyon Sınıfları --- */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeUpAnim 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }

@keyframes fadeUpAnim {
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}
/* --- KUSURSUZ MOBİL UYUMLULUK (TELEFON EKRANLARI İÇİN) --- */
@media (max-width: 768px) {
    /* Menüyü Alt Alta ve Ortalı Diz */
    .navbar {
        flex-direction: column;
        padding: 15px;
        gap: 12px;
        text-align: center;
    }
    
    .navbar .logo {
        font-size: 18px;
    }

    .nav-links {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-links a {
        font-size: 14px;
    }

    /* Ana Başlık ve Butonları Telefona Uydur */
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }

    /* Galeri ve Kutular */
    .parallax-grid {
        flex-direction: column;
    }
    .big-img { height: 300px; }
    .medium-img, .small-img { width: 100%; height: 250px; margin-top: 0; }
    .parallax-text-box { position: relative; bottom: 0; left: 0; max-width: 100%; margin-top: 20px; }
}.menu-toggle{
display:none;
font-size:26px;
cursor:pointer;
color:white;
}

@media(max-width:768px){

.menu-toggle{
display:block;
}

.nav-links{
display:none;
flex-direction:column;
width:100%;
background:#000;
padding:15px 0;
}

.nav-links.active{
display:flex;
}

}/* Enerji Hareketli Arka Plan */

.energy-bg{
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
z-index:-1;
background: radial-gradient(circle at 20% 30%, rgba(212,175,55,0.08), transparent 40%),
            radial-gradient(circle at 80% 70%, rgba(212,175,55,0.06), transparent 40%),
            radial-gradient(circle at 60% 20%, rgba(212,175,55,0.05), transparent 40%);
animation: energyMove 18s infinite alternate ease-in-out;
}

@keyframes energyMove{

0%{
transform:translate(0px,0px) scale(1);
}

50%{
transform:translate(-40px,30px) scale(1.1);
}

100%{
transform:translate(40px,-20px) scale(1);
}

}/* 3D Kart Hover Efekti */
.service-card {
    perspective: 1000px;
}

.service-card:hover {
    transform: rotateY(8deg) rotateX(6deg) translateY(-15px);
}

/* Enerji Partikülleri */
.particle-bg {
    position: fixed;
    top:0;
    left:0;
    width: 100%;
    height:100%;
    z-index: -2;
    pointer-events: none;
}

/* Parallax Hero Başlığı */
.hero-content {
    transform-style: preserve-3d;
}

/* Gelişmiş Sayaç Efekti */
.counter {
    transition: all 0.2s ease-out;
}

/* Altın Parıltılı Hover Buton */
.primary-btn:hover {
    box-shadow: 0 0 20px rgba(212,175,55,0.6);
    transform: scale(1.05);
}