﻿:root {
    --color-primary: #EA2047;
    --color-primary-700: #B71733;
    --color-gray-900: #232426;
    --color-gray-500: #6D6E71;
}

.btn-primary {
    background-color: var(--color-primary);
    border: none;
    border-radius: 8px;
    color: #fff;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

    .btn-primary:hover {
        background-color: var(--color-primary-700);
    }

/* Genel section boşlukları */
.section {
    padding: 3rem 0;
}

/* HERO */
.section-hero {
    position: relative;
}

.section-hero__media {
    overflow: hidden;
}

.section-hero__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.section-hero__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    /* arkaplan/renkleri burada temalandır */
    background: linear-gradient(to bottom, rgba(0,0,0,.35), rgba(0,0,0,.35));
}

.section-hero__title {
    margin-bottom: .5rem;
}

.section-hero__subtitle {
    opacity: .9;
}

/* VIDEO FULL */
.section-video-full__wrap {
    overflow: hidden;
    border-radius: .75rem;
}

.section-video-full__caption {
    margin-top: .75rem;
    color: var(--bs-secondary-color);
}

/* SPLIT */
.section-split__title {
    margin-bottom: .75rem;
}

.section-split__body {
    color: var(--bs-secondary-color);
}

.section-split__image {
    border-radius: .75rem;
}

/* SLIDER */
.section-slider__image {
    max-height: 640px;
    object-fit: cover;
}

.section-slider__caption {
    margin-top: .5rem;
    color: var(--bs-secondary-color);
}

/* Hero (image) */
.section-hero {
    position: relative;
    min-height: 60vh;
}

.section-hero--image .section-hero__bg {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.section-hero__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: linear-gradient(to bottom, rgba(0,0,0,.35), rgba(0,0,0,.35));
}

.section-hero__title {
    color: #fff;
    margin-bottom: .5rem;
}

.section-hero__subtitle {
    color: rgba(255,255,255,.85);
}



/* MasterHero aktifken navbar şeffaf/kayan */
.has-master-hero .navbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background-color: transparent !important;
    box-shadow: none !important;
    z-index: 10;
}

    .has-master-hero .navbar.scrolled {
        position: fixed;
        background-color: rgba(0,0,0,.85) !important;
        backdrop-filter: saturate(180%) blur(6px);
    }

    .has-master-hero .navbar .nav-link {
        color: #fff !important;
    }

    .has-master-hero .navbar.scrolled .nav-link {
        color: #fff !important;
    }

/* — MasterHero tam ekran, üstten başlasın — */
.master-hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

    .master-hero .hero-bg-video,
    .master-hero .hero-bg-image {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 100vw;
        height: auto;
        min-height: 100vh;
        transform: translate(-50%, -50%);
        object-fit: cover;
        background-size: cover;
        background-position: center center;
        z-index: 0;
    }



/* — MasterHero 1. sıradaysa navbar overlay & şeffaf — */
.has-master-hero .navbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: transparent !important;
    box-shadow: none !important;
    z-index: 10;
}

    .has-master-hero .navbar.scrolled {
        position: fixed;
        background: rgba(0,0,0,.85) !important;
        backdrop-filter: saturate(180%) blur(6px);
    }

/* — Link ve logo renkleri tema göre — */
.theme-dark .navbar .nav-link {
    color: #fff !important;
}

.theme-dark .navbar .btn.btn-primary {
    color: #fff;
}

.theme-dark .site-logo--light {
    display: inline;
}

.theme-dark .site-logo--dark {
    display: none;
}

.theme-light .navbar .nav-link {
    color: #212529 !important;
}

.theme-light .site-logo--light {
    display: none;
}

.theme-light .site-logo--dark {
    display: inline;
}

/* MasterHero açıkken ana içeriğin üst boşluğunu kaldır */
.has-master-hero main {
    padding-top: 0 !important;
}

/* Logo görünürlük kuralları */
.site-logo--light {
    display: none;
}

.site-logo--dark {
    display: none;
}

/* Tema bazlı görünürlük */
.theme-dark .site-logo--light {
    display: inline;
}

.theme-dark .site-logo--dark {
    display: none;
}

.theme-light .site-logo--light {
    display: none;
}

.theme-light .site-logo--dark {
    display: inline;
}

/* Varsayılan: her ikisini de kapat (özgüllük + !important) */
.navbar .navbar-brand img.site-logo--light,
.navbar .navbar-brand img.site-logo--dark {
    display: none !important;
}

/* Tema bazlı görünürlük (özgüllük + !important) */
.theme-dark .navbar .navbar-brand img.site-logo--light {
    display: inline-block !important;
}

.theme-dark .navbar .navbar-brand img.site-logo--dark {
    display: none !important;
}

.theme-light .navbar .navbar-brand img.site-logo--light {
    display: none !important;
}

.theme-light .navbar .navbar-brand img.site-logo--dark {
    display: inline-block !important;
}

.section-products-grid .card-img-top.object-fit-contain {
    object-fit: contain;
}

.section-addresses-two .section-head .h3 {
    font-weight: 700;
}

.section-addresses-two__list .small {
    letter-spacing: .02em;
}

.section-addresses-two__map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.whatsapp-float {
    position: fixed;
    bottom: 22px;
    right: 22px;
    z-index: 9999;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #25D366;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

    .whatsapp-float:hover {
        transform: scale(1.1);
        box-shadow: 0 6px 16px rgba(0,0,0,0.4);
    }

    .whatsapp-float img {
        width: 32px;
        height: 32px;
        filter: brightness(0) invert(1);
    }
