/*
Theme Name: Bella Luxury Floor
Theme URI: https://bellafloor.com
Author: Antigravity AI
Author URI: https://bellafloor.com
Description: Bella Luxury Floor için Tailwind CSS tabanlı, lüks ve modern tasarımlı özel WordPress teması.
Version: 1.1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bella-luxury
*/

/* 
   ----------------------------------------------------------------------------
   ANA STİLLER (Temel Tailwind Özelleştirmeleri ve Animasyonlar)
   ----------------------------------------------------------------------------
*/

html {
    scroll-behavior: smooth;
}

/* Scrollbar Gizleme (Yatay Kaydırmalar İçin) */
.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.hide-scrollbar::-webkit-scrollbar {
    display: none;
}

/* Özel Animasyon Tanımları */
@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slowZoom {
    from { transform: scale(1); }
    to { transform: scale(1.05); }
}

.animate-fade-slide-up {
    animation: fadeSlideUp 1s ease-out forwards;
}

.animate-slow-zoom {
    animation: slowZoom 20s ease-in-out infinite alternate;
}

/* Slider Track Geçişi */
.slider-track {
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.slide {
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide.active .max-w-xl {
    animation: fadeSlideUp 0.8s ease-out 0.3s both;
}

.dot.active {
    background-color: #03433D;
}

/* Koleksiyon Kartı Efektleri */
.collection-card .card-image {
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.collection-card:hover .card-image {
    transform: scale(1.05);
}

.collection-card .card-reveal {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.collection-card:hover .card-reveal {
    opacity: 1;
    transform: translateY(0);
}

/* 
   ----------------------------------------------------------------------------
   ÖZEL PADDING DÜZENLEMELERİ
   ----------------------------------------------------------------------------
*/

/* Menü İlk Hali - Yükseklik Azaltıldı */
#main-nav.py-6 {
    padding-top: 1.25rem !important;
    padding-bottom: 1.25rem !important;
}

/* Ürün Sayfasına Özel pt-16 ve pb-16 düzenlemeleri */
.single-product .pt-16 {
    padding-top: 1rem !important;
}

.single-product .pb-16 {
    padding-bottom: 4rem !important;
}
/* Menü Kaydırılmış Hali (Sticky) - Yükseklik Azaltıldı */
#main-nav.py-3 {
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
}

/* 
   ----------------------------------------------------------------------------
   NAV BAR — Sabit Frosted Glass
   ----------------------------------------------------------------------------
*/
#main-nav {
    background-color: rgba(240, 239, 233, 0.2) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

#main-nav.scrolled {
    background-color: rgba(240, 239, 233, 0.85) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.bella-lang-picker {
    position: relative;
    z-index: 60;
}

.bella-lang-current {
    width: 2rem;
    height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(3, 67, 61, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.46);
    box-shadow: 0 10px 24px rgba(3, 67, 61, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.bella-lang-current:hover,
.bella-lang-picker:focus-within .bella-lang-current {
    transform: translateY(-1px);
    border-color: rgba(3, 67, 61, 0.35);
    background: rgba(255, 255, 255, 0.72);
}

.bella-lang-menu {
    position: absolute;
    top: calc(100% + 0.55rem);
    right: 0;
    min-width: 8.25rem;
    padding: 0.45rem;
    border: 1px solid rgba(3, 67, 61, 0.12);
    background: rgba(240, 239, 233, 0.94);
    box-shadow: 0 18px 40px rgba(3, 67, 61, 0.14);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(0.4rem);
    transition: opacity 0.22s ease, visibility 0.22s ease, transform 0.22s ease;
}

.bella-lang-picker:hover .bella-lang-menu,
.bella-lang-picker:focus-within .bella-lang-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.bella-lang-menu a {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.62rem 0.7rem;
    color: rgba(3, 67, 61, 0.68);
    font-size: 0.72rem;
    line-height: 1;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.bella-lang-menu a:hover,
.bella-lang-menu a.is-active {
    color: #03433d;
    background: rgba(3, 67, 61, 0.07);
}

.bella-flag {
    width: 1.05rem;
    height: 1.05rem;
    display: inline-block;
    flex: 0 0 auto;
    overflow: hidden;
    border-radius: 999px;
    box-shadow: inset 0 0 0 1px rgba(3, 67, 61, 0.12);
}

.bella-flag-it {
    background: linear-gradient(90deg, #148b46 0 33.33%, #f7f7f2 33.33% 66.66%, #c93232 66.66% 100%);
}

.bella-flag-en {
    background:
        linear-gradient(32deg, transparent 42%, #fff 42% 46%, #c8102e 46% 53%, #fff 53% 57%, transparent 57%),
        linear-gradient(148deg, transparent 42%, #fff 42% 46%, #c8102e 46% 53%, #fff 53% 57%, transparent 57%),
        linear-gradient(90deg, transparent 42%, #fff 42% 58%, transparent 58%),
        linear-gradient(0deg, transparent 42%, #fff 42% 58%, transparent 58%),
        linear-gradient(90deg, transparent 45%, #c8102e 45% 55%, transparent 55%),
        linear-gradient(0deg, transparent 45%, #c8102e 45% 55%, transparent 55%),
        #012169;
}

.bella-flag-tr {
    background: #e30a17;
    position: relative;
}

.bella-flag-tr::before {
    content: "";
    position: absolute;
    width: 0.52rem;
    height: 0.52rem;
    left: 0.27rem;
    top: 0.265rem;
    border-radius: 999px;
    box-shadow: -0.1rem 0 0 0.12rem #fff;
}

.bella-flag-tr::after {
    content: "";
    position: absolute;
    left: 0.67rem;
    top: 0.38rem;
    width: 0.22rem;
    height: 0.22rem;
    background: #fff;
    clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 56%, 79% 91%, 50% 69%, 21% 91%, 32% 56%, 2% 35%, 39% 35%);
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.layer-diagram {
    isolation: isolate;
}

.layer-callout {
    position: absolute;
    z-index: 30;
    width: min(16rem, 42%);
    padding: 1rem 1.05rem;
    border: 1px solid rgba(255, 255, 255, 0.72);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 18px 38px rgba(3, 67, 61, 0.13);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    animation: layerFloat 4.8s ease-in-out infinite;
}

.layer-callout span {
    width: 2.25rem;
    height: 2.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    margin-bottom: 0.65rem;
    background: #03433d;
    color: #fff;
    font-size: 0.65rem;
    letter-spacing: 0.12em;
}

.layer-callout strong {
    display: block;
    color: #03433d;
    font-size: 0.84rem;
    line-height: 1.25;
}

.layer-callout small {
    display: block;
    margin-top: 0.45rem;
    color: rgba(3, 67, 61, 0.55);
    font-size: 0.62rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.layer-callout-top {
    top: 5%;
    right: 5%;
}

.layer-callout-core {
    top: 40%;
    left: 5%;
    animation-delay: 0.5s;
}

.layer-callout-pad {
    right: 6%;
    bottom: 16%;
    animation-delay: 1s;
}

.layer-arrow {
    fill: none;
    stroke: #03433d;
    stroke-width: 0.42;
    stroke-linecap: round;
    stroke-dasharray: 3 2;
    filter: drop-shadow(0 4px 6px rgba(3, 67, 61, 0.2));
    animation: layerArrowPulse 2.8s ease-in-out infinite;
}

.layer-arrow-2 {
    animation-delay: 0.4s;
}

.layer-arrow-3 {
    animation-delay: 0.8s;
}

@keyframes layerFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-7px);
    }
}

@keyframes layerArrowPulse {
    0%, 100% {
        opacity: 0.42;
        stroke-dashoffset: 0;
    }
    50% {
        opacity: 1;
        stroke-dashoffset: -10;
    }
}

@media (max-width: 1023px) {
    #brand-heritage iframe {
        min-height: 320px;
    }

    /* On mobile, slightly reduce text size and padding for callouts to fit the scaled-down image */
    .layer-callout {
        padding: 0.6rem 0.6rem;
        width: min(12rem, 45%);
    }
    
    .layer-callout span {
        width: 1.75rem;
        height: 1.75rem;
        font-size: 0.55rem;
        margin-bottom: 0.4rem;
    }
    
    .layer-callout strong {
        font-size: 0.7rem;
    }
    
    .layer-callout small {
        font-size: 0.5rem;
    }
}

@media (max-width: 767px) {
    .bella-lang-current {
        width: 1.85rem;
        height: 1.85rem;
    }

    .bella-lang-menu {
        right: -2.9rem;
    }
}
