:root { --blue: #38bdf8; --bg: #020617; }
* { margin:0; padding:0; box-sizing: border-box; }
body { background: var(--bg); color: white; font-family: 'Inter', sans-serif; overflow-x: hidden; scroll-behavior: smooth; }

/* Navbar */
.navbar { position: fixed; width: 100%; padding: 20px 5%; display: flex; justify-content: space-between; align-items: center; z-index: 1000; background: rgba(2,6,23,0.9); backdrop-filter: blur(15px); }
.logo { font-weight: 900; font-size: 1.6rem; letter-spacing: -1px; }
.logo span { color: var(--blue); }
.links a { color: white; text-decoration: none; margin-left: 20px; font-weight: 600; font-size: 0.9rem; }

/* Hero */
.hero-banner {
    position: relative;
    width: 100%;
    height: 100vh; /* Ekranın tam boyunu kaplar */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Resmi bozmadan alanı doldurur */
    z-index: 1;
}

.hero-overlay {
    position: relative;
    z-index: 2;
    text-align: center; /* Tüm metni ortalar */
    color: white;
    background: rgba(0, 0, 0, 0.4); /* Resmi hafif karartır (görseldeki gibi) */
    padding: 20px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-overlay h1 {
    font-size: 3.5rem; /* Büyük başlık */
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-overlay p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 800px;
    line-height: 1.6;
}

.hero-btn {
    display: inline-block;
    padding: 15px 30px;
    color: white;
    text-decoration: none;
    border: 3px solid white; /* Beyaz çerçeve */
    border-radius: 50px; /* Yuvarlak köşeler */
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.hero-btn:hover {
    background-color: white;
    color: black;
}
.services-wrapper {
    padding: 50px 5%;
    /* Arka planı sildik, sayfanın kendi rengini kullanacak */
}

.section-title {
    text-align: left;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: white; /* Başlık beyaz oldu */
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    text-decoration: none; 
    display: block; /* Kartın tüm alanını tıklanabilir yapar */
    background: transparent; /* Kartın arkası şeffaf */
}

.service-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 30px; /* Görseldeki o meşhur oval köşeler */
    margin-bottom: 20px;
    display: block;
}

.s-info h3 {
    font-size: 1.5rem;
    color: white; /* Hizmet başlığı beyaz */
    margin-bottom: 10px;
}

.s-info p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8); /* Açıklama metni hafif şeffaf beyaz (daha estetik durur) */
    line-height: 1.5;
}

/* --- MOBİL AYARLAR --- */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    .section-title {
        text-align: center;
    }
}
.details-section {
    padding: 80px 5%;
    color: white;
}

.detail-item {
    display: flex;
    align-items: center;
    margin-bottom: 60px;
    gap: 40px;
}

.detail-item.reverse {
    flex-direction: row-reverse;
}

.detail-text h2 {
    font-size: 2.2rem;
    color: #0ea5e9; /* Mavi tonu */
    margin-bottom: 20px;
}

.detail-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #cbd5e1;
}

.detail-text ul {
    list-style: none;
    padding: 0;
}

.detail-text ul li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.detail-text ul li::before {
    content: "✓";
    color: #0ea5e9;
    margin-right: 10px;
    font-weight: bold;
}

/* Isı Pompası Bilgi Kutusu */
.heat-info-box {
    background: rgba(30, 41, 59, 0.7);
    border-left: 5px dotted #38bdf8;
    padding: 30px;
    margin: 40px auto;
    max-width: 900px;
    border-radius: 15px;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.tags span {
    background: #0369a1;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}
/* ANIMATION AREA (FIXED) */
.animation-container { background: #000; width: 100%; position: relative; }
.animation-trigger { 
    height: 100vh; 
    width: 100%;
    display: flex; 
    align-items: center; 
    justify-content: center; 
    overflow: hidden;
    position: relative;
    will-change: transform;
}
.content-box { width: 100%; max-width: 900px; z-index: 5; text-align: center; }
.scene-3d { position: relative; width: 100%; height: 400px; perspective: 1500px; margin-top: 40px; }
.panel-body { position: relative; width: 80%; height: 100%; margin: 0 auto; border: 5px solid #334155; background: #020617; opacity: 0; transform-style: preserve-3d; }
#solar-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 3px; padding: 10px; height: 100%; }
.cell { background: #0f172a; opacity: 0; border-radius: 1px; }
.rails { position: absolute; width: 100%; height: 8px; background: #1e293b; opacity: 0; }
.r1 { top: 0; } .r2 { bottom: 0; }

/* Calculator */
.calc-section { padding: 100px 5%; }
.calc-card { background: #0f172a; padding: 40px; border-radius: 30px; max-width: 750px; margin: 0 auto; }
.input-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 20px; margin: 30px 0; }
.in-item input { width: 100%; padding: 12px; background: #020617; border: 1px solid #1e293b; color: white; border-radius: 8px; }
.res-box { text-align: center; font-size: 1.5rem; color: var(--blue); font-weight: 800; border-top: 1px solid #1e293b; padding-top: 20px; }

/* Footer */
.footer-section { padding: 80px 5%; border-top: 1px solid #1e293b; }
.footer-content { display: flex; justify-content: space-between; align-items: flex-start; }
.footer-info a { color: var(--blue); text-decoration: none; }
.water-section {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-dark);
    overflow: hidden;
    padding: 20px;
}

.fixed-content { text-align: center; margin-bottom: 30px; z-index: 100; }
#main-title { font-size: clamp(1.4rem, 4vw, 2.2rem); color: white; letter-spacing: 2px; }
#sub-title { color: var(--blue-mid); font-size: 0.9rem; margin-top: 5px; }

.system-container {
    width: 100%;
    max-width: 850px;
    display: flex;
    justify-content: space-around;
    z-index: 10;
}

.vessel-wrapper { display: flex; flex-direction: column; align-items: center; width: 30%; }
.vessel {
    position: relative;
    width: clamp(65px, 14vw, 120px);
    height: clamp(150px, 35vh, 280px);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0 0 50px 50px;
    overflow: hidden;
}

.water-fill { position: absolute; bottom: 0; width: 100%; height: 0%; z-index: 1; border-top: 2px solid rgba(255,255,255,0.6); }
.glass-front { position: absolute; inset: 0; background: linear-gradient(105deg, rgba(255,255,255,0.05) 0%, transparent 60%); z-index: 10; pointer-events: none; }
.cap { width: clamp(75px, 16vw, 140px); height: 20px; background: #1e293b; border-radius: 4px; margin-bottom: -2px; }

.bottom-drain {
    position: relative;
    width: 80vw;
    max-width: 750px;
    height: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    margin-top: 30px;
}

.particle { position: absolute; width: 5px; height: 5px; border-radius: 50%; z-index: 5; }
.drain-drop { position: absolute; top: 50%; transform: translateY(-50%); height: 4px; width: 15px; border-radius: 10px; opacity: 0; }
.label { margin-top: 10px; font-size: 0.75rem; font-weight: 800; color: #64748b; }
/* ISI POMPASI SİMÜLASYONU CSS */
.heat-pump-section {
    position: relative;
    height: 100vh;
    width: 100%;
    background: #020617;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#simulation-trigger {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    touch-action: pan-y !important; 
    pointer-events: auto;
}

#heat-pump-svg {
    width: 90%;
    max-width: 950px;
    height: auto;
    max-height: 80vh;
    overflow: visible;
    pointer-events: none !important;
}
/* Masaüstünde gizle */
.mobile-call-btn {
    display: none;
}
/* Mobil için kesin çözüm */
@media (max-width: 768px) {
    .heat-pump-section, 
    #simulation-trigger,
    .animation-trigger,
    .water-section {
        touch-action: pan-y !important;
        -webkit-overflow-scrolling: touch;
    }
}
/* Sadece Mobil Görünümde Aktif Et */
@media (max-width: 768px) {
    .mobile-call-btn {
        display: flex;
        position: fixed;
        bottom: 20px; /* Alttan boşluk */
        right: 20px;  /* Sağdan boşluk */
        width: 60px;
        height: 60px;
        background-color: #0ea5e9; /* Mavi Su temasına uygun mavi */
        color: white;
        border-radius: 50%;
        justify-content: center;
        align-items: center;
        text-decoration: none;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
        z-index: 9999; /* Her şeyin üstünde görünsün */
        font-size: 24px;
        animation: pulse 2s infinite; /* Dikkat çekmesi için hafif bir animasyon */
    }

    /* Hafifçe büyüyüp küçülme efekti */
    @keyframes pulse {
        0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(14, 165, 233, 0.7); }
        70% { transform: scale(1.1); box-shadow: 0 0 0 10px rgba(14, 165, 233, 0); }
        100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(14, 165, 233, 0); }
    }
}
/* Simülasyon Elemanları */
.sim-label { font-size: 11px; fill: #64748b; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; }
.temp-display { font-family: 'Inter', sans-serif; font-size: 55px; font-weight: 900; text-anchor: middle; }
.radiator-unit { fill: #1e293b; stroke: #334155; }
.radiator-glow { fill: #f43f5e; filter: blur(12px); opacity: 0; }

/* Mobilde Ölçekleme */
@media (max-width: 768px) {
    .temp-display { font-size: 40px; }
    .sim-label { font-size: 9px; }
}
/* --- REFERANSLAR BÖLÜMÜ KOMPLE GÜNCEL --- */
.references-section {
    padding: 60px 0;
    overflow: hidden;
}

/* Başlığı Ortala ve Boşluğu Azalt */
.references-section .section-title {
    text-align: center;
    margin: 0 auto 15px auto; /* Üst 0, Yanlar otomatik, Alt 15px */
    display: block;
    width: 100%;
    color: white;
}

.references-slider {
    padding: 10px 0 50px 0 !important; /* Üst boşluğu 10px'e düşürdük */
}

.ref-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 400px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
}

.ref-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.ref-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 30%, rgba(0,0,0,0.5) 70%, transparent 100%);
    color: white;
    z-index: 2;
    transition: all 0.4s ease;
}

/* Masaüstü Hover Efektleri */
@media (min-width: 1025px) {
    .ref-overlay {
        transform: translateY(15px);
        opacity: 0.9;
    }
    .ref-card:hover .ref-overlay {
        transform: translateY(0);
        opacity: 1;
    }
    .ref-card:hover img {
        transform: scale(1.08);
    }
}

.ref-overlay h3 {
    font-size: 1.25rem;
    margin-bottom: 6px;
    color: #38bdf8;
    font-weight: 700;
    line-height: 1.3;
}

.ref-overlay p {
    font-size: 0.9rem;
    line-height: 1.4;
    opacity: 0.9;
    margin: 0;
}

/* Swiper Navigasyon Renkleri */
.swiper-button-next, .swiper-button-prev {
    color: #38bdf8 !important;
}
.swiper-pagination-bullet-active {
    background: #38bdf8 !important;
}

/* --- MOBİL UYUMLULUK (TAM DÜZELTME) --- */
@media (max-width: 768px) {
    .references-section {
        padding: 40px 0;
    }

    .references-section .section-title {
        margin-bottom: 10px; /* Mobilde daha da yakın */
        font-size: 1.8rem;
    }

    .ref-card {
        height: 320px; /* Mobilde dikey alanı optimize ettik */
    }

    .ref-overlay {
        /* Yazıları sabitle ve tam görünür yap */
        transform: translateY(0) !important;
        opacity: 1 !important;
        padding: 20px 15px;
        background: rgba(0, 0, 0, 0.7); /* Mobilde daha net okunurluk */
        background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.4) 100%);
    }

    .ref-overlay h3 {
        font-size: 1.1rem;
    }

    .ref-overlay p {
        font-size: 0.85rem;
    }

    /* Mobilde okları gizle (Swipe özelliği yeterli) */
    .swiper-button-next, .swiper-button-prev {
        display: none !important;
    }
}
/* Bayilikler Bölümü */
.partners-section {
    padding: 40px 0;
    text-align: center;
}

.partners-title {
    font-size: 1.1rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
    font-weight: 700;
}

.partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
    opacity: 0.8;
}

.partner-logo {
    filter: grayscale(100%); /* Logoları siyah-beyaz yapar, daha profesyonel durur */
    transition: all 0.3s ease;
    max-width: 150px;
}

.partner-logo img {
    width: 100%;
    height: auto;
    max-height: 60px; /* Logoların devasa görünmemesi için */
    object-fit: contain;
}

.partner-logo:hover {
    filter: grayscale(0%); /* Üstüne gelince renklenir */
    transform: scale(1.05);
    opacity: 1;
}

.footer-divider {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin: 20px 0 40px 0;
}

/* Mobil Ayarlar */
@media (max-width: 768px) {
    .partners-grid {
        gap: 20px;
    }
    .partner-logo {
        max-width: 100px; /* Mobilde logoları biraz daha küçültelim */
        filter: grayscale(0%); /* Mobilde direkt renkli görünebilirler */
    }
}