

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

*::-webkit-scrollbar {
    display: none;
}

:root {
    --header-height: 0px;
}

.reveal-section {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity .6s ease-out, transform .6s ease-out;
    will-change: opacity, transform;
}

.reveal-section.reveal-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================= */
/* ========= GLOBAL MOBILE OVERRIDES ======== */
/* ========================================= */

@media (max-width: 768px) {

    body {
        font-size: clamp(14px, 3.3vw, 17px);
    }

    .section {
        margin: 60px auto;
        padding: 0 5vw;
    }

    img {
        max-width: 100%;
        height: auto;
    }

    /* ====== HERO ====== */
    .hero {
         min-height: calc(98vh - var(--header-height));
    height: calc(98vh - var(--header-height));
        background-attachment: scroll;
        background-position: center;
        align-items: center;
    }

    .hero-content {
        margin-bottom: 60px;
        padding: 0 4vw;
    }

    /* ====== HEADER ====== */
    .header-container {
        padding: 6px 14px;
        margin-top: 0;
    }

    .header-grid {
        grid-template-columns: 1fr 3fr 1fr;
        padding: 0;
    }

    /* Replace nav with mobile drawer later */
    .nav {
        display: none;
    }

    /* ====== SPLIT IMAGES ====== */
    .split-images {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .image-card {
        height: 44vh;
    }

    /* Always show overlay (no hover) */
    .image-card::after {
        opacity: 0.45;
    }

    .image-overlay,
    .image-overlay p,
    .hover-card-btn {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .hover-card-btn {
        width: 12rem;
        height: 48px;
        font-size: 0.85rem;
    }

    /* ====== MID BANNER ====== */
    .mid-banner {
        height: min(100svh, 100dvh);
        padding: 0 4vw;
        text-align: center;
    }

    .mid-banner h2 {
        font-size: clamp(1.4rem, 4.5vw, 2rem);
    }

    /* ====== FEATURE CAROUSEL ====== */
    .feature-section {
        height: 50vh;
        padding: 6vh 0;
    }

    .carousel-arrow {
        display: none;
    }

    .product-carousel {
        gap: 24px;
        padding: 0 20px;
    }

    .product-card {
        flex: 0 0 100%;
    }

    .product-card img {
        height: 38vh;
        object-fit: contain;
    }

    .carousel-dots {
        margin-top: 24px;
    }
}

/* ===== SMALL MOBILE (≤480px) ===== */

@media (max-width: 480px) {

    .hero-content h1 {
        font-size: clamp(1.6rem, 8vw, 2.2rem);
    }

    .image-card {
        height: 44vh;
    }

    .product-card img {
        height: 32vh;
    }
}


/* ================= CORE CTA ================= */
.cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 56px;
    padding: 0 62px;
    font-family: 'buttonsfont';
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 32px;
    cursor: pointer;
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition:
        background-color 0.35s ease,
        color 0.35s ease,
        border-radius 0.35s ease;
}

/* Hover – signature brand moment */
.cta:hover {
    background-color: #001e1d;
    color: #ffffff;
    border-radius: 32px;
}

.cta--sm {
    height: 44px;
    padding: 0 24px;
    font-size: 0.8rem;
}

.cta--dark {
    color: #001e1d;
    border-color: #001e1d;
    backdrop-filter: none;
    padding: 0px 60px;
}

.cta--dark:hover {
    background-color: #001e1d;
    color: #ffffff;
}



.quote-btn {
    margin-top: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid #001e1d;
    color: #000 ;
    background: transparent;
    cursor: pointer;
    font-weight: 600;
    transition:
        background-color 0.35s ease,
        color 0.35s ease,
}

.quote-btn:hover {
    background-color: #001e1d;
    color: #fff;
}

/* ======================================================= HERO =================================================== */


.hero {
    min-height: calc(100vh - var(--header-height));
    height: calc(100vh - var(--header-height));
    margin-top: var(--header-height);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background-image: url("../images/banners/hero_sec_1.png");
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
}


.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.05);
    /* optional subtle dark overlay */
    pointer-events: none;
}

.hero-content {
    position: relative;
    text-align: center;
    margin-bottom: 5rem;
}

/* MOBILE FALLBACK */
@media(max-width: 900px) {
    .hero {
        background-attachment: scroll;
        height: 100vh;
    }

    .hero-content button{
        margin-bottom: 50px;
    }
}



/* ================================================== IMAGE HOVER SECTION =========================================== */

.section {
    width: 100%;
    margin: 100px auto;
}

/* layout */
.split-images {
    display: grid;
    width: 95%;
    margin: auto;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

/* card */
.image-card {
    position: relative;
    width: 100%;
    height: 90vh;
    overflow: hidden;
}

/* image */
.image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* dark hover overlay */
.image-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background-color: #111;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.image-card:hover::after {
    opacity: 0.5;
}

/* overlay container */
.image-overlay {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: #fff;
    z-index: 2;

    transition: bottom 0.45s ease;
}

/* ---------- TEXT SCALE EFFECT (NO FONT-SIZE) ---------- */

.image-overlay h3 {
    transform: scale(1);
    transition: transform 0.45s ease;
}

.image-card:hover .image-overlay h3 {
    transform: scale(1.08);
}

/* paragraph animation */
.image-overlay p {
    opacity: 0;
    transform: translateY(14px) scale(0.98);
    margin-top: 0.5rem;

    transition:
        opacity 0.35s ease,
        transform 0.45s ease;

    transition-delay: 0.05s;
}

.image-card:hover .image-overlay p {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* ---------- BUTTON ---------- */

.hover-card-btn {
    margin-top: 1.2rem;
    opacity: 0;
    transform: translateY(22px);
    height: 44px;
    width: 11rem;
    background: transparent;
    color: #fff;
    border: 1px solid #fff;
    border-radius: 32px;

    font-family: inherit;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;

    cursor: pointer;

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    transition:
        opacity 0.35s ease,
        transform 0.55s ease,
        background-color 0.25s ease,
        color 0.25s ease,
        border-radius 0.35s ease;
    /* 👈 added */

    transition-delay: 0.12s;
}


/* reveal button */
.image-card:hover .hover-card-btn {
    opacity: 1;
    transform: translateY(0);
}

/* button hover – NORMAL & CLEAN */
.hover-card-btn:hover {
    background-color: #001e1d;
    color: #ffffff;
    border-radius: 32px;
}

/* overlay movement */
.image-card:hover .image-overlay {
    bottom: 3rem;
}

/* performance hint */
.image-overlay h3,
.image-overlay p,
.hover-card-btn {
    will-change: transform, opacity;
}

/* ================= TABLET ================= */
@media (max-width: 1024px) {
    .split-images {
        width: 100%;
        gap: 1.5rem;
    }

    .image-card {
        height: 44vh;
    }

    .image-overlay h3 {
        font-size: 1.4rem;
    }
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {
    .section {
        margin: 60px auto;
        padding: 0px 20px;
    }

    .split-images {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
   
    .image-card::after {
        opacity: 0.45;
    }

    .image-overlay {
        bottom: 2.5rem;
    }

    .image-overlay h3 {
        transform: scale(1.05);
    }

    .image-overlay p,
    .hover-card-btn {
        opacity: 1;
        transform: translateY(0);
        transition-delay: 0s;
    }

    .hover-card-btn {
        height: 48px;
        width: 12rem;
        font-size: 0.85rem;
    }
}

/* ================= SMALL MOBILE ================= */
@media (max-width: 480px) {

    .image-overlay h3 {
        font-size: 1.2rem;
    }

    .image-overlay p {
        font-size: 0.9rem;
    }
}


/* =================================================== Mid-BANNER =================================================== */
.mid-banner {
    position: relative;
    background: url(../images/banners/mid-banner-2.jpg);
    background-position: top;
    background-size: cover;
    height: 100vh;
    color: #fff;
    gap: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.mid-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.mid-banner h2,
p {
    position: relative;
    text-align: center;
}

.mid-banner h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.mid-banner p {
    font-size: 16px;
    margin-bottom: 5px;
}

/* ================= FEATURE SECTION ================= */
.feature-section {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    /* horizontal optional */
    align-items: center;
    /* vertical center */
    background: #fff;
    overflow: hidden;
}


/* No width restriction */
.feature-container {
    width: 98%;
    margin: 0 auto;
    text-align: center;
}


/* ================= CAROUSEL ROW ================= */
.carousel-row {
    display: flex;
    align-items: center;
    /* background-color: #333; */
    margin: auto 0;
    width: 100%;
}

/* ================= CAROUSEL WRAPPER ================= */
.carousel-wrapper {
    width: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.carousel-wrapper::-webkit-scrollbar {
    display: none;
}

/* ================= TRACK ================= */
.product-carousel {
    display: flex;
    width: 100%;
    gap: 40px;
    /* FIXED GAP = SAFE */
    padding: 0 40px;
    /* edge breathing space */
    box-sizing: border-box;
}

/* ================= PRODUCT CARD ================= */
.product-card {
    flex: 0 0 calc((100% - 3 * 40px) / 4);
    /* 🔥 EXACT 4 */
    scroll-snap-align: start;
    text-align: center;
    box-sizing: border-box;
}

.product-card a{
    text-decoration: none;
}

/* ================= IMAGE ================= */
.product-card img {
    width: 100%;
    object-fit: contain;
    /* NEVER crop */
    display: block;
    margin: 0 auto 0;
}

/* ================= TEXT ================= */
.product-card h3 {
    font-family: "Playfair Display", serif;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.5;
    margin: 0 auto 0;
    color: #2b2b2b;
}

.product-card p {
    font-size: 15px;
    font-weight: 500;
    margin: 0;
    color: #000;
}

/* ================= ARROWS ================= */
.carousel-arrow {
    background: none;
    border: none;
    cursor: pointer;
    padding: 12px;
}

.carousel-arrow i {
    color: #013836;
}

.feature-btn{
    margin-top: 40px;
}

/* ================= DOTS ================= */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 36px;
}

.carousel-dots .dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #c2c2c2;
}

.carousel-dots .dot.active {
    background: #013836;
}

/* ================= RESPONSIVE ================= */
/* Still full-width, just fewer cards */

/* Tablet: 3 cards */
@media (max-width: 1024px) {
    .product-carousel {
        gap: 32px;
        padding: 0 32px;
    }

    .product-card {
        flex: 0 0 calc((100% - 2 * 32px) / 3);
    }
}

/* Mobile: 1 card */
@media (max-width: 640px) {
    .feature-section{
        height: 70vh;
    }
    .product-carousel {
        gap: 24px;
        padding: 0 20px;
    }

    .product-card {
        flex: 0 0 110%;
    }

    .product-card img {
        height: 400px;
    }
}

/* ==========================================360 CARD =================================================== */

/* ================== 360 COLLECTION SECTION ================== */

.collection-360 {
    width: 100%;
    padding: 70px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.collection-360 h2 {
    font-size: 32px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 20px;
}

.collection-products-wrap {
    width: 100%;
    padding: 0 30px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.collection-product-card {
    width: 100%;
    position: relative;
    overflow: hidden;
    text-align: center;
}

/* Image */
.collection-product-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.collection-product-title {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%) scale(0.9);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    z-index: 2;
    margin: 0;
    text-align: center;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Button overlay */
.collection-product-card .cta {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) scale(0.8);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2;
}

.collection-product-card:hover .collection-product-title {
    transform: translateX(-50%) scale(1);
}


/* Overlay */
.collection-product-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Hover effects */
.collection-product-card:hover .cta {
    opacity: 1;
    transform: translateX(-50%) scale(1);
}

.collection-product-card:hover::after {
    opacity: 1;
}


/* ================== Responsive ================== */

/* Tablet */
@media (max-width: 992px) {
    .collection-products-wrap {
        flex-wrap: wrap;
        justify-content: center;
    }

    .collection-product-card {
        max-width: 300px;
    }
}

@media (max-width: 600px) {
    .collection-products-wrap {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        gap: 16px;
        padding: 0 20px 12px;
        /* bottom space for scrollbar */
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;

        scrollbar-width: thin;
        /* Firefox */
        scrollbar-color: #001e1d #e5e5e5;
        /* thumb track */
    }

    /* Webkit scrollbar (Chrome, Safari, Edge) */
    .collection-products-wrap::-webkit-scrollbar {
        height: 4px;
        /* THIN horizontal bar */
    }

    .collection-products-wrap::-webkit-scrollbar-track {
        background: #e5e5e5;
        border-radius: 10px;
    }

    .collection-products-wrap::-webkit-scrollbar-thumb {
        background: #001e1d;
        border-radius: 10px;
    }

    .collection-product-card {
        min-width: 80%;
        max-width: 80%;
        flex-shrink: 0;
        scroll-snap-align: center;
    }

    .collection-product-card img {
        height: 500px;

    }
}



/* ================== BOOK APPOINTMENT SECTION ================== */

.appointment-section {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: url('../images/banners/mid-banner-2.jpg') center/cover no-repeat;
    position: relative;
}

/* Optional dark overlay */
.appointment-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.appointment-content {
    position: relative;
    text-align: center;
    max-width: 650px;
    padding: 20px;
    color: white;
}

.appointment-content h2 {
    font-size: 42px;
    font-weight: 600;
    margin-bottom: 20px;
}

.appointment-content p {
    font-size: 18px;
    font-weight: 300;
    margin-bottom: 35px;
}

/* Responsive */
@media (max-width: 992px) {
    .appointment-content h2 {
        font-size: 34px;
    }
}

@media (max-width: 600px) {
    .appointment-section {
        height: 100vh;
    }

    .appointment-content h2 {
        font-size: 28px;
    }

    .appointment-content p {
        font-size: 16px;
    }
}


