/* GENEL */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* Mobilde sağa-sola kaymayı engelle */
html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    /* iOS/Safari'de yatay kaydırmayı daha agresif engeller */
    overflow-x: clip;
    overscroll-behavior-x: none;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background-color: #f5fbff;
    
    
    
    
    margin: 0;
    color: #0f172a;
    padding-bottom: 3rem;
    /* Mobilde sağa-sola “lastik” kaymayı azalt */
    touch-action: pan-y;
}

/* Kar taneleri / dekor katmanları taşma yaratmasın */
.snowfall-container,
.snow-layer{
  width: 100vw;
  left: 0;
  right: 0;
  overflow: hidden;
  pointer-events: none;
}



/* HEADER & NAVBAR */
header {
    background: linear-gradient(90deg, #0063A9, #00A3E0);
    border-bottom: 2px solid #00A3E0;
}


.nav {
    max-width: 1100px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 0.7rem 1rem;

    position: relative;
}

/* MARKA / LOGO */
.brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}
.brand:focus-visible{
    outline: 2px solid rgba(255,255,255,0.55);
    outline-offset: 4px;
    border-radius: 12px;
}
/* BRAND LINK FIX (no underline anywhere) */
.brand, .brand:visited, .brand:hover, .brand:active,
.brand * {
    text-decoration: none !important;
}


.logo-img {
    height: 46px;
    width: auto;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-text span:first-child {
    font-size: 0.8rem;
    color: #c2e5ff;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.brand-text span:last-child {
    font-size: 1.05rem;
    font-weight: 700;
    color: #e0f2fe;
}

/* MENÜ (HAMBURGER İLE AÇILAN) */
/* Menü açılınca arka plan blur (overlay) */
.menu-overlay{
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.25);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease;
    z-index: 500;
}
.menu-overlay.show{
    opacity: 1;
    pointer-events: auto;
}
body.menu-open{
    overflow: hidden;
}


.nav-links {
    display: none; /* tüm ekranlarda hamburger ile açılır */
    position: absolute;
    top: 70px;
    right: 1rem;
    min-width: 280px;
    max-width: 92vw;
    background: #0063A9;
    padding: 1rem;
    flex-direction: column;
    gap: 0.75rem;
    border-radius: 12px;
    box-shadow: -5px 5px 20px rgba(0,0,0,0.25);
    z-index: 999;
}

/* Menü açıkken (tüm ekranlarda) */
.nav-links.show{
    display:flex !important;
}

/* Menü sadece tıklama ile açılır; hover ile otomatik açma kapalı */
.nav-links.show {
    display: flex !important;
}

.nav-links a {
    color: #e5f5ff;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    padding: 0.4rem 0;
    border-bottom: 2px solid transparent;
}

.nav-links a:hover {
    border-bottom: 2px solid #e5f5ff;
}

/* SAYFA İÇERİK KUTUSU */
.page {
    width: min(1100px, calc(100% - 1.5rem));
    max-width: 1100px;
    margin: 2rem auto;
    background: #ffffff;
    padding: 2rem;
    border-radius: 0.7rem;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
    position: relative;
    overflow-x: clip;
}

.page h1 {
    color: #0063A9;
    margin-bottom: 1rem;
    font-size: 1.6rem;
    border-left: 4px solid #00A3E0;
    padding-left: 0.7rem;
}

p {
    margin-bottom: 0.8rem;
    line-height: 1.6;
    color: #4b5563;
}

/* FORM ELEMANLARI */
input, textarea {
    width: 100%;
    padding: 0.6rem;
    border: 1px solid #cbd5e1;
    border-radius: 0.4rem;
    margin-top: 0.3rem;
    font-size: 0.9rem;
}

input:focus, textarea:focus {
    outline: none;
    border-color: #00A3E0;
    box-shadow: 0 0 0 1px rgba(14, 165, 233, 0.4);
}

button {
    margin-top: 0.8rem;
    background: #0063A9;
    color: #fff;
    padding: 0.6rem 1.3rem;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
}

button:hover {
    background: #00518C;
}

/* KONUM HARİTASI KUTUSU */
.map {
    width: 100%;
    height: 250px;
    border: 1px dashed #94a3b8;
    border-radius: 0.5rem;
    background: #e0f2fe;
}

/* ---------------------- MOBİL HAMBURGER MENÜ ---------------------- */

.hamburger {
    display: flex; /* her ekranda göster */
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: transparent;
    border: 0;
    padding: 8px;
}

.hamburger span {
    width: 26px;
    height: 3px;
    background: #e5f5ff;
    border-radius: 2px;
    display: block;
}

/* Mobil görünüm */
@media (max-width: 850px) {
    .hamburger { display: flex; }

    .nav-links {
        display: none;
        position: absolute;
        top: 65px;
        right: 4vw;
        width: 92vw;
        background: #0063A9;
        padding: 1rem;
        flex-direction: column;
        gap: 0.75rem;
        border-radius: 12px;
        box-shadow: -5px 5px 20px rgba(0,0,0,0.25);
        z-index: 999;
    }

    .nav-links a {
        font-size: 1rem;
        padding: 0.4rem 0;
    }

    .nav-links.show {
        display: flex !important;
    }
}

/* STRATEJİK KONUM KUTULARI */
.strategic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.strategic-card {
    background: #f9fafb;
    border: 1px solid #e2e8f0;
    border-radius: 0.6rem;
    padding: 0.9rem;
    font-size: 0.9rem;
    color: #0f172a;
}

.strategic-card span.label {
    display: block;
    font-weight: 600;
    color: #0063A9;
    margin-bottom: 0.25rem;
}

/* ALTA SABİT İLETİŞİM ÇUBUĞU */
.floating-contact {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #0063A9;
    color: #e5f5ff;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    text-align: center;
    box-shadow: 0 -4px 12px rgba(15, 23, 42, 0.4);
    z-index: 200;
}

/* Küçük ekranlarda taşmayı engelle */
@media (max-width: 600px){
  .floating-contact{
    gap: 0.6rem;
    padding: 0.55rem 0.75rem;
    font-size: 0.82rem;
  }
  .floating-contact span{white-space: normal;}
  .floating-contact a{word-break: break-word;}
}

.floating-contact a {
    color: #e5f5ff;
    text-decoration: none;
    font-weight: 500;
}

/* DİL BUTONU */
.lang-switch {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-left: 1rem;
    padding-left: 1rem;
    border-left: 1px solid rgba(229, 245, 255, 0.4);
}

.lang-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    padding: 0.15rem 0.45rem;
    border-radius: 999px;
    font-size: 0.8rem;
    cursor: pointer;
    text-decoration: none;
    border: 1px solid transparent;
}

.lang-pill.active {
    background: #e5f5ff;
    color: #0063A9;
    font-weight: 600;
    border-color: rgba(0, 99, 169, 0.3);
}

.lang-pill.inactive {
    color: #e5f5ff;
    border-color: rgba(229, 245, 255, 0.4);
}

.lang-pill.inactive:hover {
    background: rgba(229, 245, 255, 0.12);
}


/* HERO & SLIDER */
.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 1.8rem;
    align-items: center;
    margin-bottom: 1.5rem;
}

.hero-main p {
    margin-top: 0.6rem;
}

.slider {
    background: linear-gradient(145deg, #0063A9, #00A3E0);
    border-radius: 0.9rem;
    padding: 1.1rem 1.2rem;
    color: #e5f5ff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    min-height: 140px;
    display: flex;
    align-items: center;
}

.slide {
    display: none;
    animation: fadeSlide 0.5s ease;
}

.slide.active {
    display: block;
}

.slide-title {
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.slide-text {
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Accordion */
.accordion {
    margin-top: 1.2rem;
    border-radius: 0.7rem;
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

.accordion-item + .accordion-item {
    border-top: 1px solid #e2e8f0;
}

.accordion-header {
    padding: 0.7rem 0.9rem;
    background: #f8fafc;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
    color: #0f172a;
}

.accordion-header span {
    font-weight: 600;
}

.accordion-icon {
    font-size: 1.1rem;
    color: #0063A9;
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
    background: #ffffff;
    padding: 0 0.9rem;
}

.accordion-body-inner {
    padding: 0.6rem 0 0.8rem 0;
}

.accordion-item.open .accordion-body {
    max-height: 500px; /* enough for content */
}

.accordion-item.open .accordion-icon {
    transform: rotate(90deg);
}

/* Info section at bottom of homepage */
.cooling-info {
    margin-top: 1.8rem;
}

.cooling-grid {
    margin-top: 0.8rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 0.9rem;
}

.cooling-card {
    border-radius: 0.7rem;
    border: 1px solid #e2e8f0;
    background: #f9fafb;
    padding: 0.8rem 0.9rem;
    font-size: 0.9rem;
}

.cooling-card strong {
    display: block;
    margin-bottom: 0.25rem;
    color: #0063A9;
}

/* Mobile optimizations */
@media (max-width: 800px) {
    .hero {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 600px) {
    .page {
        margin: 1.2rem auto;
        padding: 1.2rem 1rem;
    }
    .page h1 {
        font-size: 1.3rem;
    }
    .hero {
        gap: 1rem;
    }
    .slider {
        padding: 0.9rem 1rem;
        min-height: 120px;
    }
    .floating-contact {
        flex-direction: column;
        gap: 0.2rem;
        font-size: 0.8rem;
        padding: 0.45rem 0.6rem;
    }
}

/* Slide animation */
@keyframes fadeSlide {
    from {opacity: 0; transform: translateY(4px);}
    to {opacity: 1; transform: translateY(0);}
}


/* Üst bilgilendirici bölüm */
.cooling-top {
    background: rgba(255, 255, 255, 0.92);
    border-radius: 1rem;
    padding: 1.2rem 1.4rem;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    margin-bottom: 1.6rem;
    border: 1px solid rgba(148, 163, 184, 0.25);
}

.cooling-top h1 {
    margin-bottom: 0.6rem;
}

.cooling-top p {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Soğutma Nedir? kutucuğu içindeki video */
.cooling-video-card{
    margin: 0.75rem 0 1rem 0;
}
.cooling-video-card .home-video-wrap{
    height: auto !important;            /* anasayfadaki 60vh zorlamasını burada kullanma */
    min-height: unset !important;
    max-height: none !important;
    aspect-ratio: 16 / 9;
}
@media (max-width: 600px){
    .cooling-video-card .home-video-wrap{
        aspect-ratio: 16 / 10;
        border-radius: 12px;
    }
}

.cooling-hero-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0.9rem;
    margin-bottom: 0.9rem;
    border: 1px solid rgba(148, 163, 184, 0.35);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.cooling-grid {
    margin-top: 0.6rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 0.9rem;
}

.cooling-card {
    border-radius: 0.7rem;
    border: 1px solid #e2e8f0;
    background: #f9fafb;
    padding: 0.8rem 0.9rem;
    font-size: 0.9rem;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.cooling-card strong {
    display: block;
    margin-bottom: 0.25rem;
    color: #0063A9;
}

/* Hero + slider */
.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 1.8rem;
    align-items: stretch;
    margin-top: 1.2rem;
}

.hero-main {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 1rem;
    padding: 1.2rem 1.4rem;
    border: 1px solid rgba(148, 163, 184, 0.25);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.hero-main p {
    margin-top: 0.4rem;
    line-height: 1.6;
}

.slider {
    background: linear-gradient(145deg, #0063A9, #00A3E0);
    border-radius: 1rem;
    padding: 1.1rem 1.3rem;
    color: #e5f5ff;
    box-shadow: 0 18px 35px rgba(15, 23, 42, 0.25);
    min-height: 150px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.slide {
    display: none;
    animation: fadeSlide 0.45s ease;
}

.slide.active {
    display: block;
}

.slide-title {
    font-weight: 600;
    margin-bottom: 0.35rem;
    font-size: 1.02rem;
}

.slide-text {
    font-size: 0.9rem;
    line-height: 1.55;
}

/* hover efektleri */
.cooling-card:hover,
.strategic-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(15, 23, 42, 0.12);
    border-color: rgba(59, 130, 246, 0.4);
}

.nav-links a:hover {
    opacity: 0.9;
    text-decoration: underline;
}

/* slider küçük bullet'lar (istersen) */
.slider-dots {
    position: absolute;
    bottom: 0.7rem;
    right: 1rem;
    display: flex;
    gap: 0.25rem;
}

.slider-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: rgba(226, 232, 240, 0.6);
    transition: background 0.15s ease, transform 0.15s ease;
}

.slider-dot.active {
    background: #ffffff;
    transform: scale(1.15);
}

/* Mobile optimizasyonları */
@media (max-width: 900px) {
    .hero {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.2rem;
    }
}

@media (max-width: 640px) {
    .page {
        margin: 1.1rem auto;
        padding: 1.1rem 0.9rem;
    }

    .cooling-top {
        padding: 1rem 0.9rem;
        margin-bottom: 1.4rem;
    }

    .hero-main {
        padding: 1rem 0.9rem;
    }

    .slider {
        min-height: 130px;
        padding: 0.9rem 1rem;
    }

    .floating-contact {
        flex-direction: column;
        gap: 0.15rem;
        font-size: 0.8rem;
        padding: 0.45rem 0.5rem;
        text-align: center;
    }
}

/* slide animasyonu */
@keyframes fadeSlide {
    from {opacity: 0; transform: translateY(4px);}
    to {opacity: 1; transform: translateY(0);}
}


/* Dil seçimi */
.lang-switch {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-left: 1.5rem;
}

.lang-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    padding: 0.1rem 0.5rem;
    border-radius: 999px;
    font-size: 0.78rem;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.7);
    color: #f9fafb;
    text-decoration: none;
    background: transparent;
    transition: background 0.15s ease, color 0.15s ease, transform 0.1s ease;
}

.lang-pill.active {
    background: #ffffff;
    color: #0063A9;
    font-weight: 600;
}

.lang-pill.inactive:hover {
    background: rgba(255, 255, 255, 0.16);
    transform: translateY(-1px);
}

/* Rastgele yerleştirilmiş kar taneleri */
.snow-layer {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.snowflake-item {
    position: absolute;
    background-image: url('snowflake.png');
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0.18;
    filter: drop-shadow(0 0 8px rgba(15, 23, 42, 0.35));
}

.snowflake-sm { width: 80px; height: 80px; }
.snowflake-md { width: 130px; height: 130px; }
.snowflake-lg { width: 190px; height: 190px; }

/* Ana sayfa ek bölümler */
.home-section {
    margin-top: 2rem;
    background: rgba(255,255,255,0.92);
    border-radius: 1rem;
    padding: 1.2rem 1.4rem;
    border: 1px solid rgba(148, 163, 184, 0.25);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.home-section h2 {
    margin-top: 0;
    margin-bottom: 0.6rem;
    color: #0f172a;
}

.home-section p {
    margin: 0.35rem 0;
    line-height: 1.6;
}

.home-grid {
    margin-top: 0.7rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.9rem;
}

.home-card {
    border-radius: 0.7rem;
    border: 1px solid #e2e8f0;
    background: #f9fafb;
    padding: 0.75rem 0.9rem;
    font-size: 0.9rem;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.home-card strong {
    display: block;
    margin-bottom: 0.25rem;
    color: #0063A9;
}

.home-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.12);
    border-color: rgba(59, 130, 246, 0.45);
}

/* Mobile tweaks */
@media (max-width: 900px) {
    .hero {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.2rem;
    }
}

@media (max-width: 640px) {
    .page {
        margin: 1rem auto;
        padding: 1rem 0.8rem;
    }

    .cooling-top, .hero-main, .home-section {
        padding: 1rem 0.8rem;
    }

    .slider {
        min-height: 130px;
        padding: 0.85rem 0.9rem;
    }
}


/* Aktif sayfa linki */
.nav-links a.active {
    background: #ffffff;
    color: #0063A9;
    border-radius: 999px;
    padding: 0.25rem 0.7rem;
}


/* Basit ikon rozetleri */
.icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 999px;
    background: linear-gradient(135deg, #0063A9, #00A3E0);
    color: #ffffff;
    font-size: 0.8rem;
    margin-right: 0.3rem;
    box-shadow: 0 2px 5px rgba(15, 23, 42, 0.25);
}

.icon-pin {
    font-size: 0.9rem;
}

.icon-mail {
    font-size: 0.85rem;
}

.icon-phone {
    font-size: 0.9rem;
}

/* Floating contact biraz daha hizalı dursun */
.floating-contact span {
    display: inline-flex;
    align-items: center;
    gap: 0.15rem;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.7);
    padding: 6px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
}

.dropdown-content {
    display: none;
    position: absolute;
    background: #ffffff;
    min-width: 180px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.25);
    border-radius: 8px;
    z-index: 10;
}

.dropdown-content a {
    color: #0063A9;
    padding: 10px 14px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #e6f3ff;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* NAV RIGHT: Ana Sayfa + Menü + Dil seçimi yan yana */
.nav-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-links {
    display: none;
}
.nav-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 0.9rem;
    line-height: 1;
}

.dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.dropbtn {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.7);
    padding: 0.4rem 0.9rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 110%;
    right: 0;
    background: #ffffff;
    min-width: 190px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    border-radius: 8px;
    z-index: 20;
}

.dropdown-content a {
    color: #0063A9;
    padding: 10px 14px;
    text-decoration: none;
    display: block;
    font-size: 0.9rem;
}

.dropdown-content a:hover {
    background-color: #e6f3ff;
}

/* Hover ile menü açılması */
.dropdown:hover .dropdown-content {
    display: block;
}

/* Back to top / home button */
.back-to-top {
    position: fixed;
    right: 1.5rem;
    bottom: 5.2rem;
    padding: 0.55rem 1.1rem;
    border-radius: 999px;
    border: none;
    background: linear-gradient(135deg, #0063A9, #00A3E0);
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.28);
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
    z-index: 40;
}

.back-to-top.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.back-to-top:hover {
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.35);
}

/* Bigger back-to-top/home button */
.back-to-top {
    padding: 0.9rem 1.6rem;
    font-size: 1.05rem;
    bottom: 6rem;
    right: 1.8rem;
    border-radius: 14px;
}

.back-to-top {
    position: fixed;
    right: 1.8rem;
    bottom: 6rem;
    padding: 1rem 1.9rem;
    border-radius: 30px;
    border: none;
    background: linear-gradient(135deg,#0063A9,#00A3E0);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: 0.25s ease;
    z-index: 999;
}
.back-to-top.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Smaller back-to-home button */
.back-to-top {
    padding: 0.7rem 1.4rem;
    font-size: 0.95rem;
    border-radius: 20px;
}

/* keep show class same */


/* --- Slogan Banner --- */
.slogan-banner {
    width: 100%;
    padding: 60px 0;
    text-align: center;
    background: linear-gradient(135deg, rgba(0,99,169,0.9), rgba(0,163,224,0.9));
    margin-bottom: 30px;
    animation: fadeSlideIn 1.6s ease forwards;
    box-shadow: 0 8px 30px rgba(0,0,0,0.25);
}

.slogan-text {
    font-size: 2.8rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 2px;
    animation: coldGlow 3s ease-in-out infinite alternate;
}

/* SLOW FADE + SLIDE ANIMATION */
@keyframes fadeSlideIn {
    from { opacity: 0; transform: translateY(-40px); }
    to { opacity: 1; transform: translateY(0); }
}

/* COOL PULSE GLOW EFFECT */
@keyframes coldGlow {
    0% { text-shadow: 0 0 8px rgba(150,220,255,0.6), 0 0 16px rgba(0,163,224,0.4); }
    100% { text-shadow: 0 0 14px rgba(200,240,255,0.9), 0 0 28px rgba(0,163,224,0.7); }
}



/* --- Falling Snow Using Uploaded Snowflake --- */
.snowfall-container {
    position: fixed;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 4;
}

.snowflake-fall {
    position: absolute;
    top: -10%;
    width: 28px;
    height: 28px;
    background-image: url('snowflake.png');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.33;
    animation-name: snowFall;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

@keyframes snowFall {
    0%   { transform: translate3d(0, -10vh, 0); }
    50%  { transform: translate3d(15px, 50vh, 0); }
    100% { transform: translate3d(-10px, 110vh, 0); }
}

/* Dropdown open state (click to open, stays open) */
.dropdown-content {
    display: none;
}

.dropdown.open .dropdown-content {
    display: block;
}

/* In case there was a hover rule, override it */
.dropdown:hover .dropdown-content {
    /* disabled: now click-based */
}

/* Slightly adjust slogan so it keeps pulsing nicely */
.slogan-text {
    text-transform: uppercase;
}

.contact-extra {
    margin-top: 40px;
    padding: 25px;
    background: rgba(255,255,255,0.85);
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.15);
}
.contact-extra h3 {
    color: #0063A9;
    margin-bottom: 6px;
    margin-top: 18px;
}
.contact-extra p {
    margin: 2px 0 8px;
    font-size: 0.95rem;
}

/* Consolidated contact layout */
.contact-panel {
    margin-top: 40px;
    padding: 24px 22px 30px;
    background: rgba(255,255,255,0.9);
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(15,23,42,0.18);
}
.contact-intro {
    margin-bottom: 18px;
    color: #475569;
}
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 18px;
}
.contact-card {
    padding: 14px 16px 16px;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.45);
    background: #f8fafc;
}
.contact-card h2 {
    margin-top: 0;
    margin-bottom: 6px;
    color: #0063A9;
    font-size: 1.02rem;
}
.contact-card p {
    margin: 3px 0;
    font-size: 0.95rem;
}

/* Hide old scattered extra contact block if still present */
.contact-extra {
    display: none !important;
}

/* --- Reference Slider --- */
.reference-section {
  margin: 50px auto;
  padding: 20px 10px;
  text-align: center;
}
.ref-title {
  font-size: 2rem;
  font-weight: 700;
  color: #0063A9;
  margin-bottom: 20px;
}
.ref-slider {
  overflow: hidden;
  width: 100%;
}
.ref-track {
  display: flex;
  gap: 20px;
  animation: slideRefs 18s linear infinite;
}
.ref-card {
  min-width: 280px;
  max-width: 280px;
  background: white;
  padding: 18px;
  border-radius: 16px;
  box-shadow: 0 6px 22px rgba(0,0,0,0.12);
  font-size: 0.95rem;
  line-height: 1.4rem;
  color: #334155;
}
@keyframes slideRefs {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- Centered Fading Reference Cards --- */
.reference-section {
  margin: 50px auto;
  padding: 30px 10px 40px;
  text-align: center;
}

.ref-title {
  font-size: 2rem;
  font-weight: 700;
  color: #0063A9;
  margin-bottom: 24px;
}

.ref-fade-wrapper {
  position: relative;
  max-width: 520px;
  margin: 0 auto;
  min-height: 130px;
}

.ref-fade-card {
  position: absolute;
  inset: 0;
  margin: 0 auto;
  max-width: 520px;
  background: #ffffff;
  padding: 20px 22px;
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(15,23,42,0.16);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.98rem;
  line-height: 1.5rem;
  color: #334155;
}

.ref-fade-card.active {
  opacity: 1;
  transform: translateY(0);
}

/* Small responsive tweak */
@media (max-width: 640px) {
  .ref-fade-wrapper {
    max-width: 90%;
  }
  .ref-fade-card {
    padding: 18px;
    font-size: 0.92rem;
  }
}


.form-note{margin-top:.7rem;font-size:.85rem;opacity:.85}


/* Anasayfa infografik yerleşimi */
.cooling-infographic-wrap{
    width:100%;
    display:flex;
    justify-content:center;
    margin: 0 auto 1.25rem auto;
}
.cooling-infographic-wrap .cooling-hero-img{
    width: min(1200px, 100%);
    height:auto;
    border-radius: 14px;
}


/* Bölüm içi görsel (responsive) */
.section-image-wrap{
    margin-top: 1rem;
    display:flex;
    justify-content:center;
}
.section-image{
    width: min(1100px, 100%);
    height: auto;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}



/* ANASAYFA TANITIM VİDEOSU */
.home-video {
    margin-bottom: 1.5rem;
}

.home-video-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    overflow: hidden;
}

.home-video-el {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-sound-btn {
    position: absolute;
    bottom: 16px;
    right: 16px;
    z-index: 2;
    background: rgba(0,0,0,0.6);
    border: none;
    color: #fff;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
}

.video-sound-btn:focus {
    outline: 2px solid rgba(255,255,255,0.85);
    outline-offset: 2px;
}

@media (max-width: 768px) {
    .home-video-wrap {
        border-radius: 12px;
        aspect-ratio: 16 / 10;
    }
}


/* FIX VIDEO BLACK BARS */
.home-video-wrap{
  width:100%;
  aspect-ratio:16/9;
  overflow:hidden;
}
.home-video-el{
  width:100%;
  height:100%;
  object-fit:cover;
}


/* === FINAL VIDEO FULL-BLEED FIX (NO BLACK SIDES) === */
.home-video-wrap{
  width: 100%;
  height: 60vh;              /* force landscape fill */
  min-height: 420px;
  max-height: 720px;
  overflow: hidden;
}

.home-video-el{
  width: 100%;
  height: 100%;
  object-fit: cover;         /* absolutely removes side bars */
}

/* === DESKTOP HAMBURGER ENABLE === */
.hamburger{
  display: flex !important;
}

.nav-links{
  display: none;
}

.nav-links.active{
  display: flex;
}


/* ===== FINAL SERVER-SAFE FIXES ===== */

/* HAMBURGER ALWAYS VISIBLE */
.hamburger {
  display: flex !important;
}

/* NAV */
.nav-links {
  display: none;
}
.nav-links.active {
  display: flex;
}

/* VIDEO – NO BLACK BARS EVER */
.home-video-wrap {
  width: 100%;
  height: 60vh;
  min-height: 420px;
  overflow: hidden;
  background: #000;
}
.home-video-el {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* ===== MOBILE FIX ===== */
@media (max-width: 768px) {

  /* Ensure all images scale correctly */
  img {
    max-width: 100%;
    height: auto;
    display: block;
  }

  /* Hamburger visible */
  .hamburger {
    display: flex !important;
  }

  /* Menu closed by default on mobile */
  .nav-links {
    display: none !important;
    flex-direction: column;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: #0a1f2c;
    z-index: 9999;
  }

  /* Open state */
  .nav-links.active {
    display: flex !important;
  }

  /* Video height adjustment on mobile */
  .home-video-wrap {
    height: 40vh;
    min-height: 240px;
    max-height: 520px;
  }
}




.cooling-badge {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.7);
  color: #fff;
  padding: 10px 18px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  z-index: 5;
  text-align: center;
}

/* Mobile tuning */
@media (max-width: 768px) {
  .cooling-badge {
    top: 12px;
    font-size: 13px;
    padding: 8px 14px;
  }
}


/* ===== MOBILE VIDEO FIT FIX ===== */
@media (max-width: 768px) {

  /* On mobile, show FULL video without cropping */
  .home-video-el {
    object-fit: contain !important;
    background: #000;
  }

  .home-video-wrap {
    height: auto;
    max-height: none;
  }
}


/* ===== TOP ANNOUNCEMENT ===== */
.announcement-top {
  width: 100%;
  background: #0a1f2c;
  display: flex;
  justify-content: center;
  padding: 12px 0;
}

.announcement-box {
  background: #000;
  color: #fff;
  padding: 10px 20px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 14px;
}

/* ===== MOBILE VIDEO DEFINITIVE FIX ===== */
@media (max-width: 768px) {

  .home-video-wrap {
    height: auto !important;
    max-height: none !important;
  }

  .home-video-el {
    width: 100%;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
  }
}


/* ===== FOOTER (VERSION + COPYRIGHT) ===== */
.site-footer{
  width:100%;
  margin-top: 40px;
  padding: 28px 16px;
  text-align:center;
  color: #0f172a;
}

/* Ortalı, küçük kutu */
.site-footer__inner{
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 14px;
  border: 1px solid rgba(15,23,42,0.12);
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(15,23,42,0.08);
}
.site-footer__version{
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.02em;
}
.site-footer__copyright{
  font-size: 12.5px;
  opacity: 0.9;
}

@media (max-width:768px){
  .site-footer{padding:22px 12px;}
  .site-footer__inner{padding: 9px 12px;}
}

/* ===== V1.6 MOBILE OPTIMIZATION + QUICK QUOTE + iOS VIDEO FIX ===== */

/* Kill horizontal scroll on mobile */
html, body{
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}
@supports (overflow: clip){
  html, body{ overflow-x: clip; }
}
*{ max-width: 100%; }
img, video, iframe{ max-width: 100%; height: auto; display:block; }

/* iOS Chrome/Safari video rendering fix (prevents "video up" + black bar) */
.home-video-section .home-video-wrap{
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: 16 / 9 !important;
  overflow: hidden;
  background: #000;
}
.home-video-section .home-video-el{
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  display:block;
}
@media (max-width: 768px){
  .home-video-section .home-video-wrap{ aspect-ratio: 16/9 !important; border-radius: 12px; }
  /* Slightly lower framing option (tweak 55-70 if needed) */
  .home-video-section .home-video-el{ object-position: 50% 55% !important; }
}
@supports (-webkit-touch-callout: none){
  .home-video-section .home-video-el{
    min-height: 100% !important;
    transform: none !important;
    margin: 0 !important;
  }
}

/* Floating Quick Quote Button (left bottom) */
.quick-quote-btn{
  position: fixed;
  left: 14px;
  bottom: 14px;
  z-index: 9999;
  border-radius: 999px;
  padding: 12px 16px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
  background: #0063A9;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.modal-backdrop{
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  background: rgba(0,0,0,.45);
  padding: 16px;
}

.modal-card{
  width: min(520px, 100%);
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(0,0,0,.28);
}

.modal-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(0,0,0,.08);
}

.modal-close{
  border:0;
  background:transparent;
  font-size:20px;
  cursor:pointer;
}

.modal-form{
  padding: 14px 16px 16px;
  display:grid;
  gap: 10px;
}

.modal-form label{
  display:grid;
  gap:6px;
  font-size:14px;
  font-weight:700;
}

.modal-form input,
.modal-form select,
.modal-form textarea{
  width: 100%;
  border: 1px solid rgba(0,0,0,.15);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 15px;
  outline:none;
}

.modal-actions{
  display:flex;
  gap:10px;
  margin-top: 6px;
}

.btn-secondary, .btn-primary{
  flex: 1;
  border: 0;
  border-radius: 12px;
  padding: 12px 12px;
  font-weight: 900;
  cursor:pointer;
}

.btn-secondary{ background: rgba(0,0,0,.08); }
.btn-primary{ background:#0b7cff; color:#fff; }

.qq-hint{
  margin: 4px 2px 0;
  font-size: 12.5px;
  opacity: 0.8;
  line-height: 1.35;
}

@media (max-width: 480px){
  .quick-quote-btn{ left: 12px; bottom: 12px; padding: 12px 14px; }
}

.quick-quote-btn:focus{outline:3px solid rgba(255,255,255,.7); outline-offset:2px;}




