@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');


*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
}

body {
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

input,
button,
textarea,
select {
    font: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
    overflow-wrap: break-word;
}

ul,
ol {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    cursor: pointer;
    background: none;
    border: none;
}


:root {
    --primary-color: #A0522D;
    --background-color: #F5EFE6;
    --text-color: #1A1A1A;
    --font-primary: 'Playfair Display', serif;
    --font-secondary: 'DM Sans', sans-serif;
}

/* =========================================
   SCROLL ANIMATIONS
   ========================================= */

/* Base class for all animated elements */
.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.5, 0, 0, 1), transform 0.8s cubic-bezier(0.5, 0, 0, 1);
    will-change: opacity, transform;
}

/* Variantes d'animation - Définissent l'état INITIAL (caché/décalé) */

/* Fade Up (Standard) */
.animate-on-scroll.fade-up {
    transform: translateY(40px);
}

/* Fade Down */
.animate-on-scroll.fade-down {
    transform: translateY(-40px);
}

/* Fade Left */
.animate-on-scroll.fade-left {
    transform: translateX(-40px);
}

/* Fade Right */
.animate-on-scroll.fade-right {
    transform: translateX(40px);
}

/* Zoom In */
.animate-on-scroll.zoom-in {
    transform: scale(0.95);
}

/* LARGE ANIMATIONS FOR TITLES */
.animate-on-scroll.fade-up-large {
    transform: translateY(60px) scale(0.95);
    transition-duration: 1s;
}

.animate-on-scroll.zoom-in-large {
    transform: scale(0.8);
    transition-duration: 1s;
}

/* State when element is visible - DOIT ETRE APRES LES VARIANTES POUR GAGNER LA PRIORITE CSS */
.animate-on-scroll.is-visible {
    opacity: 1;
    transform: perspective(1000px) rotateX(0) rotateY(0) scale(1) translate(0, 0);
}

/* Blur Reveal (Optional, for cooler effect) */
.animate-on-scroll.blur-reveal {
    filter: blur(10px);
    transition: opacity 0.8s ease, transform 0.8s ease, filter 0.8s ease;
}

.animate-on-scroll.blur-reveal.is-visible {
    filter: blur(0);
}


/* Stagger Delays (Délais en cascade) */
.delay-100 {
    transition-delay: 100ms;
}

.delay-200 {
    transition-delay: 200ms;
}

.delay-300 {
    transition-delay: 300ms;
}

.delay-400 {
    transition-delay: 400ms;
}

.delay-500 {
    transition-delay: 500ms;
}

.delay-600 {
    transition-delay: 600ms;
}

/* NAVBAR LOAD ANIMATION (Desktop Only) */
@media (min-width: 901px) {

    /* Apply animation to contents, NOT the li itself to avoid containing block issues for mega-menu */
    header nav .logo,
    header nav ul li a,
    header nav .items {
        opacity: 0;
        animation: fadeInDown 0.8s forwards;
        display: inline-block;
        /* Required for transform animation on anchors */
    }

    header nav .logo {
        animation-delay: 0.1s;
    }

    header nav ul li:nth-child(1) a {
        animation-delay: 0.2s;
    }

    header nav ul li:nth-child(2) a {
        animation-delay: 0.3s;
    }

    header nav ul li:nth-child(3) a {
        animation-delay: 0.4s;
    }

    header nav ul li:nth-child(4) a {
        animation-delay: 0.5s;
    }

    header nav .items {
        animation-delay: 0.6s;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


html,
body {
    font-family: var(--font-secondary);
    background-color: var(--background-color);
    color: var(--text-color);
    font-family: var(--font-secondary);
    overflow-x: hidden;
    width: 100%;
}

.color-text {
    color: var(--primary-color);
}

header {
    height: 100svh;
    width: 100%;
}

header nav {
    display: flex;
    height: 100px;
    width: 100%;
    padding: 0 5%;
    justify-content: space-between;
    align-items: center;
    background-color: var(--background-color);
}

header nav .logo {
    width: clamp(50px, 8vw, 70px);
}

header nav .logo * {
    fill: black;
    width: 100%;
}

header nav ul {
    display: flex;
    align-items: center;
    gap: 20px;
}

header nav ul li {
    cursor: pointer;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease;
}

header nav ul li:hover {
    color: var(--primary-color);
}

header nav .items {
    display: flex;
    gap: 25px;
}

header nav .items img {
    width: clamp(25px, 5vw, 30px);
    height: clamp(25px, 5vw, 30px);
    cursor: pointer;
    object-fit: contain;
    transition: transform 0.3s ease, filter 0.3s ease;
}

header nav .items img:hover {
    transform: scale(1.15);
    filter: drop-shadow(0 2px 4px rgba(160, 82, 45, 0.4));
}

header nav .items .cart-content {
    position: relative;
}

header nav .items .cart-content .count {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    right: 0;
    transform: translate(25%, -25%);
    color: var(--background-color);
    font-family: var(--font-secondary);
    font-weight: 600;
    font-size: clamp(9px, 1.5vw, 11px);
    height: clamp(15px, 2.5vw, 18px);
    width: clamp(15px, 2.5vw, 18px);
    border-radius: 50%;
    background-color: var(--primary-color);
    pointer-events: none;
    /* Avoid blocking clicks */
}

header .hero {
    position: relative;
    display: flex;
    flex-direction: column;
    height: calc(100% - 100px);
    z-index: 1;
}

header .hero .shape {
    position: absolute;
    left: -5%;
    height: 100%;
    width: 100%;
    z-index: -1;
}

header .hero .hero-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    height: 60px;
    width: 100%;
    padding: 0 5%;
    background-color: var(--primary-color);
    color: var(--background-color);
    font-weight: 500;
    /* Slightly lighter weight for the sentence, strong tag handles bold */
    font-size: clamp(12px, 1.5vw, 16px);
    letter-spacing: 0.5px;
}

header .hero .hero-content {
    display: flex;
    height: 100%;
    align-items: center;
    padding: 0 0 0 5%;
}

header .hero .hero-content .hero-content-left {
    width: 50%;
}

header .hero .hero-content .hero-content-left h1 {
    font-family: var(--font-primary);
    font-size: clamp(32px, 5vw, 70px);
    font-weight: 800;
    line-height: 1.1;
}

header .hero .hero-content .hero-content-left p {
    margin-top: 15px;
    font-weight: 500;
    font-size: clamp(14px, 2vw, 20px);
}

header .hero .hero-content .hero-content-left .btn-content {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

header .hero .hero-content .hero-content-left .btn-content .btn {
    display: flex;
    align-items: center;
    height: 55px;
    padding: 15px 25px;
    border: 1px solid var(--primary-color);
    background-color: var(--primary-color);
    color: var(--background-color);
    font-size: clamp(12px, 1.5vw, 15px);
    transition: all 0.3s ease;
    cursor: pointer;
}

header .hero .hero-content .hero-content-left .btn-content .btn:first-of-type {
    border-top-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

header .hero .hero-content .hero-content-left .btn-content .btn:last-child {
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    background-color: transparent;
    color: var(--primary-color);
    padding-left: 15px;
}

header .hero .hero-content .hero-content-left .btn-content .btn:first-of-type:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(160, 82, 45, 0.3);
    /* Premium lift & shadow */
}

header .hero .hero-content .hero-content-left .btn-content .btn:last-child:hover {
    background-color: var(--primary-color);
    color: var(--background-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(160, 82, 45, 0.3);
}

header .hero .hero-content .hero-content-left .btn-content .btn:last-child:hover img {
    animation: wiggle 0.6s ease-in-out;
    filter: brightness(0) invert(1);
    /* Turn icon white on hover */
}

@keyframes wiggle {

    0%,
    100% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(-15deg);
    }

    50% {
        transform: rotate(15deg);
    }

    75% {
        transform: rotate(-5deg);
    }
}

header .hero .hero-content .hero-content-right {
    position: relative;
    height: 100%;
    width: 50%;
    z-index: -2;
}

header .hero .hero-content .hero-content-right img {
    position: absolute;
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: right;
}

section.valour {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    padding: 50px 5%;
    ;
}

section.valour .valour-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

section.valour .valour-content img {
    width: 100px;
    margin-bottom: 15px;
}

section.valour .valour-content .valour-text {
    display: flex;
    flex-direction: column;
    align-items: center;
}

section.valour .valour-content .valour-text h2 {
    font-size: clamp(22px, 3vw, 32px);
    font-family: var(--font-primary);
    font-weight: 400;
}

section.valour .valour-content .valour-text p {
    font-size: clamp(14px, 1.8vw, 18px);
    max-width: 350px;
    text-align: center;
}

section.best-seller {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 50px 5%
}

section.best-seller .title {
    display: flex;
    flex-direction: column;
    align-items: center;
}

section.best-seller .title h2 {
    font-weight: 700;
    font-size: 15px;
    color: var(--primary-color);
}

section.best-seller .title .title-content,
section.atelier .title-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

section.best-seller .title .title-content p.title {
    font-family: var(--font-primary);
    color: var(--text-color);
    font-size: clamp(28px, 4vw, 50px);
    font-weight: 800;
}

section.best-seller .title .title-content img {
    width: 65px;
}

section.best-seller .title p {
    margin-top: 5px;
    font-size: 16px;
    max-width: 80%;
    text-align: center;
    color: var(--primary-color);
}

section.best-seller .best-seller-content,
section.candle-chantilly .candle-chantilly-content,
section.bouquet .bouquet-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
    margin-top: 50px;
}

section.best-seller .best-seller-content .sell-content,
section.candle-chantilly .candle-chantilly-content .candle-content,
section.bouquet .bouquet-container .bouquet-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: calc(100% / 4.2);
}

section.best-seller .best-seller-content .sell-content .img-container,
section.candle-chantilly .candle-chantilly-content .candle-content .img-container,
section.bouquet .bouquet-container .bouquet-content .img-container {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 25px;
    overflow: hidden;
}

section.best-seller .best-seller-content .sell-content .img-container .cart,
section.candle-chantilly .candle-chantilly-content .candle-content .img-container .cart,
section.bouquet .bouquet-container .bouquet-content .cart {
    position: absolute;
    z-index: 10;
    cursor: pointer;
    top: 15px;
    right: 15px;
    height: 45px;
    width: 45px;
    transition: transform 0.3s ease;
}

section.best-seller .best-seller-content .sell-content .img-container .cart:hover,
section.candle-chantilly .candle-chantilly-content .candle-content .img-container .cart:hover,
section.bouquet .bouquet-container .bouquet-content .cart:hover {
    transform: scale(1.1);
}

section.best-seller .best-seller-content .sell-content .img-container .arrow,
section.candle-chantilly .candle-chantilly-content .candle-content .img-container .arrow,
section.bouquet .bouquet-container .bouquet-content .arrow {
    opacity: 0;
    z-index: 10;
    cursor: pointer;
    position: absolute;
    bottom: 10px;
    right: 20px;
    transition: all 0.3s ease;
}

section.best-seller .best-seller-content .sell-content .img-container .arrow:hover,
section.candle-chantilly .candle-chantilly-content .candle-content .img-container .arrow:hover,
section.bouquet .bouquet-container .bouquet-content .arrow:hover {
    transform: scale(1.1);
}

section.best-seller .best-seller-content .sell-content .img-container:hover .arrow,
section.candle-chantilly .candle-chantilly-content .candle-content .img-container:hover .arrow,
section.bouquet .bouquet-container .bouquet-content:hover .arrow {
    opacity: 1;
}

section.best-seller .best-seller-content .sell-content .img-container .article-img,
section.candle-chantilly .candle-chantilly-content .candle-content .img-container .article-img,
section.bouquet .bouquet-container .bouquet-content .article-img {
    transition: all 0.3s ease;
    cursor: pointer;
}

section.best-seller .best-seller-content .sell-content .img-container:hover .article-img,
section.candle-chantilly .candle-chantilly-content .candle-content .img-container:hover .article-img,
section.bouquet .bouquet-container .bouquet-content:hover .article-img {
    transform: scale(1.1);
    border-radius: 25px;
}

section.best-seller .best-seller-content .sell-content h3,
section.candle-chantilly .candle-chantilly-content .candle-content h3,
section.bouquet .bouquet-container .bouquet-content h3 {
    font-family: var(--font-primary);
    font-size: 22px;
    font-weight: 600;
    margin-top: 10px;
}

section.best-seller .best-seller-content .sell-content p,
section.candle-chantilly .candle-chantilly-content .candle-content p,
section.bouquet .bouquet-container .bouquet-content p {
    font-size: 15px;
}

section.best-seller .more,
section.candle-chantilly .more,
section.bouquet .more {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 50px;
    gap: 10px;
    cursor: pointer;
}

section.best-seller .more p,
section.candle-chantilly .more p,
section.bouquet .more p {
    font-size: 16px;
    font-weight: 600;
    transition: opacity 0.3s ease;
    color: var(--primary-color);
}

section.best-seller .more img,
section.candle-chantilly .more img,
section.bouquet .more img {
    width: 25px;
    transition: opacity 0.3s ease;
}

section.best-seller .more:hover *,
section.candle-chantilly .more:hover *,
section.bouquet .more:hover * {
    opacity: 0.75;
}

.candle-chantilly,
section.bouquet {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 50px 5%
}

.candle-chantilly .title-content,
section.bouquet .title-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.candle-chantilly .title-content .title,
section.bouquet .title-content .title {
    position: relative;
    display: flex;
    align-items: center;
    gap: 5px;
}

.candle-chantilly .title-content .title h2,
section.bouquet .title-content .title h2,
section.atelier .title-content h2 {
    font-family: var(--font-primary);
    font-size: clamp(28px, 4vw, 50px);
    font-weight: 800;
}

.candle-chantilly .title-content .title img,
section.bouquet .title-content .title img {
    width: 70px;
    padding-bottom: 20px;
    position: absolute;
    right: -70px;
}

.candle-chantilly .title-content p,
section.bouquet .title-content p {
    font-size: 16px;
    max-width: 80%;
    text-align: center;
    color: var(--primary-color);
}

section.transition {
    padding: 75px 0;
    background-color: var(--primary-color);
    color: var(--background-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

section.transition p {
    font-family: var(--font-primary);
    color: var(--background-color);
    text-align: center;
    max-width: 80%;
    font-size: clamp(24px, 5vw, 70px);
    font-weight: 800;
    line-height: 1.1;
}

section.atelier {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 50px 5%
}

section.atelier .title-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

section.atelier .title-content p {
    margin-top: 5px;
    font-size: 16px;
    max-width: 50%;
    text-align: center;
    color: var(--primary-color);
}

section.atelier .atelier-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    width: 100%;
    margin-top: 50px;
}

section.atelier .atelier-container .atelier-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: calc(100% / 4);
}

section.atelier .atelier-container .atelier-content .atelier-img {
    width: 400px;
    height: 260px;
    object-fit: contain;
}

section.atelier .atelier-container .atelier-content .text {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: start;
}

section.atelier .atelier-container .atelier-content h3 {
    font-family: var(--font-primary);
    color: var(--primary-color);
    font-size: clamp(24px, 3.5vw, 44px);
    font-weight: 600;
    margin-top: 10px;
    width: 100%;
    text-align: start;
}

section.atelier .atelier-container .atelier-content p {
    font-size: 15px;
    color: var(--primary-color);
    text-align: start;
}

section.atelier .about {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5%;
    width: 100%;
    margin-top: 100px;
}

section.atelier .about .img-container {
    position: relative;
    width: 40%;
}

section.atelier .about .img-container img.about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 2;
    /* Put image on top */
}

section.atelier .about .img-container img.shape {
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: 0;
    z-index: 10;
    /* Put shape behind image but above background */
    /* Slight offset to make sure it's visible if it was perfectly behind */
}

section.atelier .about .text-content {
    position: relative;
    width: 50%;
    padding: 0 5%;
}

section.atelier .about .text-content .bg-img {
    position: absolute;
    width: 70%;
    height: 70%;
    top: -25%;
    right: -10%;
    rotate: 20deg;
    object-fit: cover;
    z-index: -1;
    opacity: 0.20;
}

section.atelier .about .text-content p.title {
    font-family: var(--font-primary);
    color: var(--primary-color);
    font-size: clamp(32px, 4vw, 50px);
    font-weight: 600;
}

section.atelier .about .text-content p.desc {
    font-size: clamp(16px, 2vw, 25px);
}

section.atelier .about .text-content button {
    display: flex;
    align-items: center;
    height: 55px;
    padding: 15px 25px;
    border: 1px solid var(--primary-color);
    background-color: var(--primary-color);
    color: var(--background-color);
    font-size: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
    margin-top: 15px;
    border-top-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

section.atelier .about .text-content button:hover {
    /* Premium Hover Effect */
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(160, 82, 45, 0.3);
}

footer {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 50px 5%;
    background-color: var(--primary-color);
    color: var(--background-color);
}

footer .line {
    height: 1px;
    width: 100%;
    background-color: var(--background-color);
    opacity: 0.20;
    margin: 40px 0;
}

footer .newsletter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

footer .newsletter .text h2 {
    font-family: var(--font-primary);
    color: var(--background-color);
    font-size: clamp(28px, 4vw, 50px);
    font-weight: 800;
}

footer .newsletter .text p {
    font-size: 15px;
    color: var(--background-color);
    max-width: 70%;
}

footer .newsletter .input-content {
    display: flex;
    align-items: center;
    align-self: flex-end;
    gap: 10px;
}

footer .newsletter .input-content input {
    height: 40px;
    padding: 0 15px;
    background-color: transparent;
    color: var(--background-color);
    border: none;
    border-bottom: 1px solid #f5efe648;
    width: 250px;
    outline: none;
}

footer .newsletter .input-content input::placeholder {
    color: var(--background-color);
    opacity: 0.75;
}

footer .newsletter .input-content input:autofill {
    box-shadow: 0 0 0px 1000px transparent inset;
    -webkit-text-fill-color: transparent;
}

footer .newsletter .input-content button {
    display: flex;
    align-items: center;
    height: 40px;
    padding: 15px 25px;
    border: 1px solid var(--background-color);
    background-color: var(--background-color);
    color: var(--primary-color);
    font-size: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
    border-top-right-radius: 20px;
    border-bottom-left-radius: 20px;
}

footer .newsletter .input-content button:hover {
    /* Premium Hover Effect */
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(245, 239, 230, 0.2);
    /* Lighter shadow since it's on dark background */
}

footer .links {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 40px;
}

footer .links .link-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

footer .links .link-content h3 {
    position: relative;
    font-family: var(--font-primary);
    color: var(--background-color);
    font-size: 22px;
    font-weight: 500;
}

footer .links .link-content h3::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 35px;
    background-color: var(--background-color);
    transition: width 0.3s ease;
}

footer .links .link-content ul {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

footer .links .link-content ul li {
    font-size: 15px;
    color: var(--background-color);
    transition: opacity 0.3s ease;
    opacity: 0.95;
}

footer .links .link-content ul li:hover {
    opacity: 0.7;
}

footer .links .link-content .social-links {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

footer .links .link-content .social-links li {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 50%;
    background-color: var(--background-color);
}

footer .links .link-content .social-links li svg {
    width: 20px;
    height: 20px;
    fill: var(--primary-color);
}

footer .end {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 250px;
}

footer .end .left {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

footer .end .left p {
    font-size: 15px;
    color: var(--background-color);
}

footer .end .right {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 20px;
}

footer .end .right .contact {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 100%;
    width: 100%;
}

footer .end .right .contact .contact-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
    height: 100%;
    width: 100%;
}

footer .end .right .contact .contact-content p.title {
    font-family: var(--font-primary);
    color: var(--background-color);
    font-size: 30px;
    font-weight: 600;
}

footer .end .right .contact .contact-content input {
    display: flex;
    justify-content: start;
    align-items: flex-start;
    height: 40px;
    padding: 15px 12px;
    background-color: transparent;
    color: var(--background-color);
    border: none;
    border-bottom: 1px solid #f5efe648;
    width: 100%;
    outline: none;
}

footer .end .right .contact .contact-content input::placeholder,
footer .end .right .contact .contact-content textarea::placeholder {
    color: var(--background-color);
    opacity: 0.75;
}

footer .end .right .contact .contact-content textarea {
    height: 100%;
    padding: 15px;
    background-color: transparent;
    color: var(--background-color);
    border: none;
    border-bottom: 1px solid #f5efe648;
    width: 100%;
    outline: none;
    resize: none;
}

footer .end .right .contact button {
    display: flex;
    align-items: center;
    height: 40px;
    padding: 15px 25px;
    border: 1px solid var(--background-color);
    background-color: var(--background-color);
    color: var(--primary-color);
    font-size: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
    border-top-right-radius: 20px;
    border-bottom-left-radius: 20px;
    align-self: flex-end;
}

footer .end .right .contact button:hover {
    /* Premium Hover Effect */
    background-color: var(--background-color);
    /* Keep background color (white) but add lift/shadow */
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(245, 239, 230, 0.2);
}



footer .end .right ul {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Mega Menu Styles */
header nav {
    position: relative;
    /* Context for mega menu positioning */
}

/* Ensure submenu item doesn't trap the absolute positioning */
header nav ul li.has-submenu {
    position: static;
}

/* Invisible bridge to keep menu open */
header nav ul li.has-submenu::after {
    content: '';
    position: absolute;
    top: 50%;
    /* Start halfway down the link */
    left: 0;
    width: 100%;
    height: 100px;
    /* Large enough to cover the gap and more */
    background: transparent;
    z-index: 100;
    display: none;
    /* Hide by default */
}

header nav ul li.has-submenu:hover::after {
    display: block;
    /* Show on hover */
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--background-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    /* Softer shadow */
    padding: 40px 5%;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    /* CRITICAL: Prevent stealing clicks when hidden */
    transition: all 0.3s ease;
    z-index: 999;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    /* Subtle separation */
}

header nav ul li.has-submenu:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    /* Re-enable clicks when visible */
}

.menu-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 3 equal columns */
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.menu-content .category {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.menu-content .category h3 {
    font-family: var(--font-primary);
    font-size: 18px;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(160, 82, 45, 0.2);
    /* Subtle underline for title */
    padding-bottom: 10px;
    width: fit-content;
}

.menu-content .category ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
    /* Reset align-items from nav ul */
}

.menu-content .category ul li {
    font-size: 15px;
    /* Reset font size */
    font-weight: 400;
    text-transform: none;
    /* Keep natural reading */
    color: var(--text-color);
    padding: 0;
}

.menu-content .category ul li a {
    transition: padding-left 0.3s ease, color 0.3s ease;
    display: block;
}

.menu-content .category ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
    /* Subtle movement */
}

/* Utility class to lock scroll */
body.no-scroll {
    overflow: hidden;
}