/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,600;0,800;1,500&display=swap');

/* Genel Ayarlar ve Yeni Font */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    background-color: #f9fbfd;
    color: #334e6f;
    overflow-x: hidden;
}

/* Üst Kısım (Header) */
header {
    background-color: #ffffff;
    padding: 15px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    overflow: hidden; /* Kar tanelerinin aşağıya taşmasını engeller */
}

/* --- KAR VE RÜZGAR EFEKTİ (GELİŞTİRİLMİŞ SON HALİ) --- */
.kar-kapsayici {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Menü butonlarına tıklamayı engellemez */
    z-index: -1; 
}

.kar {
    position: absolute;
    top: -40px;
    color: #4a9bff; /* Beyaz zeminde net görünen canlı bir buz/gök mavisi */
    user-select: none;
    animation: karYagisi linear infinite, ruzgar ease-in-out infinite alternate;
}

/* 12 Farklı kar tanesi için yerleşim, hız, görünürlük (opacity) ve büyük boyutlar */
.kar:nth-child(1) { left: 5%; animation-duration: 5s, 3s; animation-delay: 0s, 0s; font-size: 26px; opacity: 0.8; }
.kar:nth-child(2) { left: 14%; animation-duration: 7s, 4s; animation-delay: 1s, 1s; font-size: 20px; opacity: 0.6; }
.kar:nth-child(3) { left: 23%; animation-duration: 4s, 2s; animation-delay: 2s, 0.5s; font-size: 32px; opacity: 0.7; }
.kar:nth-child(4) { left: 32%; animation-duration: 6s, 3.5s; animation-delay: 0.5s, 1s; font-size: 24px; opacity: 0.8; }
.kar:nth-child(5) { left: 41%; animation-duration: 8s, 4s; animation-delay: 3s, 2s; font-size: 22px; opacity: 0.6; }
.kar:nth-child(6) { left: 50%; animation-duration: 5.5s, 3s; animation-delay: 1.5s, 0.5s; font-size: 34px; opacity: 0.8; }
.kar:nth-child(7) { left: 60%; animation-duration: 6.5s, 3s; animation-delay: 0s, 1.5s; font-size: 25px; opacity: 0.7; }
.kar:nth-child(8) { left: 69%; animation-duration: 4.5s, 2.5s; animation-delay: 1.2s, 0s; font-size: 30px; opacity: 0.9; }
.kar:nth-child(9) { left: 78%; animation-duration: 7.5s, 4s; animation-delay: 2.5s, 1.2s; font-size: 22px; opacity: 0.6; }
.kar:nth-child(10) { left: 86%; animation-duration: 5s, 3.2s; animation-delay: 0.8s, 0.8s; font-size: 28px; opacity: 0.7; }
.kar:nth-child(11) { left: 95%; animation-duration: 6.2s, 3.8s; animation-delay: 1.8s, 2s; font-size: 27px; opacity: 0.6; }
.kar:nth-child(12) { left: 18%; animation-duration: 5.8s, 2.8s; animation-delay: 2.2s, 0.3s; font-size: 31px; opacity: 0.7; }

/* Aşağı Doğru Süzülme Animasyonu */
@keyframes karYagisi {
    0% { top: -40px; opacity: 0; }
    10% { opacity: 1; }
    85% { opacity: 1; }
    100% { top: 130px; opacity: 0; }
}

/* Rüzgarda Sağa Sola Savrulma Animasyonu */
@keyframes ruzgar {
    0% { transform: translateX(0px) rotate(0deg); }
    100% { transform: translateX(40px) rotate(60deg); }
}


/* --- LOGO GÖRÜNÜMÜ --- */
.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 100px; /* Logonun büyüklüğünü buradan artırıp azaltabilirsin */
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05); /* Fareyle üzerine gelince çok hafif büyüme efekti */
}


nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

/* --- ÇERÇEVELİ VE MODERN MENÜ LİNKLERİ --- */
nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 15px; /* Butonlar arası mesafeyi biraz kıstık ki daha derli toplu dursun */
}

nav a {
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    padding: 10px 22px;
    transition: all 0.3s ease;
    border-radius: 50px; /* Hepsine şık bir hap (pill) görünümü verdik */
    display: inline-block;
}

/* 1. Ana Sayfa ve Hizmetlerimiz (Çerçeveli Butonlar) */
nav ul li:not(:last-child) a {
    color: #334e6f;
    background-color: transparent;
    border: 2px solid #d1deea; /* Görünür, zarif bir gri/mavi çerçeve çizgisi */
}

nav ul li:not(:last-child) a:hover {
    border-color: #0d6efd; /* Fareyle üzerine gelince çerçeve canlanıp mavi olur */
    color: #0d6efd;
    background-color: #f0f7ff; /* İçerisine çok hafif ve tatlı bir mavi dolar */
}

/* 2. İletişim Butonu (İçi Dolu Ana Buton) */
nav ul li:last-child a {
    background-color: #0d6efd;
    color: #ffffff;
    border: 2px solid #0d6efd; /* Çizgi kayması olmaması için buna da çerçeve ekledik */
    box-shadow: 0 4px 10px rgba(13, 110, 253, 0.2);
}

nav ul li:last-child a:hover {
    background-color: #004d99;
    border-color: #004d99;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(13, 110, 253, 0.4);
}


/* Kahraman Alanı (Hero Section) */
.hero-alani {
    background: linear-gradient(135deg, #0d6efd 0%, #004d99 100%);
    color: white;
    text-align: center;
    padding: 180px 20px 120px;
    clip-path: ellipse(150% 100% at 50% 0%);
}

.hero-alani h1 {
    font-size: 50px;
    font-weight: 800;
    margin-bottom: 20px;
}

.hero-alani p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.aksiyon-butonu {
    display: inline-block;
    padding: 15px 40px;
    background-color: #ffc107;
    color: #212529;
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.4);
    transition: all 0.3s ease;
}

.aksiyon-butonu:hover {
    background-color: #e0a800;
    transform: translateY(-3px);
}

/* --- HERO BÖLÜMÜ BUTONLARI YAN YANA DİZME --- */
.hero-butonlar {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

/* YENİ KONUM BUTONUNUN TASARIMI (İçi boş, kenarlıklı, zarif) */
.ikincil-buton {
    display: inline-block;
    padding: 12px 30px;
    background-color: transparent;
    color: #ffffff; /* Eğer arka planın beyazsa, bu rengi #0d6efd (mavi) yapmalısın */
    border: 2px solid #ffffff; /* Eğer arka planın beyazsa, bunu da #0d6efd yapmalısın */
    border-radius: 30px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* İkincil Butonun Üzerine Gelince (Hover) */
.ikincil-buton:hover {
    background-color: #ffffff;
    color: #0d6efd; /* Sitenin ana mavisi */
    transform: translateY(-3px);
}

/* Bölüm Başlıkları ve Açıklamaları */
section {
    padding: 80px 20px;
    text-align: center;
}

section h2 {
    font-size: 36px;
    font-weight: 800;
    color: #004d99;
    margin-bottom: 20px;
}

/* --- BÖLÜM AÇIKLAMALARI (Saydam Mavi Çerçeveli Yüksek Kontrastlı Kutu) --- */
.bolum-aciklamasi {
    background-color: rgba(13, 110, 253, 0.08); /* Kutu içi çok hafif, cam gibi saydam bir mavi */
    border: 2px solid rgba(13, 110, 253, 0.5); /* Çerçevesi her yönden belirgin, saydam mavi */
    padding: 18px 30px;
    margin: 20px auto 45px auto;
    max-width: 750px;
    border-radius: 12px; /* Köşeleri modern ve eşit şekilde yuvarlatıldı */
    font-size: 17px; /* Yazı boyutu bir tık büyütüldü */
    font-weight: 600; /* Yazı tipi kalınlaştırılarak okunabilirlik maksimuma çıkarıldı */
    color: #084298; /* Siyah yerine, mavi çerçeveye uyan çok tok ve koyu bir lacivert renk kullanıldı */
    line-height: 1.6;
    text-align: center;
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.12); /* Kutu etrafına tatlı bir mavi parlama eklendi */
}

/* --- HAMBURGER MENÜ GENEL AYARLARI --- */
.menu-kontrol { 
    display: none; /* Çekmece kutusunu hep gizli tutarız */
}

.hamburger { 
    display: none; /* Bilgisayarda menü ikonu görünmez */
    font-size: 32px; 
    cursor: pointer; 
    color: #0d6efd; 
    user-select: none;
}


/* Kart Kapsayıcı (Ortak) */
.klima-kapsayici, .hizmet-kapsayici {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- KLİMA TÜRLERİ KARTLARI --- */
.klima-turleri-kapsayici {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap; 
    margin-top: 40px;
}

.klima-karti {
    background-color: #ffffff;
    width: 30%;
    min-width: 300px;
    border: 4px solid #4a9bff; /* Çerçeveyi kalınlaştırdık ve rengini canlı, dikkat çekici bir mavi yaptık */
    border-radius: 15px; 
    overflow: hidden; 
    transition: all 0.3s ease; 
    text-align: center;
    padding-bottom: 20px;
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.1); /* Normal halinde bile hafif bir mavi gölge ile öne çıkardık */
}

/* Fareyle Üzerine Gelince (Hover) Daha Da Vurgulanması */
.klima-karti:hover {
    border-color: #0d6efd; /* Üzerine gelince sitemizin en koyu ana mavisine dönüşür */
    box-shadow: 0 10px 30px rgba(13, 110, 253, 0.25); /* Gölge genişler ve kartı iyice parlatır */
    transform: translateY(-5px); 
}

/* Kart İçindeki Resimlerin Ayarı */
.klima-karti img {
    width: 100%;
    height: 220px;
    object-fit: cover; 
    border-bottom: 3px solid #4a9bff; /* Resmin altındaki çizgiyi de dış çerçeveyle aynı renk yaptık */
}

/* Kart İçindeki Yazıların Ayarı */
.klima-karti h3 {
    color: #334e6f;
    margin: 20px 0 10px 0;
    font-size: 22px;
}

.klima-karti p {
    color: #555;
    font-size: 15px;
    line-height: 1.6;
    padding: 0 20px;
}

/* --- NELER YAPIYORUZ (HİZMETLER) KARTLARI --- */
.hizmetler-kapsayici {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap; 
    margin-top: 40px;
}

.hizmet-karti {
    background-color: #ffffff;
    width: 30%;
    min-width: 300px;
    border: 4px solid #4a9bff; /* Dikkat çekici, kalın canlı mavi çerçeve */
    border-radius: 15px; 
    overflow: hidden; 
    transition: all 0.3s ease; 
    text-align: center;
    padding-bottom: 20px;
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.1); /* Normal durumda da öne çıkaran hafif gölge */
}

/* Fareyle Üzerine Gelince (Hover) Vurgulanması */
.hizmet-karti:hover {
    border-color: #0d6efd; /* Daha koyu ana maviye dönüşür */
    box-shadow: 0 10px 30px rgba(13, 110, 253, 0.25); /* Gölge genişler ve parlar */
    transform: translateY(-5px); /* Kart hafifçe yukarı kalkar */
}

/* Kart İçindeki Resimlerin Ayarı */
.hizmet-karti img {
    width: 100%;
    height: 220px;
    object-fit: cover; 
    border-bottom: 3px solid #4a9bff; /* Resim ile yazıyı ayıran kalın mavi çizgi */
}

/* Kart İçindeki Yazıların Ayarı */
.hizmet-karti h3 {
    color: #334e6f;
    margin: 20px 0 10px 0;
    font-size: 22px;
}

.hizmet-karti p {
    color: #555;
    font-size: 15px;
    line-height: 1.6;
    padding: 0 20px;
}

/* Çalıştığımız Markalar */
#markalar {
    background-color: #ffffff;
    padding: 80px 20px;
    text-align: center;
}

.marka-kapsayici {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

/* --- MARKA LOGOLARI (Canlı Renk ve Büyük Boyut) --- */
.marka-logo {
    width: 160px; /* Logoları çok daha görünür ve doyurucu bir boyuta çıkardık */
    height: auto;
    margin: 15px 25px;
    transition: transform 0.3s ease; /* Sadece hafif büyüme animasyonu için yumuşaklık bıraktık */
}

/* Fareyle üzerine gelince renk değişmez, sadece tatlı bir şekilde öne doğru büyür */
.marka-logo:hover {
    transform: scale(1.1);
}


/* Hizmet Bölgeleri (Lokal SEO) */
#hizmet-bolgeleri {
    background-color: #ffffff;
    padding: 80px 20px;
    text-align: center;
}

.bolge-etiketleri {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    max-width: 900px;
    margin: 0 auto;
}

.bolge-etiket {
    background-color: #f0f7ff;
    color: #0d6efd;
    font-size: 16px;
    font-weight: 600;
    padding: 12px 25px;
    border-radius: 50px;
    border: 1px solid #cce5ff;
    transition: all 0.3s ease;
    cursor: default;
}

.bolge-etiket:hover {
    background-color: #0d6efd;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.2);
}

/* Alt Kısım (Footer & Harita) */
footer {
    background-color: #002b5c;
    color: #ecf0f1;
    padding: 80px 50px 30px 50px;
    clip-path: ellipse(150% 100% at 50% 100%);
}

.footer-kapsayici {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto 40px auto;
    flex-wrap: wrap;
}

.footer-bilgi {
    flex: 1;
    min-width: 300px;
    text-align: left;
}

.footer-bilgi h3 {
    font-size: 32px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 10px;
}

.footer-motto {
    font-size: 16px;
    color: #ffc107;
    font-weight: 600;
    margin-bottom: 25px;
}

.iletisim-detay p {
    font-size: 16px;
    margin-bottom: 12px;
    opacity: 0.9;
    line-height: 1.6;
}

.footer-harita {
    flex: 1;
    min-width: 300px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border-radius: 15px;
    overflow: hidden;
}

.hazirlayan {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    font-size: 14px;
    opacity: 0.6;
}

/* Sabit WhatsApp Butonu */
.whatsapp-butonu {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-butonu:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-butonu img {
    width: 35px;
    height: 35px;
    object-fit: contain;
}

/* --- PARALLAX BÖLÜMÜ (GENEL AYARLAR) --- */
.parallax-bolumu {
    background-image: url('assets/parallax.jpg'); /* Görsel adını tam senin klasöründeki gibi ayarladık */
    min-height: 400px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
}

/* =========================================
   MOBİL UYUMLULUK (RESPONSIVE) KODLARI - TAM PAKET
   ========================================= */

@media (max-width: 768px) {
    
   /* --- 1. YENİ MOBİL HEADER VE MENÜ DÜZENİ (Logo Solda, Butonlar Sağda) --- */
    header {
        display: flex;
        flex-direction: row; /* Logo ve menüyü yan yana dizer */
        justify-content: space-between; /* Logoyu en sola, menüyü en sağa yaslar */
        align-items: center;
        padding: 12px 15px;
        background-color: #ffffff;
    }

    header .logo {
        flex: 0 0 auto; /* Logonun ezilmesini engeller */
    }

    header .logo img {
        max-height: 55px; /* Logoyu mobilde olabildiğince büyük ve okunaklı tuttuk */
        width: auto;
    }

    header nav {
        flex: 1 1 auto; /* Menüye kalan tüm alanı kullanma izni verir */
        display: flex;
        justify-content: flex-end; /* Butonları sağa doğru iter */
    }

    header nav ul {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap; /* Çok dar telefonlarda butonların dışarı taşmasını önler */
        justify-content: flex-end;
        gap: 4px; /* Butonlar arası mesafeyi iyice kıstık ki sığsınlar */
        padding: 0;
        margin: 0;
        list-style: none;
    }

    header nav ul li a {
        font-size: 11px; /* Buton yazıları sağ tarafa sığabilmeleri için iyice küçültüldü */
        padding: 5px 8px; /* Butonların içindeki boşlukları daralttık */
        display: inline-block;
        white-space: nowrap; /* "Ana Sayfa" gibi kelimelerin kendi içinde alt alta kırılmasını engeller */
    }

    /* --- 2. ANA EKRAN (HERO) VE BUTONLAR --- */
    .hero-alani {
        padding-top: 140px; /* Yazıyı beyaz header'ın altından tamamen kurtarıp rahatlatır */
        margin-top: -10px; /* Mavi alanın beyazla tam birleşmesini sağlar */
    }


    .hero-alani h1 {
        font-size: 26px;
    }
    
    .hero-alani p {
        font-size: 15px;
    }

    .hero-butonlar {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        width: 100%;
    }
    
    .aksiyon-butonu, .ikincil-buton {
        width: 90%;
        text-align: center;
        box-sizing: border-box;
    }

    /* --- 3. ESKİ AYARLARIMIZ: KARTLARIN TELEFONDA ALT ALTA DİZİLMESİ --- */
    .klima-karti, .hizmet-karti {
        width: 100%; 
        min-width: 100%; 
        margin-bottom: 15px; 
    }

    .klima-karti img, .hizmet-karti img {
        height: 180px; 
    }

    .klima-karti h3, .hizmet-karti h3 {
        font-size: 20px; 
        margin: 15px 0 10px 0;
    }

    .klima-karti p, .hizmet-karti p {
        font-size: 14px; 
        padding: 0 15px; 
        line-height: 1.5;
    }

    /* --- 4. ESKİ AYARLARIMIZ: BÖLÜM AÇIKLAMALARI --- */
    .bolum-aciklamasi {
        font-size: 15px;
        padding: 15px;
        margin: 15px 20px 35px 20px;
    }

    /* --- 5. ESKİ AYARLARIMIZ: PARALLAX DERİNLİK EFEKTİ (iPhone Kesin Çözüm) --- */
    .parallax-bolumu {
        height: 220px; 
        margin-top: 40px;
        margin-bottom: 40px;
        background-attachment: scroll !important; /* iPhone'un resmi devasa büyütmesini zorla engeller */
        background-position: center center !important;
        background-size: cover !important; /* Resmi kutuya kusursuz sığdırır */
    }
    

    /* --- 6. ESKİ AYARLARIMIZ: MARKA LOGOLARININ SÜNMESİNİ ÖNLEME --- */
    .marka-kapsayici {
        flex-wrap: wrap; 
        justify-content: center;
        gap: 10px; 
    }

    .marka-logo {
        width: 110px; 
        height: auto !important; 
        object-fit: contain; 
        margin: 10px;
    }
}
