/* Genel Ayarlar */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth; /* Menüye tıklayınca yumuşak kaydırma sağlar */
}

body {
    background-color: #f8f9fa;
    color: #333;
}

/* Üst Menü (Navbar) */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed; /* Menüyü en üste sabitler */
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: 0.3s;
}

/* --- YENİ LOGO TASARIMI --- */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 28px;
    font-weight: 800;
    color: #2c3e50;
    cursor: pointer;
}

/* Logonun yanındaki amblem (Kutu tasarımı) */
.logo-ikon {
    background: linear-gradient(135deg, #3498db, #2ecc71); /* Mavi ve Yeşil renk geçişi */
    color: white;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px; /* Hafif yuvarlatılmış kare */
    font-size: 22px;
    box-shadow: 0 4px 10px rgba(52, 152, 219, 0.4); /* Mavi bir parlama efekti */
}

.logo span {
    color: #3498db; /* İsmin sonundaki noktanın rengi */
}

/* Gece Modunda Logonun Görünümü */
body.dark-mode .logo {
    color: #f1f1f1;
}


.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #3498db;
}

.iletisim-btn {
    background-color: #3498db;
    color: white !important;
    padding: 8px 15px;
    border-radius: 5px;
}

.iletisim-btn:hover {
    background-color: #2980b9;
}

/* Ana Ekran (Hero) */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(44, 62, 80, 0.8), rgba(44, 62, 80, 0.8)), url('https://images.unsplash.com/photo-1497366216548-37526070297c?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&q=80') center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding-top: 80px; /* Menü arkada kalmasın diye */
}

.hero-icerik h1 {
    font-size: 50px;
    margin-bottom: 20px;
}

.hero-icerik p {
    font-size: 20px;
    margin-bottom: 30px;
}

.btn {
    text-decoration: none;
    background-color: #3498db;
    color: white;
    padding: 15px 30px;
    font-size: 18px;
    border-radius: 5px;
    transition: 0.3s;
}

.btn:hover {
    background-color: #2980b9;
}

/* Bölüm Başlıkları */
section {
    padding: 80px 50px;
    text-align: center;
}

section h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #2c3e50;
}

/* Hakkımızda */
.about p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.6;
    color: #555;
}

/* Hizmet Kartları */
.kart-kutusu {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap; /* Ekrana sığmazsa alt satıra geçer */
}

.kart {
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    width: 300px;
    transition: 0.3s;
}

.kart:hover {
    transform: translateY(-10px); /* Üzerine gelince yukarı kalkar */
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.kart h3 {
    margin-bottom: 15px;
    color: #2c3e50;
}

/* Alt Bilgi (Footer) */
footer {
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 40px 20px;
}

.footer-icerik h3 {
    margin-bottom: 15px;
}

.footer-icerik p {
    margin-bottom: 10px;
    color: #bdc3c7;
}

.copyright {
    margin-top: 20px;
    font-size: 14px;
    border-top: 1px solid #34495e;
    padding-top: 20px;
}/* --- MOBİL UYUMLULUK VE HAMBURGER MENÜ --- */

/* Hamburger İkonu (Bilgisayarda gizli) */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.hamburger .bar {
    width: 30px;
    height: 3px;
    background-color: #2c3e50;
    transition: all 0.3s ease;
}

/* Telefon Ekranları (Ekran 768px'den küçük olduğunda devreye girer) */
@media (max-width: 768px) {
    .hamburger {
        display: flex; /* Telefonda hamburgeri göster */
    }

    /* Menüyü ekran dışına sakla */
    .nav-links {
        position: absolute;
        top: 70px;
        right: -100%; /* Ekranın sağında, görünmez alanda bekle */
        flex-direction: column;
        background-color: #ffffff;
        width: 100%;
        text-align: center;
        transition: 0.4s ease-in-out;
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
        padding: 20px 0;
    }

    /* JavaScript ile eklenecek 'active' sınıfı menüyü içeri kaydırır */
    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 20px 0;
    }

    /* Hamburger ikonuna tıklanınca ÇARPI (X) işaretine dönüşsün */
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    /* Telefondaki devasa yazıları biraz küçültelim */
    .hero-icerik h1 {
        font-size: 35px;
    }
    .hero-icerik p {
        font-size: 16px;
    }
    section {
        padding: 60px 20px;
    }
}/* --- ŞIK İLETİŞİM FORMU --- */
.contact {
    background-color: #ecf0f1; /* Açık gri arka plan */
}

.iletisim-kapsayici {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 50px;
    max-width: 1000px;
    margin: 40px auto 0;
    text-align: left;
}

.iletisim-bilgileri, .form-alani {
    flex: 1; /* İki taraf da eşit alan kaplasın */
}

.iletisim-bilgileri h3 {
    color: #2c3e50;
    font-size: 24px;
    margin-bottom: 20px;
}

.iletisim-bilgileri p {
    font-size: 16px;
    margin-bottom: 15px;
    color: #555;
}

/* Form Tasarımı */
.form-alani form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-alani input, .form-alani textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    background-color: white;
    transition: 0.3s;
}

/* Kutuya tıklanınca etrafında mavi parlama olsun */
.form-alani input:focus, .form-alani textarea:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 8px rgba(52, 152, 219, 0.4);
}

.form-alani button {
    width: 100%; /* Buton formun genişliğini kaplasın */
}

/* İletişim Formu Mobil Uyumluluk */
@media (max-width: 768px) {
    .iletisim-kapsayici {
        flex-direction: column; /* Telefonda alt alta gelsinler */
        gap: 30px;
    }
}/* --- GECE MODU VE BUTON TASARIMI --- */

.nav-sag {
    display: flex;
    align-items: center;
    gap: 20px;
}

.tema-butonu {
    font-size: 24px;
    cursor: pointer;
    user-select: none; /* Metin gibi seçilmesini engeller */
    transition: transform 0.3s;
}

.tema-butonu:hover {
    transform: scale(1.2); /* Üzerine gelince biraz büyür */
}

/* Koyu Tema Aktif Olduğunda Değişecek Renkler */
body.dark-mode {
    background-color: #121212;
    color: #f1f1f1;
}

body.dark-mode nav {
    background-color: #1e1e1e;
}

body.dark-mode .logo, body.dark-mode .nav-links a {
    color: #f1f1f1;
}

body.dark-mode section h2, body.dark-mode .iletisim-bilgileri h3, body.dark-mode .kart h3 {
    color: #ffffff;
}

body.dark-mode .about p, body.dark-mode .iletisim-bilgileri p {
    color: #cccccc;
}

body.dark-mode .kart {
    background-color: #1e1e1e;
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.02); /* Koyu temada gölgeyi hafifletir */
}

body.dark-mode .contact {
    background-color: #181818;
}

body.dark-mode .form-alani input, body.dark-mode .form-alani textarea {
    background-color: #2a2a2a;
    color: white;
    border-color: #444;
}

body.dark-mode .hamburger .bar {
    background-color: #f1f1f1;
}

/* Mobil menü gece modu */
body.dark-mode .nav-links {
    background-color: #1e1e1e;
}/* --- KAYDIRMA ANİMASYONLARI (SCROLL REVEAL) --- */
.gizli {
    opacity: 0; /* Başlangıçta tamamen görünmez */
    transform: translateY(50px); /* 50 piksel aşağıdan başla */
    transition: all 0.8s ease-out; /* 0.8 saniyede yumuşakça hareket et */
}

/* JavaScript bu sınıfı eklediğinde elementler görünecek */
.goster {
    opacity: 1; 
    transform: translateY(0); /* Kendi orijinal konumuna gel */
}/* --- ANİMASYONLU İSTATİSTİKLER --- */
.stats {
    display: flex;
    justify-content: center;
    gap: 80px;
    background-color: #2c3e50; /* Koyu lacivert şık arka plan */
    color: white;
    padding: 60px 20px;
    flex-wrap: wrap;
}

.stat-kutu {
    text-align: center;
}

.sayi {
    font-size: 55px;
    font-weight: 800;
    color: #3498db; /* Mavi sayılar */
    margin-bottom: 10px;
}

.stat-kutu p {
    font-size: 18px;
    color: #bdc3c7;
}

body.dark-mode .stats {
    background-color: #1a1a1a;
}

/* --- WHATSAPP BUTONU --- */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366; /* Orijinal WhatsApp yeşili */
    color: white;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    transform: scale(1.1); /* Fare üstüne gelince büyür */
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* Telefonlar İçin İstatistikleri Daraltma */
@media (max-width: 768px) {
    .stats {
        gap: 40px;
    }
    .stat-kutu {
        width: 40%;
    }
}