﻿:root {
    --cwg-brown: #8b5e59;
    --cwg-dark: #241917;
    --cwg-dark-2: #30211e;
    --cwg-gold: #d9b86c;
    --cwg-light-gold: #f1dca1;
    --cwg-cream: #fffaf7;
    --cwg-white: #ffffff;
    --cwg-muted: #796b68;
    --cwg-border: rgba(139, 94, 89, .18);
    --cwg-ease: cubic-bezier(.22, .61, .36, 1);
}


/* =========================================================
   RESET
========================================================= */

html,
body {
    margin: 0 !important;
    padding: 0 !important;
}

    body:has(.cwg-page) {
        margin: 0 !important;
        padding: 0 !important;
        background: var(--cwg-cream);
    }

        body:has(.cwg-page) main.cwg-page {
            width: 100%;
            max-width: none !important;
            margin: 0 !important;
            padding: 0 !important;
        }

.cwg-page {
    width: 100%;
    overflow: hidden;
    background: var(--cwg-cream);
    color: var(--cwg-dark);
    font-family: "Montserrat", sans-serif;
}

    .cwg-page *,
    .cwg-page *::before,
    .cwg-page *::after {
        box-sizing: border-box;
    }

    .cwg-page img {
        display: block;
        width: 100%;
    }


/* =========================================================
   HERO
========================================================= */

.cwg-hero {
    position: relative;
    height: 820px;
    min-height: 100svh;
    overflow: hidden;
    color: #fff;
}

.cwg-hero-image {
    position: absolute;
    inset: 0;
    background: url("https://images.unsplash.com/photo-1519741497674-611481863552?auto=format&fit=crop&w=2400&q=90") center / cover no-repeat;
    transform: scale(1.12);
}

.cwg-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( 90deg, rgba(26,17,15,.88), rgba(26,17,15,.35) 55%, rgba(26,17,15,.20) ), linear-gradient( 0deg, rgba(26,17,15,.72), transparent 55% );
}

.cwg-hero-content {
    position: relative;
    z-index: 3;
    padding-top: 170px;
    margin-left: 10%;
    width: min(560px, 80%);
}

.cwg-overline {
    display: block;
    color: var(--cwg-light-gold);
    font-size: 9px;
    letter-spacing: 5px;
    font-weight: 600;
    margin-bottom: 28px;
}

.cwg-hero h1 {
    margin: 0;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(80px, 9vw, 145px);
    font-weight: 500;
    line-height: .78;
    letter-spacing: -4px;
}

    .cwg-hero h1 span {
        display: block;
        color: var(--cwg-light-gold);
        font-style: italic;
    }

.cwg-hero-content p {
    max-width: 430px;
    margin: 38px 0;
    color: rgba(255,255,255,.78);
    font-size: 13px;
    line-height: 1.9;
}

.cwg-hero-button {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    color: #fff;
    text-decoration: none;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--cwg-gold);
    font-size: 9px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

    .cwg-hero-button span {
        color: var(--cwg-gold);
        font-size: 19px;
    }

.cwg-hero-script {
    position: absolute;
    z-index: 3;
    right: 8%;
    bottom: 16%;
    color: var(--cwg-light-gold);
    font-family: "Cormorant Garamond", serif;
    font-size: 46px;
    line-height: .85;
    font-style: italic;
}

.cwg-scroll {
    position: absolute;
    z-index: 4;
    bottom: 30px;
    left: 10%;
    display: flex;
    align-items: center;
    gap: 14px;
    color: rgba(255,255,255,.65);
    font-size: 8px;
    letter-spacing: 3px;
}

    .cwg-scroll span {
        width: 50px;
        height: 1px;
        background: var(--cwg-gold);
    }


/* =========================================================
   INTRO
========================================================= */

.cwg-intro {
    min-height: 210px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 60px 10%;
    background: var(--cwg-cream);
}

.cwg-intro-line {
    width: 90px;
    height: 1px;
    background: var(--cwg-gold);
}

.cwg-intro p {
    max-width: 680px;
    margin: 0 40px;
    color: var(--cwg-muted);
    font-size: 13px;
    line-height: 1.9;
}

.cwg-intro-count {
    display: flex;
    align-items: center;
    gap: 15px;
}

    .cwg-intro-count strong {
        font-family: "Cormorant Garamond", serif;
        font-size: 70px;
        font-weight: 500;
        color: var(--cwg-brown);
    }

    .cwg-intro-count span {
        font-size: 8px;
        letter-spacing: 2px;
        line-height: 1.7;
        color: var(--cwg-muted);
    }


/* =========================================================
   FILTER
========================================================= */

.cwg-filter-section {
    padding: 100px 10% 50px;
    background: #f7eeea;
}

.cwg-filter-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 40px;
}

    .cwg-filter-heading > span {
        color: var(--cwg-brown);
        font-size: 9px;
        letter-spacing: 4px;
    }

    .cwg-filter-heading h2 {
        margin: 0;
        font-family: "Cormorant Garamond", serif;
        font-size: clamp(48px, 5vw, 75px);
        line-height: .85;
        font-weight: 500;
    }

        .cwg-filter-heading h2 em {
            color: var(--cwg-brown);
        }

.cwg-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cwg-filter-btn {
    appearance: none;
    border: 1px solid var(--cwg-border);
    background: transparent;
    padding: 12px 18px;
    color: var(--cwg-dark);
    font-size: 8px;
    letter-spacing: 2px;
    cursor: pointer;
    transition: background .3s ease, color .3s ease, transform .3s ease;
}

    .cwg-filter-btn:hover,
    .cwg-filter-btn.active {
        background: var(--cwg-brown);
        color: #fff;
        transform: translateY(-2px);
    }


/* =========================================================
   COLLAGE WALL
========================================================= */

.cwg-wall {
    position: relative;
    min-height: 3200px;
    padding: 100px 6% 180px;
    background: radial-gradient( circle at 30% 20%, rgba(139,94,89,.12), transparent 28% ), var(--cwg-cream);
}

.cwg-wall-word {
    position: absolute;
    top: 650px;
    left: 50%;
    transform: translateX(-50%);
    font-family: "Cormorant Garamond", serif;
    font-size: 280px;
    color: rgba(139,94,89,.045);
    pointer-events: none;
}


/* =========================================================
   COMMON PIECE
========================================================= */

.cwg-piece {
    position: absolute;
    overflow: hidden;
    transition: opacity .5s ease, transform .7s var(--cwg-ease), filter .5s ease;
}

    .cwg-piece:hover {
        z-index: 20;
    }

.cwg-image-link {
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

    .cwg-image-link img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 1.2s var(--cwg-ease), filter .8s ease;
    }

.cwg-piece:hover .cwg-image-link img {
    transform: scale(1.07);
}


/* =========================================================
   MAIN
========================================================= */

.piece-main {
    top: 100px;
    left: 7%;
    width: 51%;
    height: 650px;
    transform: rotate(-1.2deg);
    border: 1px solid rgba(217,184,108,.5);
}

    .piece-main::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient( 0deg, rgba(28,17,15,.75), transparent 55% );
        pointer-events: none;
    }


/* =========================================================
   STAGE
========================================================= */

.piece-stage {
    top: 250px;
    right: 7%;
    width: 31%;
    height: 380px;
    transform: rotate(2deg);
}

    .piece-stage::after,
    .piece-flower::after,
    .piece-entrance::after,
    .piece-haldi::after,
    .piece-mehndi::after,
    .piece-reception::after,
    .piece-lighting::after,
    .piece-ceiling::after,
    .piece-dining::after,
    .piece-photo::after,
    .piece-traditional::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient( 0deg, rgba(25,16,14,.68), transparent 60% );
        pointer-events: none;
    }


/* =========================================================
   FLOWER
========================================================= */

.piece-flower {
    top: 700px;
    left: 10%;
    width: 27%;
    height: 360px;
    transform: rotate(2deg);
}


/* =========================================================
   ENTRANCE
========================================================= */

.piece-entrance {
    top: 760px;
    left: 39%;
    width: 32%;
    height: 440px;
    transform: rotate(-1deg);
}


/* =========================================================
   HALDI
========================================================= */

.piece-haldi {
    top: 820px;
    right: 7%;
    width: 24%;
    height: 330px;
    transform: rotate(2.5deg);
}


/* =========================================================
   MEHNDI
========================================================= */

.piece-mehndi {
    top: 1230px;
    left: 7%;
    width: 31%;
    height: 380px;
    transform: rotate(-2deg);
}


/* =========================================================
   SANGEET
========================================================= */

.piece-sangeet {
    top: 1280px;
    right: 7%;
    width: 51%;
    height: 590px;
    transform: rotate(.5deg);
}

    .piece-sangeet::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient( 90deg, rgba(20,12,14,.75), transparent 70% );
        pointer-events: none;
    }


/* =========================================================
   RECEPTION
========================================================= */

.piece-reception {
    top: 1680px;
    left: 8%;
    width: 34%;
    height: 350px;
    transform: rotate(1.5deg);
}


/* =========================================================
   LIGHTING
========================================================= */

.piece-lighting {
    top: 1920px;
    left: 45%;
    width: 23%;
    height: 370px;
    transform: rotate(-2deg);
}


/* =========================================================
   CEILING
========================================================= */

.piece-ceiling {
    top: 1950px;
    right: 7%;
    width: 24%;
    height: 330px;
    transform: rotate(2deg);
}


/* =========================================================
   DINING
========================================================= */

.piece-dining {
    top: 2330px;
    left: 7%;
    width: 26%;
    height: 340px;
    transform: rotate(-2deg);
}


/* =========================================================
   PHOTO
========================================================= */

.piece-photo {
    top: 2350px;
    left: 35%;
    width: 27%;
    height: 350px;
    transform: rotate(1.5deg);
}


/* =========================================================
   TRADITIONAL
========================================================= */

.piece-traditional {
    top: 2290px;
    right: 7%;
    width: 28%;
    height: 380px;
    transform: rotate(-1.5deg);
}


/* =========================================================
   LUXURY
========================================================= */

.piece-luxury {
    top: 2710px;
    left: 9%;
    width: 48%;
    height: 480px;
    transform: rotate(-.5deg);
}

    .piece-luxury::after,
    .piece-custom::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient( 90deg, rgba(20,12,11,.75), transparent 70% );
        pointer-events: none;
    }


/* =========================================================
   CUSTOM
========================================================= */

.piece-custom {
    top: 2780px;
    right: 8%;
    width: 32%;
    height: 410px;
    transform: rotate(2deg);
}


/* =========================================================
   LABELS
========================================================= */

.cwg-piece-label,
.cwg-mini-label,
.cwg-sangeet-content,
.cwg-luxury-content,
.cwg-custom-content {
    position: absolute;
    z-index: 5;
}

.cwg-piece-label {
    left: 35px;
    bottom: 35px;
    max-width: 350px;
    color: #fff;
}

    .cwg-piece-label small,
    .cwg-mini-label small,
    .cwg-sangeet-content small,
    .cwg-luxury-content small,
    .cwg-custom-content small {
        font-family: "Cormorant Garamond", serif;
        font-size: 32px;
    }

    .cwg-piece-label h3,
    .cwg-mini-label h3,
    .cwg-sangeet-content h3,
    .cwg-luxury-content h3,
    .cwg-custom-content h3 {
        margin: 8px 0;
        font-family: "Cormorant Garamond", serif;
        font-size: 42px;
        line-height: .85;
        font-weight: 500;
    }

        .cwg-piece-label h3 span,
        .cwg-mini-label h3 span,
        .cwg-sangeet-content h3 span,
        .cwg-luxury-content h3 span,
        .cwg-custom-content h3 span {
            display: block;
            color: var(--cwg-light-gold);
            font-style: italic;
        }

    .cwg-piece-label p {
        color: rgba(255,255,255,.76);
        font-size: 11px;
        line-height: 1.7;
        max-width: 300px;
    }

.cwg-view-btn {
    appearance: none;
    border: 0;
    border-bottom: 1px solid var(--cwg-gold);
    background: transparent;
    color: #fff;
    padding: 8px 0;
    font-size: 9px;
    letter-spacing: 2px;
    cursor: pointer;
}


/* =========================================================
   MINI LABEL
========================================================= */

.cwg-mini-label {
    left: 22px;
    bottom: 22px;
    color: #fff;
}

    .cwg-mini-label h3 {
        font-size: 30px;
    }


/* =========================================================
   SANGEET
========================================================= */

.cwg-sangeet-content {
    left: 40px;
    bottom: 45px;
    color: #fff;
}

    .cwg-sangeet-content h3 {
        font-size: 58px;
    }

    .cwg-sangeet-content p {
        max-width: 340px;
        color: rgba(255,255,255,.78);
        font-size: 11px;
        line-height: 1.8;
    }


/* =========================================================
   LUXURY
========================================================= */

.cwg-luxury-content {
    left: 40px;
    bottom: 45px;
    color: #fff;
}

    .cwg-luxury-content h3 {
        font-size: 60px;
    }

    .cwg-luxury-content p {
        max-width: 340px;
        color: rgba(255,255,255,.78);
        font-size: 12px;
        line-height: 1.8;
    }


/* =========================================================
   CUSTOM
========================================================= */

.cwg-custom-content {
    left: 30px;
    bottom: 35px;
    color: #fff;
}

    .cwg-custom-content h3 {
        font-size: 48px;
    }

    .cwg-custom-content p {
        color: rgba(255,255,255,.8);
        font-size: 11px;
    }


/* =========================================================
   FILTER HIDDEN STATE
========================================================= */

.cwg-piece.cwg-hidden {
    opacity: 0;
    pointer-events: none;
    transform: scale(.85) translateY(50px) !important;
    filter: blur(8px);
}


/* =========================================================
   FINAL
========================================================= */

.cwg-final {
    position: relative;
    min-height: 720px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #fff;
}

.cwg-final-bg {
    position: absolute;
    inset: 0;
    background: url("https://images.unsplash.com/photo-1519167758481-83f550bb49b3?auto=format&fit=crop&w=2400&q=90") center / cover no-repeat;
    transform: scale(1.1);
}

.cwg-final-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( 90deg, rgba(30,19,17,.88), rgba(30,19,17,.35) );
}

.cwg-final-content {
    position: relative;
    z-index: 3;
    width: min(750px, 85%);
    margin: auto;
    text-align: center;
}

    .cwg-final-content > span {
        color: var(--cwg-light-gold);
        font-size: 9px;
        letter-spacing: 4px;
    }

    .cwg-final-content h2 {
        margin: 30px 0;
        font-family: "Cormorant Garamond", serif;
        font-size: clamp(65px, 8vw, 115px);
        line-height: .83;
        font-weight: 500;
    }

        .cwg-final-content h2 em {
            color: var(--cwg-light-gold);
            font-style: italic;
        }

    .cwg-final-content p {
        max-width: 450px;
        margin: 0 auto 35px;
        color: rgba(255,255,255,.76);
        font-size: 13px;
        line-height: 1.9;
    }

    .cwg-final-content a {
        display: inline-flex;
        align-items: center;
        gap: 20px;
        color: #fff;
        text-decoration: none;
        padding-bottom: 12px;
        border-bottom: 1px solid var(--cwg-gold);
        font-size: 10px;
        letter-spacing: 3px;
    }

        .cwg-final-content a span {
            color: var(--cwg-gold);
            font-size: 20px;
        }


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1000px) {

    .cwg-wall {
        min-height: auto;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 80px 6%;
    }

    .cwg-wall-word {
        display: none;
    }

    .cwg-piece {
        position: relative;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        width: 100% !important;
        height: 400px;
        transform: none !important;
    }

    .piece-main,
    .piece-sangeet,
    .piece-luxury {
        grid-column: span 2;
    }
}


@media (max-width: 650px) {

    .cwg-hero {
        min-height: 680px;
        height: 680px;
    }

    .cwg-hero-content {
        margin-left: 7%;
        padding-top: 120px;
    }

    .cwg-hero h1 {
        font-size: 72px;
    }

    .cwg-hero-script {
        display: none;
    }

    .cwg-intro {
        display: block;
        padding: 70px 7%;
    }

    .cwg-intro-line {
        margin-bottom: 30px;
    }

    .cwg-intro p {
        margin: 0 0 30px;
    }

    .cwg-filter-section {
        padding: 80px 7% 40px;
    }

    .cwg-filter-heading {
        display: block;
    }

        .cwg-filter-heading h2 {
            margin-top: 20px;
        }

    .cwg-filter {
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
    }

        .cwg-filter::-webkit-scrollbar {
            display: none;
        }

    .cwg-filter-btn {
        flex: 0 0 auto;
    }

    .cwg-wall {
        display: block;
        padding: 50px 5% 100px;
    }

    .cwg-piece,
    .piece-main,
    .piece-stage,
    .piece-flower,
    .piece-entrance,
    .piece-haldi,
    .piece-mehndi,
    .piece-sangeet,
    .piece-reception,
    .piece-lighting,
    .piece-ceiling,
    .piece-dining,
    .piece-photo,
    .piece-traditional,
    .piece-luxury,
    .piece-custom {
        width: 100% !important;
        height: 380px;
        margin-bottom: 25px;
        transform: none !important;
    }

    .cwg-piece-label h3,
    .cwg-sangeet-content h3,
    .cwg-luxury-content h3 {
        font-size: 42px;
    }

    .cwg-final {
        min-height: 620px;
    }
}
