@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;600;700;800&family=Great+Vibes&display=swap');

/* ==========================================================================
   V3: CLEAN V3 THEME (Corporate Adaptation)
   ========================================================================== */

:root {
    /* Corporate Brand Colors */
    --c-brand-red: #a70e13;
    /* Corporate Red */
    --c-brand-blue: #223d98;
    /* Corporate Blue */

    /* Background Colours */
    --bg-hero: #dbe6f3;
    /* Light corporate blue-gray */
    --bg-white: #ffffff;
    --bg-light-gray: #f8f8fa;
    /* For product section */

    /* Typography */
    --font-heading: 'Barlow', sans-serif;
    --font-body: 'Barlow', sans-serif;
    --font-script: 'Great Vibes', cursive;

    --text-main: #2b3a4a;
    --text-muted: #888888;

    /* Layout Constants */
    --section-pad: 90px;
    --radius-soft: 8px;
    --shadow-soft: 0 5px 25px rgba(0, 0, 0, 0.03);
    --shadow-hover: 0 10px 40px rgba(0, 0, 0, 0.08);
}

@media (max-width: 991px) {
    :root {
        --section-pad: 60px;
    }
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
    overflow-x: hidden;
}

html {
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

/* ==========================================================================
   Typography Setup 
   ========================================================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.script-title {
    font-family: var(--font-script);
    color: var(--c-brand-red);
    font-size: 3rem;
    font-weight: 400;
    margin-bottom: 0px;
    line-height: 1.2;
}

@media (max-width: 768px) {
    .script-title {
        font-size: 2.2rem;
    }
}

.section-head {
    text-align: center;
    margin-bottom: 60px;
}

.section-head .script-title {
    font-size: 2.2rem;
}

.section-head h2 {
    font-size: 2.4rem;
    color: var(--c-brand-blue);
    margin-top: -5px;
}

.section-head p {
    color: var(--text-muted);
    max-width: 500px;
    margin: 15px auto 0;
    font-size: 0.95rem;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn-sweets {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--c-brand-red);
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 15px rgba(243, 66, 95, 0.3);
}

.btn-sweets:hover {
    background-color: #d82e4a;
    transform: translateY(-2px);
    color: #fff;
    box-shadow: 0 6px 20px rgba(243, 66, 95, 0.4);
}

@media (max-width: 768px) {
    .btn-sweets {
        padding: 10px 20px;
        font-size: 0.8rem;
    }
}

/* ==========================================================================
   Header (Minimal & Sticky)
   ========================================================================== */
.header-sweets {
    background-color: transparent;
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 49px;
    /* Position below topbar (49px) */
    left: 0;
    z-index: 1040;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: none;
}

@media (max-width: 991px) {
    .header-sweets {
        top: 0;
    }
}

.header-sweets.sticky-active {
    top: 0;
    background-color: var(--bg-white);
    padding: 10px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Scroll Progress Bar */
.scroll-progress-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(0, 0, 0, 0.05);
    z-index: 1050;
    display: none;
    /* Only show when sticky or via JS */
}

.header-sweets.sticky-active .scroll-progress-container {
    display: block;
}

.scroll-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(to right, var(--c-brand-blue), var(--c-brand-red));
    transition: width 0.1s ease-out;
}


@media (max-width: 768px) {
    .header-sweets {
        padding: 10px 0;
    }

    .header-sweets img {
        max-height: 50px !important;
    }
}

/* Sticky state handled above for top position */

.header-sweets.sticky-active .nav-link,
.header-sweets.sticky-active .text-dark,
.header-sweets.sticky-active .fa-magnifying-glass {
    color: var(--text-main) !important;
}

.header-sweets .nav-link {
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 15px;
    transition: color 0.3s ease;
}

.header-sweets .nav-link:hover {
    color: var(--c-brand-red);
}

@keyframes scroll-anim {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateY(15px);
        opacity: 0;
    }
}

/* ==========================================================================
   Hero Section (Slider)
   ========================================================================== */
.hero-sweets {
    /* Base styles removed in favor of inline 100vh slider styles */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-sweets .script-title {
    font-size: 4rem;
    margin-bottom: 15px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6);
}

.hero-sweets h1 {
    font-size: 4.5rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 40px;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.8), 0 2px 5px rgba(0, 0, 0, 0.9);
}

.hero-content-wrapper p.fs-4 {
    margin-top: -14px !important;
    /* Move 30px up from original 16px */
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.7);
}

.heroSwiper .swiper-slide h1,
.heroSwiper .swiper-slide .script-title,
.heroSwiper .swiper-slide p {
    opacity: 1;
    /* Fallback to visible */
}

.hero-sweets .container {
    padding-top: 120px !important;
    /* Pushes content/visuals down */
}

@media (max-width: 991px) {
    .hero-sweets h1 {
        font-size: 3rem;
    }

    .hero-sweets .script-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .hero-sweets h1 {
        font-size: 2.2rem;
        margin-bottom: 20px;
    }

    .hero-sweets .script-title {
        font-size: 1.8rem;
    }

    .hero-sweets .container {
        padding-top: 60px !important;
    }
}

/* Premium Hero Aesthetics */
.hero-vignette {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: radial-gradient(circle, transparent 40%, rgba(0, 0, 0, 0.4) 100%);
    pointer-events: none;
}

.hero-vignette::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(2px);
    mask: radial-gradient(circle, transparent 50%, black 100%);
    -webkit-mask: radial-gradient(circle, transparent 50%, black 100%);
    pointer-events: none;
}

.hero-animated-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.5;
    /* Increased opacity from 0.15 */
    background: linear-gradient(135deg, rgba(34, 61, 152, 1) 0%, rgba(167, 14, 19, 1) 50%, rgba(34, 61, 152, 1) 100%);
    background-size: 400% 400%;
    animation: gradient-shift 15s ease infinite;
    pointer-events: none;
}

.hero-texture {
    position: absolute;
    top: -5%;
    left: -5%;
    width: 110%;
    height: 110%;
    z-index: 2;
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    pointer-events: none;
    animation: grain-pan 30s linear infinite;
}

@keyframes grain-pan {
    0% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(-2%, -2%);
    }

    100% {
        transform: translate(0, 0);
    }
}

@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Animated Wave Divider Refinement */
.hero-wave-container {
    position: absolute;
    bottom: -20px !important;
    /* Moves waves down to overlap next section */
    left: 0;
    width: 100%;
    height: 180px;
    overflow: hidden;
    line-height: 0;
    z-index: 10 !important;
    pointer-events: none;
}

.wave-layer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 400%;
    height: 100%;
    background: url('../images/wave-animated.svg') repeat-x;
    background-position: bottom;
    transform: translateZ(0);
    /* GPU acceleration */
    backface-visibility: hidden;
    /* 0.5px overlap and tiny blur fixes the vertical line artifacts between repeated tiles */
    background-size: 1600.5px 100% !important;
    filter: blur(0.3px);
}

.wave-layer-1 {
    z-index: 15;
    opacity: 1;
    height: 120px;
    bottom: -10px;
    animation: none;
    /* Fixed front layer */
}

.wave-layer-2 {
    z-index: 10;
    opacity: 0.5;
    height: 150px;
    bottom: -5px;
    background-size: 1600.5px 110px;
    animation: wave-move 35s linear infinite reverse;
}

.wave-layer-3 {
    z-index: 5;
    opacity: 0.3;
    height: 180px;
    bottom: 0px;
    background-size: 1600.5px 120px;
    animation: wave-move 55s linear infinite;
}

@keyframes wave-move {
    0% {
        transform: translateX(0);
    }

    100% {
        /* Matching the background-size fix to ensure seamless looping */
        transform: translateX(-1600.5px);
    }
}

.floating-hero-img {
    animation: float 6s ease-in-out infinite;
    max-width: 700px;
    width: 100%;
    margin-top: 20px;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.15));
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* ==========================================================================
   Features / Steps (Dotted Layout)
   ========================================================================== */
.features-section {
    padding: var(--section-pad) 0;
    position: relative;
}

.features-dots-container {
    display: flex;
    justify-content: center;
    position: relative;
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .features-dots-container {
        flex-direction: column;
        gap: 30px;
    }

    .features-dots-container::before {
        display: none;
    }
}

/* The horizontal dotted line behind items */
.features-dots-container::before {
    content: '';
    position: absolute;
    top: 50px;
    /* Align with center of image circles */
    left: 10%;
    right: 10%;
    height: 2px;
    border-top: 2px dashed rgba(243, 66, 95, 0.4);
    /* Pink dashed line */
    z-index: 0;
}

.feature-item {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 0 15px;
}

.feature-img-wrap {
    width: 100px;
    height: 100px;
    background-color: var(--bg-hero);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.feature-item h4 {
    font-size: 1.1rem;
    color: var(--c-brand-blue);
    margin-bottom: 10px;
}

.feature-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ==========================================================================
   Split Highlight Section (Blue Blob)
   ========================================================================== */
.highlight-section {
    padding: var(--section-pad) 0;
}

.blob-carousel-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
}

:root {
    --blob-ease: cubic-bezier(0.29, 0.57, 0.12, 0.99);
    --blob-duration: .6s;
    --blob-size: 600px;
    --blob-scaleMask: 0.75;
    --blob-scaleBtn: 1;
}

@media (max-width: 900px) {
    :root {
        --blob-size: 500px;
        --blob-scaleMask: 0.625;
        --blob-scaleBtn: .9;
    }
}

@media (max-width: 500px) {
    :root {
        --blob-size: 300px;
        --blob-scaleMask: 0.375;
        --blob-scaleBtn: .7;
    }
}

.carousel {
    position: relative;
    z-index: 1;
    width: var(--blob-size);
    height: var(--blob-size);
}

.carousel--play {
    position: absolute;
    z-index: 10;
    bottom: calc(10% * var(--blob-scaleBtn));
    left: calc(10% * var(--blob-scaleBtn));
    transform: rotate(-20deg) scale(var(--blob-scaleBtn));
    transition: transform .2s var(--blob-ease);
    width: 90px;
    height: 90px;
    background: var(--c-brand-red);
    box-shadow: 0 10px 20px -6px var(--c-brand-red);
    border-radius: 50%;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    overflow: hidden;
}

.carousel--play:before {
    content: '';
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: inset 0 0 0 6px rgba(255, 255, 255, .3);
    border-radius: 50%;
    transform: scale(1.2);
    transition: transform .4s var(--blob-ease);
}

.carousel--play:hover:before {
    transform: scale(1);
}

.carousel--play:active {
    transform: scale(calc(var(--blob-scaleBtn) * .9)) rotate(-5deg);
}

.carousel svg {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    fill: #ebf4fb;
    pointer-events: none;
}

#mask {
    transform: scale(var(--blob-scaleMask));
}

.carousel--images {
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -webkit-clip-path: url(#mask);
    clip-path: url(#mask);
    overflow: visible;
}

.carousel--images img {
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity var(--blob-duration) var(--blob-ease), transform var(--blob-duration) var(--blob-ease);
    opacity: 0;
    transform: scale(.9) translateZ(0);
}

.carousel--images img.active {
    transform: scale(1) translateZ(0);
    opacity: 1;
}

#carousel-play-icon {
    transition: opacity 0.3s ease, transform 0.3s var(--blob-ease);
}

.number-card {
    background: var(--bg-white);
    padding: 20px;
    margin-bottom: 20px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    border-radius: var(--radius-soft);
}

.number-card h3 {
    color: var(--c-brand-red);
    font-size: 2.5rem;
    margin-bottom: 5px;
}

.number-card p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin: 0;
}

/* ==========================================================================
   Products Grid (Pattern Background)
   ========================================================================== */
.products-section {
    padding: var(--section-pad) 0;
    background-color: var(--bg-light-gray);
    position: relative;
}

/* Subtle pattern for products bg */
.products-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.4;
    background-image: radial-gradient(#d1d1d1 1px, transparent 1px);
    background-size: 20px 20px;
    z-index: 0;
}

.product-card {
    background: var(--bg-white);
    border-radius: 0;
    padding: 30px;
    text-align: center;
    position: relative;
    z-index: 1;
    transition: box-shadow 0.3s ease;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.product-card:hover {
    box-shadow: var(--shadow-hover);
}

.product-img {
    margin-bottom: 20px;
}

.product-img img {
    max-width: 180px;
    height: 180px;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.product-card:hover .product-img img {
    transform: scale(1.05);
}

.product-card h4 {
    font-size: 1.1rem;
    color: var(--text-main);
    margin-bottom: 5px;
}

.product-card .cat {
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: block;
}

.product-card .price {
    color: var(--c-brand-red);
    font-weight: 600;
    font-size: 1.1rem;
}

.badge-new {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--c-brand-red);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 50px;
    z-index: 2;
    text-transform: uppercase;
}

/* ==========================================================================
   Footer (4-Column Widget Layout)
   ========================================================================== */
.sweets-footer {
    background-color: var(--bg-white);
    padding: 70px 0 0;
}

.sweets-footer .footer-logo {
    max-height: 80px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.05));
}

.sweets-footer .footer-text {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-contact-list i {
    color: var(--c-brand-red);
    margin-top: 5px;
}

@media (max-width: 768px) {
    .footer-widget-title {
        margin-top: 30px;
        margin-bottom: 15px;
    }

    .sweets-footer {
        padding-top: 40px;
    }
}

.footer-widget-title {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
    color: var(--text-main);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--c-brand-red);
}

.group-hover:hover .fa-chevron-right {
    transform: translateX(-5px);
}

/* Footer Bottom Layout */
.footer-bottom {
    border-top: 1px solid #f0f0f0;
    padding: 20px 0;
    margin-top: 20px;
}

.copyright-text {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.copyright-text strong {
    color: var(--text-main);
    font-weight: 600;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.footer-socials a {
    color: var(--text-main);
    font-size: 1rem;
    transition: color 0.3s ease;
}

.footer-socials a:hover {
    color: var(--c-brand-red);
}

.payment-methods img {
    height: 25px;
}

/* ==========================================================================
   Campaign Banner (Free Delivery)
   ========================================================================== */
.campaign-section-sweets {
    padding: 0 0 var(--section-pad);
}

.campaign-box {
    background-color: var(--bg-hero);
    border-radius: var(--radius-soft);
    padding: 50px 60px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: visible;
}

.campaign-box .campaign-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 15px;
}

.campaign-box .campaign-desc {
    color: var(--text-main);
    font-size: 1.1rem;
    font-weight: 600;
    max-width: 450px;
}

/* ==========================================================================
   Newsletter Bar (Woodmart Vegetables Style)
   ========================================================================== */
.newsletter-bar-sweets {
    background-color: var(--bg-light-gray);
    padding: 60px 0;
    border-top: 1px solid #efefef;
    border-bottom: 1px solid #efefef;
}

.ns-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 5px;
}

.ns-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.ns-form-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.ns-input {
    flex: 1;
    border: 2px solid #e1e1e1;
    border-radius: 5px;
    padding: 12px 20px;
    font-size: 0.95rem;
    color: var(--text-main);
    background-color: var(--bg-white);
    transition: border-color 0.3s ease;
}

.ns-input:focus {
    border-color: var(--c-brand-blue);
    outline: none;
}

.ns-submit {
    background-color: #333333;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 12px 30px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.85rem;
    transition: background-color 0.3s ease;
}

.ns-submit:hover {
    background-color: var(--c-brand-red);
}

/* ==========================================================================
   Floating Action Buttons (Scroll Top & WhatsApp)
   ========================================================================== */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 34px !important;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--c-brand-red), #e74c3c);
    color: white;
    border: 5px solid rgba(255, 255, 255, 0.685) !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(167, 14, 19, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
}

@media (max-width: 768px) {
    .scroll-top-btn {
        right: 15px !important;
        bottom: 20px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

.scroll-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    background-color: #50a1df;
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.whatsapp-float-btn {
    position: fixed;
    bottom: 90px;
    right: 30px;
    width: 55px;
    height: 55px;
    background-color: #25d366;
    /* Official WhatsApp green */
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
    text-decoration: none;
}

@media (max-width: 768px) {
    .whatsapp-float-btn {
        right: 15px;
        bottom: 75px;
        width: 45px;
        height: 45px;
        font-size: 1.5rem;
    }
}

.whatsapp-float-btn:hover {
    background-color: #1ebd5a;
    transform: scale(1.1);
    color: white;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* ==========================================================================
   V1 CTA Block Backwards Compatibility
   ========================================================================== */
.cta-section-anim {
    /* 3-Color Animated Gradient (Light Blue to Dark Blue) */
    background: linear-gradient(-45deg, #6495ED, var(--c-brand-blue), #1b317a, #0d1e57);
    background-size: 400% 400%;
    animation: gradientMove 15s ease infinite;
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.cta-texture-overlay {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image: url('/assets/images/pattern.png');
    /* Assumes a tileable pattern */
    background-repeat: repeat;
    opacity: 0.08;
    /* Very subtle */
    z-index: 0;
    animation: driftPatternDiagonal 40s linear infinite;
    pointer-events: none;
}

@keyframes driftPatternDiagonal {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(20%, 20%);
    }

    /* Drifts diagonally down and right */
}

.brandSwiper .swiper-wrapper {
    transition-timing-function: linear !important;
}

/* ==========================================================================
   REYONLARIMIZ (ACCORDION) CSS              
   ========================================================================== */
.reyon-accordion-container {
    display: flex;
    gap: 15px;
    height: 500px;
    width: 100%;
    margin-top: 2rem;
}

.reyon-card {
    flex: 1;
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    transition: flex 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    cursor: pointer;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-end;
}

.reyon-overlay {
    position: absolute;
    inset: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.reyon-card:hover {
    flex: 4;
}

.reyon-content {
    position: relative;
    z-index: 2;
    padding: 2rem 1.5rem;
    color: white;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
}

.reyon-icon {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    transition: all 0.4s ease;
    z-index: 3;
}

.reyon-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 2.2rem;
    margin-bottom: 0;
    white-space: nowrap;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    transition: all 0.4s ease;
    letter-spacing: 2px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    color: white;
}

.reyon-details {
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
    transition-delay: 0s;
}

/* Hover State */
.reyon-card:hover .reyon-content {
    align-items: flex-start;
}

.reyon-card:hover .reyon-icon {
    background: rgba(255, 255, 255, 0.3);
}

.reyon-card:hover .reyon-title {
    writing-mode: horizontal-tb;
    transform: rotate(0deg);
    margin-bottom: 15px;
    font-size: 2.8rem;
    text-shadow: none;
}

.reyon-card:hover .reyon-details {
    opacity: 1;
    visibility: visible;
    max-height: 200px;
    transform: translateY(0);
    transition-delay: 0.2s;
    /* Text fades in slightly after expansion starts */
}

/* Responsive */
@media (max-width: 992px) {
    .reyon-accordion-container {
        flex-direction: column;
        height: 800px;
    }

    .reyon-title {
        writing-mode: horizontal-tb;
        transform: rotate(0deg);
        font-size: 1.2rem;
    }

    .reyon-card {
        align-items: center;
    }

    .reyon-content {
        flex-direction: row;
        align-items: center;
        padding: 1rem;
        justify-content: flex-start;
        gap: 15px;
    }

    .reyon-icon {
        position: static;
        transform: none;
        margin-bottom: 0;
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .reyon-card:hover .reyon-title {
        font-size: 1.8rem;
        margin-bottom: 0;
    }

    .reyon-card:hover .reyon-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .reyon-card:hover .reyon-details {
        display: block;
        opacity: 1;
        visibility: visible;
        margin-top: 10px;
    }
}

/* ==========================================================================
   CREATIVE PILL BUTTON (Tüm Ürünler)              
   ========================================================================== */
.btn-creative-pill {
    border-radius: 50px !important;
    padding: 14px 40px !important;
    background: linear-gradient(135deg, var(--c-brand-red), #e74c3c);
    border: none;
    box-shadow: 0 10px 25px rgba(167, 14, 19, 0.4);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    font-size: 1.05rem;
    letter-spacing: 1px;
    color: white !important;
}

.btn-creative-pill::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--c-brand-blue), #3498db);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
    border-radius: 50px;
}

.btn-creative-pill:hover::before {
    opacity: 1;
}

.btn-creative-pill:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 14px 30px rgba(34, 61, 152, 0.5);
    color: white !important;
}

.group-hover-translate-x {
    transition: transform 0.3s ease;
}

.group-hover:hover .group-hover-translate-x {
    transform: translateX(6px);
}

/* ==========================================================================
   Campaign Background Icons
   ========================================================================== */
.float-icon {
    animation: floatIconAnim 6s ease-in-out infinite;
    pointer-events: none;
}

.float-icon-1 {
    animation-delay: 0s;
}

.float-icon-2 {
    animation-delay: 1.5s;
}

.float-icon-3 {
    animation-delay: 3s;
}

.float-icon-4 {
    animation-delay: 4.5s;
}

@keyframes floatIconAnim {
    0% {
        transform: translateY(0) rotate(-10deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }

    100% {
        transform: translateY(0) rotate(-10deg);
    }
}

/* ==========================================================================
   V3: ADDED HOVER EFFECTS & SECTION STYLING
   ========================================================================== */
.bg-soft-gray {
    background-color: #f4f7fa !important;
}

.hover-premium-img {
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
    box-shadow: var(--shadow-soft);
}

.hover-premium-img:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 30px 60px rgba(34, 61, 152, 0.15) !important;
    border-color: #ffffff !important;
}

/* ==========================================================================
   V3: ADVANCED ANIMATIONS & UTILITIES
   ========================================================================== */

/* 1. Text Reveal Effect (Codepen-inspired) */
.text-reveal-wrapper {
    position: relative;
    overflow: hidden;
    display: inline-block;
}

.text-reveal {
    position: relative;
    animation: text-reveal-anim 1.5s cubic-bezier(0.77, 0, 0.175, 1) forwards;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    display: inline-block;
}

@keyframes text-reveal-anim {
    0% {
        transform: translateY(100%);
        clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0 100%);
    }

    100% {
        transform: translateY(0);
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
}

/* 2. Image Parallax/Tilt Effect (Codepen-inspired) */
.parallax-item {
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.parallax-item:hover {
    transform: rotateX(5deg) rotateY(5deg) scale(1.02);
}

.parallax-item img {
    transition: transform 0.5s ease;
}

.parallax-item:hover img {
    transform: translateZ(50px);
}

/* 3. Shader Background (Sub-page Banners) */
.shader-bg {
    background: linear-gradient(-45deg, #223d98, #1a2c6d, #a70e13, #8a0c10);
    background-size: 400% 400%;
    animation: shader-mesh 15s ease infinite;
    position: relative;
    overflow: hidden;
}

.shader-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
}

@keyframes shader-mesh {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* 4. Sub-page Banner Styles */
.sub-banner {
    padding: 120px 0 90px;
    /* Further narrowed */
    color: white;
    text-align: center;
    position: relative;
    z-index: 100;
    margin-bottom: -10px;
    /* overflow: hidden; Removed to allow waves to spill out */
}

.sub-banner h1 {
    font-size: 4.8rem;
    /* Slightly larger for the bigger space */
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.sub-banner .breadcrumb {
    justify-content: center;
    background: transparent;
    padding: 0;
    margin: 0;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

.breadcrumb-item.active {
    color: white;
    opacity: 0.8;
}

.breadcrumb-item a {
    color: white;
    text-decoration: none;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.breadcrumb-item a:hover {
    opacity: 1;
}

/* 5. Scroll to Top Button */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--c-brand-blue);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
}

.scroll-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    background-color: var(--c-brand-red);
    transform: translateY(-5px);
}

.scroll-top-btn i {
    font-size: 1.2rem;
}

/* 6. Interactive Particles Container */
.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
    will-change: transform, opacity;
}

/* New Refinements */
.noise-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.12;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    background-size: 80px 80px;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.07) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
    mask-image: linear-gradient(to bottom, black, transparent);
    -webkit-mask-image: linear-gradient(to bottom, black, transparent);
}

.sub-banner .wave-layer {
    height: 40px !important;
    /* Shortened waves specifically for sub-banner */
    bottom: -5px !important;
    opacity: 0.2;
}

.sub-banner .wave-layer-1 {
    height: 30px !important;
    opacity: 1 !important;
    /* Solid color for seamless blend */
    bottom: -2px !important;
}

.sub-banner .wave-layer-2 {
    height: 60px !important;
    opacity: 0.15;
    bottom: -8px !important;
}

.sub-banner .wave-layer-3 {
    height: 70px !important;
    opacity: 0.3;
    bottom: -1px !important;
}

/* ==========================================================================
   Footer Menu Hover Effects
   ========================================================================== */
.hover-accent {
    transition: all 0.3s ease !important;
}

.hover-accent i {
    transition: transform 0.3s ease !important;
}

.hover-accent:hover {
    color: var(--c-brand-red) !important;
}

.hover-accent:hover i {
    transform: translateX(-5px);
    /* Shifting the arrow to the left as requested */
}

/* ==========================================================================
   WhatsApp Floating Button & Pulse Animation
   ========================================================================== */
.whatsapp-float-btn {
    position: fixed;
    bottom: 90px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    animation: pulse-green 2s infinite;
    text-decoration: none;
}

.whatsapp-float-btn:hover {
    transform: scale(1.1);
    color: white;
}

@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}