/*=======================================================
    Andrea and Diego Wedding Theme - UNIVERSAL RESPONSIVE
    Mobile (320px) → MacBook Air (1280×832) → 4K (3840px)
    Optimized for all common screen sizes
========================================================= */

/* ========================================================
   CSS VARIABLES
========================================================= */
:root {
    /* Color Palette */
    --bg-primary: rgb(20, 18, 16);
    --bg-wherewhen: rgb(246, 239, 222);
    --bg-detailsfaq: rgb(223, 217, 201);
    --bg-greens: rgba(54, 53, 11, 0.5);
    --bg-greens-solid: rgb(54, 53, 11);
    --bg-giftregistry: #36350b;
    --txt-color-wheat: #dfd9c9;
    --bg-color-html: #d3ccba;
    --bg-color-bodygreen: #36350b;
    
    /* Responsive Spacing System */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 5rem;
}


/* ========================================================
   FONT FACES
========================================================= */
@font-face {
    font-family: 'Parfumerie Script';
    src: url(../fonts/ParfumerieScriptRegular.woff2) format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Burgues Script';
    src: url(../fonts/Burgues\ Script\ W00\ Regular.woff2) format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Citadel Script';
    src: url(../fonts/Citadel\ Script\ AT.woff2) format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Neue Montreal';
    src: url(../fonts/Neue\ Montreal\ Regular.woff2) format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Optimal';
    src: url(../fonts/OptimaLTStd.woff2) format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'The Seasons';
    src: url(../fonts/TheSeasonsRegular.woff2) format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'The Seasons-LT';
    src: url(../fonts/theseasons-lt.woff2) format('woff2');
    font-weight: lighter;
    font-style: normal;
    font-display: swap;
}


/* ========================================================
   BASE / RESET STYLES
========================================================= */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    height: 100%;
    overflow: hidden;
    background-color: var(--bg-color-html);
}

.colorbodygreen {
    background-color: #36350b;;
}

.colorbodywheat {
    background-color: #dfd9c9;
}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    overflow-y: scroll;
    font-family: system-ui, -apple-system, sans-serif;
    height: 100vh;
    scroll-snap-type: y proximity;
    scroll-behavior: smooth;
}

section {
    scroll-snap-align: start;
    scroll-snap-stop: normal;
    min-height: 100vh;
}

@media (max-width: 767px) {
    body {
        scroll-snap-type: none;
    }
}


/* ========================================================
   SAFARI iOS VIEWPORT FIX
========================================================= */
/* @supports (-webkit-touch-callout: none) {
    body {
        min-height: 100vh;

        min-height: 100dvh;
        min-height: calc(var(--vh, 1vh) * 100); 
        min-height: -webkit-fill-available;
    }
    
    section {
        min-height: 100vh !important;
        min-height: 100dvh !important;
        min-height: -webkit-fill-available !important;
    }
}
 */

 /* iOS Safari / iOS WebKit fixes for BODY SCROLL sites */
.ios-webkit .app {
  min-height: var(--vvh, 100vh);
}
 
/* Add bottom space so Safari’s bottom UI never covers content */
.ios-webkit body {
  padding-bottom: calc(env(safe-area-inset-bottom) + var(--bottom-ui, 0px) + 90px);
}
 
/* IMPORTANT: do not also pad the content when body scrolls */
.ios-webkit .main-content {
  padding-bottom: 0 !important;
}
 
.ios-webkit body {
  transition: padding-bottom 0.15s ease-out;
}

/* ========================================================
   SECTION 1: LANDING PAGE
   Mobile (320px) → Tablet (768px) → Laptop (1024px) → Desktop (1920px) → 4K (2560px+)
========================================================= */
#landingPage {
    position: relative;
    background-image: url('../assets/landingPage1.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    min-height: 100dvh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 10vh var(--spacing-md) var(--spacing-md);
}

#landingPage::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(214, 205, 194, 0.4);
    z-index: 0;
}

#landingPage > * {
    position: relative;
    z-index: 1;
}

.logo-container {
    max-width: 100%;
    padding: var(--spacing-sm);
    margin-top: 0;
}

#thelogo {
    width: 100%;
    height: auto;
    max-width: 50px !important;
    display: block;
    margin: 0 auto;
}

.landing-text-container {
    width: 100%;
    padding: 0 var(--spacing-sm);
}
#landing-font {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(3rem, 8vw, 8rem); /* Much bigger */
    letter-spacing: 0.05em;
    font-weight: 300;
    line-height: 1.1;
    color: #36350b;
    text-align: center;
    margin: 0;
    word-wrap: break-word;
}

#landing-font-second {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(3rem, 8vw, 8rem); /* Same size - big and bold */
    letter-spacing: 0.05em;
    font-weight: 300;
    line-height: 1.1;
    color: #36350b;
    text-align: center;
    margin: 0;
    margin-top: 0.5rem;
    white-space: nowrap;
}
#countdown {
    font-family: 'Optimal', sans-serif;
    font-size: clamp(1.5rem, 4vw, 3rem);
    color: #36350b;
    text-align: center;
    margin-top: 1rem;
}

@media (max-width: 767px) {
    #landingPage {
        min-height: 100dvh;
        padding-top: 15vh;
    }
    
    #thelogo {
        max-width: 60px !important;
    }
    
    #landing-font {
        font-size: clamp(1.8rem, 5.8vw, 4.8rem); /* Smaller for mobile */
    }
    
    #landing-font-second {
        font-size: clamp(1.8rem, 5vw, 3rem); /* Same smaller size */
        letter-spacing: 0.03em; /* Slightly tighter for mobile */
        margin-left: -1em;
    }
    #countdown {
        font-size: clamp(1.3rem, 4.3vw, 2.3rem);
    }
}

/* Small Tablets & Laptops (768px - 1023px) - iPad, 10-11" laptops */
@media (min-width: 768px) and (max-width: 1023px) {
    #landingPage {
        padding-top: 12vh;
    }
    
    #thelogo {
        max-width: 70px !important;
    }
    
}

/* Medium Laptops (1024px - 1441px) - 13" MacBook Air, most laptops */
@media (min-width: 1024px) and (max-width: 1441px) {
    #landingPage {
        padding-top: 9vh;
    }
    
    #thelogo {
        max-width: 80px !important; /* MacBook Air size */
    }
    #landing-font {
        font-size: clamp(2.5rem, 6vw, 6rem); /* Bigger */
    }
    
    #landing-font-second {
        font-size: clamp(2.5rem, 6vw, 6rem); /* Same size */
        letter-spacing: 0.03em; /* Slightly tighter to fit */
        padding-left: 1em;
    }
    
    /* Widen container so text fits */
    #landingPage .col-md-8 {
        flex: 0 0 90% !important;
        max-width: 90% !important;
    }

    #countdown {
        font-size: clamp(1rem, 3vw, 2rem);
    }
}

/* Large Laptops & Desktops (1442px - 1919px) - 15-16" MacBook, 24" monitors */
@media (min-width: 1440px) and (max-width: 1919px) {
    #landingPage {
        padding-top: 15vh;
    }
    
    #thelogo {
        max-width: 120px !important;
    }
    #landing-font {
        font-size: clamp(3rem, 6vw, 7rem); /* Bigger */
    }
    #landing-font-second {
        font-size: clamp(3rem, 6vw, 7rem); /* Same size */
        letter-spacing: 0.03em; /* Slightly tighter to fit */
        margin-left: -1em;
    }
}

/* Large Desktops (1920px - 2559px) - 27" iMac, 1080p/1440p monitors */
@media (min-width: 1920px) and (max-width: 2559px) {
    #landingPage {
        padding-top: 15vh;
    }
    
    #thelogo {
        max-width: 150px !important;
    }

    #landing-font {
        font-size: clamp(3.5rem, 6vw, 8rem); /* Bigger */
    }
    #landing-font-second {
        font-size: clamp(3.5rem, 6vw, 8rem); /* Same size */
        letter-spacing: 0.03em; /* Slightly tighter to fit */
        margin-left: -1em;
    }
}

/* Ultra-Wide (2560px+) - 4K, 5K monitors */
@media (min-width: 2560px) {
    #landingPage {
        padding: 12vh 10rem var(--spacing-xl);
    }
    
    #thelogo {
        max-width: 120px !important; /* Don't scale too big */
    }
    
    #landingPage > .container-fluid {
        max-width: 2200px;
        margin: 0 auto;
    }

    #landing-font {
        font-size: clamp(4rem, 5vw, 8rem); /* Bigger but capped */
    }
    #landing-font-second {
        font-size: clamp(4rem, 5vw, 8rem); /* Same size */
        letter-spacing: 0.03em; /* Slightly tighter to fit */
        margin-left: -.5em;
    }
}


/* ========================================================
   SECTION 2: WHERE AND WHEN
========================================================= */
#wherewhen {
    background-color: var(--bg-wherewhen);
    min-height: 100vh;
    min-height: 100dvh;
    width: 100%;
    padding: var(--spacing-lg) 0;
    font-family: 'The Seasons-LT', cursive;
    color: #36350b;
    text-align: center;
    display: flex;
    align-items: center;
}

.image-column {
    padding: var(--spacing-md) var(--spacing-sm);
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-frame {
    display: inline-block;
    padding: 15px;
    border: 8px solid #36350b;
    max-width: 100%;
}

.imageWeddingDate {
    display: block;
    width: 100%;
    height: auto;
    max-width: min(400px, 90vw);
    aspect-ratio: 5/6;
    object-fit: cover;
    object-position: 50% center;
    border: 8px solid #36350b;
    padding: 20px;
}

.wedding-text-column {
    padding: var(--spacing-lg) var(--spacing-md);
}

.wedding-text-column p {
    margin: 0;
    line-height: 1.1;
}

#weddingDate {
    font-family: 'Parfumerie Script', cursive;
    font-size: clamp(3rem, 8vw, 10rem);
    color: #36350b;
    margin-bottom: 0.5rem;
}

#weddingVenue {
    font-family: 'The Seasons-LT', cursive;
    font-style: italic;
    font-size: clamp(2rem, 4vw, 5rem);
    color: #36350b;
    margin-bottom: 0.5rem;
}

#venueName {
    font-family: 'The Seasons-LT', cursive;
    font-size: clamp(2.5rem, 5vw, 6rem);
    font-weight: 300;
    color: #36350b;
}

@media (min-width: 768px) {
    .image-frame {
        padding: clamp(20px, 2vw, 30px);
        border: 8px solid #212020;
        margin-left: clamp(2rem, 5vw, 10vh);
    }
    
    .imageWeddingDate {
        max-width: clamp(400px, 40vw, 600px);
        border: 8px solid #212020;
        padding: clamp(25px, 3vw, 40px);
    }
}

@media (min-width: 1400px) {
    .imageWeddingDate {
        max-width: 600px;
    }
}

@media (min-width: 2560px) {
    #wherewhen > .container-fluid {
        max-width: 2000px;
        margin: 0 auto;
    }
}


/* ========================================================
   SECTION 3: OUR SPECIAL DAY
========================================================= */
#ourSpecialDay {
    position: relative;
    background-image: url('../assets/aiGenFountain.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    min-height: 100vh;
    min-height: 100dvh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(1.5rem, 3vh, 3rem) var(--spacing-md);
}

#ourSpecialDay::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(214, 205, 194, 0.4);
    z-index: 0;
}

#ourSpecialDay > * {
    position: relative;
    z-index: 1;
}

.specDayGreenBox {
    background-color: var(--bg-greens);
    padding: clamp(2rem, 4vh, 4rem) clamp(1.5rem, 3vw, 3rem);
    width: 100%;
    max-width: min(1200px, 92vw);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.ourDay-title {
    font-family: 'Citadel Script', cursive;
    font-size: clamp(2rem, 4.5vw, 4.5rem);
    color: white;
    margin-bottom: clamp(0.4rem, 0.8vh, 0.8rem);
}

.special-day-content {
    width: 100%;
    max-width: 750px;
}

.special-day-text {
    font-family: 'Optimal', sans-serif;
    font-size: clamp(0.9rem, 1.6vw, 1.6rem);
    color: white;
    line-height: 1.5;
    margin-bottom: clamp(0.6rem, 1.2vh, 1rem);
}

.special-day-signature {
    font-family: 'Optimal', sans-serif;
    font-size: clamp(0.9rem, 1.6vw, 1.6rem);
    color: white;
    font-style: italic;
    margin-top: clamp(0.8rem, 1.5vh, 1.2rem);
    margin-bottom: clamp(0.25rem, 0.5vh, 0.4rem);
}

@media (max-width: 767px) {

    
    .specDayGreenBox {
        margin-top: 1em;
        padding: clamp(1.5rem, 3vh, 3rem) clamp(1rem, 2vw, 2rem);
    }
    
    .ourDay-title {
        font-size: clamp(3rem, 7vw, 5rem);
    }
    
    .special-day-text {
        font-size: clamp(1.2rem, 3.5vw, 1.6rem);
        line-height: 1.6;
        margin-bottom: clamp(0.8rem, 2vh, 1.5rem);
    }

    .special-day-text:nth-child(2) {
        text-indent: 1em;
    }
    
    .special-day-signature {
        font-size: clamp(1.2rem, 4vw, 1.8rem);
        margin-top: clamp(0.8rem, 2vh, 1.5rem);
    }
    
    .special-day-content {
        max-width: 100%;
    }
}

@media (min-width: 768px) {
    #ourSpecialDay {
        background-attachment: fixed;
    }

}

/* Short laptops (1024px-1441px, height < 900px) - 13" MacBook Air preserved */
@media (min-width: 1024px) and (max-width: 1441px) and (max-height: 900px) {
    #ourSpecialDay {
        padding: clamp(1rem, 2vh, 2rem) var(--spacing-md);
    }
    
    .specDayGreenBox {
        padding: clamp(3rem, 6vh, 6rem) clamp(1.5rem, 2.5vw, 2.5rem);
        max-width: 95vw;
    }
    
    .ourDay-title {
        font-size: clamp(1.8rem, 4vw, 3.5rem);
        margin-bottom: clamp(0.4rem, 0.8vh, 0.8rem);
    }
    
    .special-day-text {
        font-size: clamp(0.95rem, 1.8vw, 1.8rem);
        line-height: 1.6;
        margin-bottom: clamp(1rem, 2vh, 1.5rem);
    }

    .special-day-text:nth-child(2) {
        text-indent: 1em;
    }
    
    .special-day-signature {
        font-size: clamp(0.9rem, 1.5vw, 1.4rem);
        margin-top: clamp(0.8rem, 1.5vh, 1.2rem);
    }
    
    .special-day-content {
        max-width: 700px;
    }
}

@media (min-width: 1600px) {
    .specDayGreenBox {
        max-width: 2560px !important;
        padding: 15rem 8rem;
    }
    
    .special-day-content {
        max-width: 1000px;
    }
}

/* Large Desktops & Ultra-Wide */
@media (min-width: 1920px) {
    .specDayGreenBox {
        max-width: 2560px !important;
        padding: 15rem 8rem;
    }
    
    .special-day-content {
        max-width: 1000px;
    }
}

@media (min-width: 2560px) {
    .specDayGreenBox {
        max-width: 2560px !important;
        padding: 15rem 8rem;
    }
    
    #ourSpecialDay > .container-fluid {
        max-width: 2200px;
        margin: 0 auto;
    }
}

/* ========================================================
   SECTION 4: THE WEDDING DETAILS
========================================================= */


#theWeddingDetails {
    background-color: var(--bg-greens-solid);
    min-height: 100vh;
    min-height: auto;
    width: 100%;
    padding: clamp(1.5rem, 3vh, 3rem) 0; /* Reduced padding */
    font-family: 'Cormorant Garamond', serif;
    color: var(--txt-color-wheat);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#theWeddingDetails > .container-fluid {
    max-width: 1400px;
    margin: 0 auto;
}

#theWeddingDetails .row:first-child {
    margin-bottom: var(--spacing-sm); /* Reduced from var(--spacing-lg) */
}

.weddingDetailsContent {
    padding: var(--spacing-xs) 0; /* Reduced from var(--spacing-md) */
}

.wedding-details-the {
    font-family: 'Burgues Script', cursive;
    font-size: clamp(2.5rem, 5vw, 6rem);
    margin-bottom: -0.5rem;
    line-height: 1;
}

.wedding-details-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(3rem, 6vw, 7rem);
    font-weight: 300;
    letter-spacing: 0;
    margin-top: 0;
    margin-bottom: 0;
    line-height: 1;
}

.wedding-details-subtitle {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 500;
    margin-top: 0.5rem; /* Reduced spacing above */
    margin-bottom: 0.5rem; /* Reduced spacing below */
}

.wedding-details-subentry {
    font-family: 'Neue Montreal', sans-serif;
    font-size: clamp(1rem, 1.5vw, 1.3rem);
    line-height: 1.5; /* Tighter line height */
    margin-bottom: 0;
}

.wedding-detail-card {
    padding: 0rem 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
    /* Removed height: 100% to prevent stretching */
}

.wedding-icon,
.wedding-icon1 {
    display: block;
    margin: 0 auto 0.5rem; /* Reduced bottom margin */
    object-fit: contain;
    /* Removed min-height to prevent stretching */
}

.wedding-icon1 {
    width: clamp(300px, 12vw, 280px); /* Keep your sizes */
    height: clamp(300px, 12vw, 280px);
}

.wedding-icon {
    width: clamp(100px, 10vw, 160px); /* Keep your sizes */
    height: clamp(150px, 10vw, 160px);
    margin-bottom: 4em;
}

@media (max-width: 767px) {
    #html {
        background-color: var(--bg-greens-solid);
    }
    #theWeddingDetails {
        min-height: auto;
        padding: 2rem 0; 
    }

    .wedding-details-the {
        margin-top: 4rem;
    }
    .wedding-icon {
        width: clamp(200px, 10vw, 160px);
        height: clamp(150px, 10vw, 160px);
        margin: 3em;
        margin-bottom: 4em;
    }

    .wedding-details-subtitle {
        margin-top: -1em;;
    }

    .wedding-details-subentry :last-child {
        margin-bottom: 3em;
    }
}


/* MacBook Air Specific (1024px-1439px, height 800-900px) */
@media (min-width: 1024px) and (max-width: 1441px) {
    #theWeddingDetails {
        padding: 1.5rem 0; /* Minimal top/bottom padding */
    }
    
    #theWeddingDetails .row:first-child {
        margin-bottom: 1rem; /* Tighter spacing after title */
    }
    
    .weddingDetailsContent {
        padding: 0.25rem 0; /* Minimal padding */
    }
    
    .wedding-details-the {
        font-size: clamp(2rem, 4.5vw, 5rem); /* Slightly smaller */
    }
    
    .wedding-details-title {
        font-size: clamp(2.5rem, 5.5vw, 6rem); /* Slightly smaller */
    }
    
    .wedding-icon,
    .wedding-icon1 {
        margin-bottom: 0.5rem; /* Tight spacing between icon and subtitle */
    }
    .wedding-icon {
        margin-top: 5em;
        margin-bottom: 5em;
    }
    
    .wedding-details-subtitle {
        margin-top: 0.5rem;
        margin-bottom: 0.5rem;
        font-size: clamp(1.3rem, 2.5vw, 2rem); /* Slightly smaller */
    }
    
    .wedding-details-subentry {
        font-size: clamp(0.9rem, 1.3vw, 1.1rem); /* Slightly smaller */
        line-height: 1.45; /* Tighter */
    }
    
    .wedding-detail-card {
        padding: 0rem 1.5rem; /* Less horizontal padding */
    }
}

@media (min-width: 1442px) {
    .wedding-icon {
        margin-top: 5em;
        margin-bottom: 5em;
    }
}

/* Cap sizes on ultra-wide */
@media (min-width: 2560px) {
    #theWeddingDetails {
        padding: clamp(2rem, 4vh, 4rem) 10rem;
    }
    
    #theWeddingDetails > .container-fluid {
        max-width: 2000px;
    }
    
    .wedding-details-the {
        font-size: clamp(3rem, 4vw, 6rem);
    }
    
    .wedding-details-title {
        font-size: clamp(4rem, 5vw, 8rem);
    }
    
    .wedding-icon {
        width: clamp(80px, 6vw, 140px);
        height: clamp(80px, 6vw, 140px);
        margin-top: 5em;
        margin-bottom: 5em;
    }
}


/* ========================================================
   SECTION 5: THE DEETS
========================================================= */
#the-deets {
    background-color: var(--bg-wherewhen);
    min-height: 100vh;
    min-height: 100dvh;
    width: 100%;
    padding: 0;
    font-family: 'Cormorant Garamond', serif;
    color: #493a24;
    text-align: center;
}

/* Mobile */
@media (max-width: 767px) {
    #the-deets {
        display: flex;
        flex-direction: column;
        min-height: 100dvh;
    }
    
    .image-columnA {
        height: 50vh;
        min-height: 300px;
    }
    
    .image-full {
        width: 100%;
        height: 100%;
    }
    
    .imageWindow {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
    
    #the-deets .wedding-text-column {
        padding: var(--spacing-lg) var(--spacing-md);
    }
    
    #titleDetailsThe {
        font-size: clamp(2.5rem, 8vw, 4rem);
        margin-bottom: -0.5rem;
        line-height: 1;
        letter-spacing: 0.02em;
    }
    
    #titleDetailsDeets {
        font-size: clamp(3.5rem, 10vw, 6rem);
        font-weight: 300;
        letter-spacing: 0.05em;
        margin-top: 0;
        margin-bottom: var(--spacing-md);
        line-height: 1;
    }
    
    #subtitleDetails {
        font-size: clamp(1.5rem, 5vw, 2rem);
        font-weight: 500;
        margin-bottom: var(--spacing-xs);
        margin-top: var(--spacing-sm);
        letter-spacing: 0.02em;
    }
    
    #paragraphDetails {
        font-family: 'Neue Montreal', sans-serif;
        font-size: clamp(1rem, 3vw, 1.2rem);
        line-height: 1.7;
        margin-bottom: var(--spacing-sm);
        text-align: center;
        max-width: 100%;
        padding: 0 var(--spacing-sm);
        letter-spacing: 0.01em;
    }
    
    #the-deets hr {
        border: none;
        border-top: 1px solid #493a24;
        width: 100px;
        margin: var(--spacing-xs) auto;
        opacity: 0.4;
    }
}

/* Tablet and Desktop */
@media (min-width: 768px) {
    #the-deets {
        display: flex;
        flex-direction: row;
    }
    
    .image-columnA {
        flex: 0 0 50%;
        height: 100vh;
        height: 100dvh;
        padding: 0!important;
        margin: 0!important;
    }
    
    .image-full {
        width: 100%;
        height: 100%;
        overflow: hidden;
    }
    
    .imageWindow {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
    
    #the-deets .wedding-text-column {
        flex: 0 0 50%;
        padding: clamp(2rem, 4vh, 4rem) clamp(1.5rem, 3vw, 3rem);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 100vh;
        height: 100dvh;
        overflow-y: auto;
    }
    
    #titleDetailsThe {
        font-family: 'Burgues Script', cursive;
        font-size: clamp(3rem, 4.5vw, 6rem);
        margin-bottom: -0.5rem;
        line-height: 1;
        letter-spacing: 0.02em;
    }
    
    #titleDetailsDeets {
        font-family: 'Cormorant Garamond', serif;
        font-size: clamp(4.5rem, 7vw, 9rem);
        font-weight: 300;
        letter-spacing: 0.05em;
        margin-top: 0;
        margin-bottom: clamp(1rem, 2vh, 2rem);
        line-height: 1;
    }
    
    #subtitleDetails {
        font-family: 'Cormorant Garamond', serif;
        font-size: clamp(1.8rem, 2.5vw, 2.8rem);
        font-weight: 500;
        margin-bottom: var(--spacing-xs);
        margin-top: clamp(0.75rem, 1.5vh, 1.2rem);
        letter-spacing: 0.02em;
    }
    
    #paragraphDetails {
        font-family: 'Neue Montreal', sans-serif;
        font-size: clamp(1rem, 1.3vw, 1.35rem);
        line-height: 1.6;
        margin-bottom: clamp(0.6rem, 1.2vh, 0.9rem);
        text-align: center;
        /* max-width: clamp(450px, 75%, 550px); */
        letter-spacing: 0.01em;
    }
    
    #the-deets hr {
        border: none;
        border-top: 1px solid #493a24;
        width: clamp(100px, 20%, 140px);
        margin: clamp(0.8rem, 1.5vh, 1.2rem) auto;
        opacity: 0.4;
    }
}

/* Short laptops (1024px-1441px, height < 900px) - MacBook Air preserved */
@media (min-width: 1024px) and (max-width: 1441px) and (max-height: 900px) {
    #the-deets .wedding-text-column {
        padding: clamp(1.5rem, 3vh, 2.5rem) clamp(1.5rem, 2.5vw, 2rem);
    }
    
    #titleDetailsThe {
        font-size: clamp(2.8rem, 4vw, 4.5rem);
    }
    
    #titleDetailsDeets {
        font-size: clamp(4rem, 6vw, 7rem);
        margin-bottom: clamp(0.8rem, 1.5vh, 1.5rem);
    }
    
    #subtitleDetails {
        font-size: clamp(1.6rem, 2.2vw, 2.2rem);
        margin-top: clamp(0.6rem, 1vh, 1rem);
    }
    
    #paragraphDetails {
        font-size: clamp(0.9rem, 1vw, 1.1rem);
        line-height: 1.55;
        margin-bottom: clamp(0.5rem, 1vh, 0.75rem);
        max-width: 480px;
    }
    
    #the-deets hr {
        margin: clamp(0.6rem, 1vh, 1rem) auto;
    }
    .image-columnA {
        
        padding: 0!important;
        margin: 0!important;
    }
}

@media (min-width: 1442px)  {
    #paragraphDetails {
        display:flex;
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }
}

/* Ultra-wide protection */
@media (min-width: 2560px) {
    #the-deets .wedding-text-column {
        padding: clamp(3rem, 5vh, 6rem) clamp(4rem, 6vw, 8rem);
        max-width: 50%;
    }
    
    #paragraphDetails {
        max-width: 700px;
        text-align: center;
    }
    
    #subtitleDetails {
        text-align: center;
    }
}


/* ========================================================
   SECTION 6: GIFT REGISTRY
========================================================= */
#giftRegistry {
    background-color: var(--bg-giftregistry);
    min-height: 100vh;
    min-height: 100dvh;
    width: 100%;
    padding: clamp(2rem, 5vh, 4rem) 0;
    font-family: 'Cormorant Garamond', serif;
    color: var(--txt-color-wheat);
    text-align: center;
    display: flex;
    align-items: center;
}

.gift-left-column {
    padding: clamp(1.5rem, 3vw, 3rem) clamp(1rem, 2vw, 2rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.giftRegLeftContainer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: clamp(1.5rem, 3vh, 2.5rem);
}

#giftTitle {
    font-family: 'Burgues Script', cursive;
    font-size: clamp(2.5rem, 5vw, 6rem);
    margin-bottom: -0.5rem;
    line-height: 1;
    letter-spacing: 0.02em;
}

#registryTitle {
    font-family: 'The Seasons', serif;
    font-size: clamp(3.5rem, 7vw, 9rem);
    font-weight: 300;
    letter-spacing: 0.08em;
    margin-top: 0;
    margin-bottom: 0;
    line-height: 1;
}

.iconOlive {
    display: flex;
    justify-content: center;
    align-items: center;
}

.imageIconOlive {
    width: clamp(150px, 30vw, 350px);
    height: auto;
    display: block;
    margin: 0 auto;
}

.gift-right-column {
    padding: clamp(2rem, 4vw, 4rem) clamp(1.5rem, 3vw, 3rem);
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.gift-paragraph-main {
    font-family: 'The Seasons', sans-serif;
    font-size: clamp(1.5rem, 2.6vw, 2.5rem);
    font-weight: lighter;
    line-height: 1;
    margin-bottom: clamp(1.5rem, 3vh, 2.5rem);
    color: var(--txt-color-wheat);
    /* max-width: 450px; */
    margin-left: 0;
    margin-right: auto;
}

.gift-paragraph {
    font-family: 'Neue Montreal', sans-serif;
    font-size: clamp(0.95rem, 1.5vw, 1.3rem);
    line-height: 1.7;
    margin-bottom: clamp(1rem, 2vh, 1.5rem);
    color: var(--txt-color-wheat);
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}

.gift-paragraph:last-child {
    margin-bottom: 0;
    
    font-size: clamp(0.8rem, 1vw, 1.1rem);
}

@media (max-width: 767px) {
    #giftRegistry {
        min-height: 100dvh;
    }
    .gift-left-column {
        padding: var(--spacing-md);
        margin-bottom: var(--spacing-md);
    }
    
    .gift-right-column {
        padding: var(--spacing-md);
    }
    
    .imageIconOlive {
        width: clamp(120px, 50vw, 200px);
    }
    
    .gift-paragraph-main {
        margin-top: -2em;
    }

    .gift-paragraph,
    .gift-paragraph-main {
        max-width: 100%;
        padding: 0 var(--spacing-sm);
    }
}

@media (min-width: 768px) {
    .gift-left-column {
        border-right: 1px solid rgba(223, 217, 201, 0.2);
    }
}

@media (min-width: 1024px) and (max-width: 1441px) {
    .imageIconOlive {
        width: clamp(180px, 25vw, 280px);
    }
    .gift-paragraph-main {
        margin-left: .85em;
        margin-right: 0em;
        margin-bottom: .5em;
        max-width: 500px;
    }
    .gift-paragraph {
        font-size: clamp(0.9rem, 1.2vw, 1.1rem);
    }
}

@media (min-width: 1442px) {
    .imageIconOlive {
        max-width: 400px;
    }
    
    .gift-paragraph-main {
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .gift-paragraph {
        max-width: 600px;
    }

    .payment-area {
        max-width: 600px;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .payment-title,
    .qr-code-payment,
    .payment-handle {
        display: flex;
        flex-direction: column;
        margin-left: auto;
        margin-right: auto;
        align-items: center;
    }
}

/* @media (min-width: 1600px){
    .gift-paragraph-main {
        max-width: 1600px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .gift-paragraph {
        max-width: 600px;
    }
} */

@media (min-width: 2560px) {
    #giftRegistry > .container-fluid {
        max-width: 2200px;
        margin: 0 auto;
    }
    .gift-paragraph-main {
        max-width: 1000px;
        margin-left: 5em;
    }
}

/* ========================================================
   SECTION 7: FAQ
========================================================= */

#FAQ {
    background-color: var(--bg-wherewhen);
    min-height: 100vh;
    min-height: 100dvh;
    width: 100%;
    padding: clamp(2rem, 5vh, 4rem) 0;
    font-family: 'Cormorant Garamond', serif;
    color: #493a24;
    text-align: center;
    display: flex;
    align-items: center;
}

.FAQTitle {
    font-family: 'The Seasons-LT', sans-serif;
    font-size: clamp(2.5rem, 5vw, 6rem);
    margin-bottom: 3rem;
    line-height: 1;
    letter-spacing: 0.02em;
}

.faqPrompts {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 40rem;
}

.questionFAQ {
    font-family: 'The Seasons', sans-serif;
    font-size: clamp(1rem, 2vw, 3rem);
    font-weight: 300;
    margin-top: 0;
    margin-bottom: clamp(1rem, 2vh, 2rem);
    line-height: 1;
}

.answerFAQ {
    font-family: 'Neue Montreal', sans-serif;
    font-size: clamp(.8rem, 1.5vw, 1.1rem);
    line-height: 1.7;
    margin-bottom: clamp(1rem, 2vh, 2rem);
}

#FAQ hr {
        border: none;
        border-top: 1px solid #493a24;
        width: 100px;
        /* margin: var(--spacing-xs) auto; */
        margin-top: -.5em;
        margin-bottom: 1.5em;
        opacity: 0.4;
}

@media (min-width: 2000px) {
    #FAQprompts {
        max-width: 80rem;
    }
}

/* ========================================================
   SECTION 8: RSVP
========================================================= */


#RSVP-page {
    background-color: var(--bg-giftregistry);
    min-height: 100vh;
    min-height: 100dvh;
    width: 100%;
    font-family: 'Cormorant Garamond', serif;
    color: var(--txt-color-wheat);
    text-align: center;
    display: flex;
    align-items: center;
}

#RSVPpage .container-fluid {
    padding:0!important;
}

#RSVP-page .row {
    margin: 0 !important;
}

#RSVP-page .col-md-6 {
    padding: 0 !important;
}

#rsvpTitle{
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 4.5vw, 5rem);
    margin-bottom: -0.5rem;
    line-height: 1;
    letter-spacing: 0.02em;
}

.rsvp-btn-open{
    margin: 3em;
    
}

/* Text Column */
.rsvp-text-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: clamp(2rem, 5vh, 4rem) clamp(1.5rem, 3vw, 3rem);
}
/* Image Column */
.rsvp-image-column{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    height: 100vh;
    height: 100dvh;
}

.rsvp-image-container{
        width: 100%;
        height: 100%;
        overflow: hidden;
}

.rsvp-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
    display: block;
}

/* Mobile - Stack vertically */
@media (max-width: 767px) {
    
    #RSVP-page {
        min-height: 100dvh;
        padding: 0!important;
        align-items: flex-start !important; /* Align to top instead of center */
    }

    
    .rsvp-image-column {
        height: 50vh !important; /* Half screen on mobile */
        min-height: 300px;
        padding: 0 !important; /* Force remove padding */
        align-self: flex-start;
    }

    .rsvp-image-container {
        width: 100vw; /* Full viewport width */
        height: 100%;
        margin-left: calc(-50vw + 50%); /* Center and expand beyond container */
    }

    .rsvp-image-column img {
        object-position: 70% center; /* Center on mobile */
        object-fit: stretch;
        display: block;
        width: 100%;
        height: 100%;
    }
    
    .rsvp-text-column {
        margin-top: 5em;
        padding: clamp(2rem, 5vh, 3rem) clamp(1.5rem, 3vw, 2rem);
    }
}

/* Desktop - Side by side */
@media (min-width: 768px) {
    #RSVP-page .row {
        height: 100vh;
        height: 100dvh;
    }
    
    .rsvp-image-column,
    .rsvp-text-column {
        height: 100vh;
        height: 100dvh;
    }

    
}

@media (min-width: 2280px){
    #rsvpTitle {
        margin-left: 2em;
        margin-right: 2em;
    }
}

/* ========================================================
   UTILITY CLASSES
========================================================= */
@media (hover: none) and (pointer: coarse) {
    a, button {
        min-height: 44px;
        min-width: 44px;
        padding: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@media print {
    section {
        page-break-inside: avoid;
        min-height: auto;
    }
}


/* ========================================================
   RESPONSIVE FIXES
========================================================= */
@media (max-height: 500px) and (orientation: landscape) {
    #landingPage,
    #wherewhen,
    #ourSpecialDay {
        min-height: auto;
        padding: var(--spacing-md) var(--spacing-sm);
    }
    
    #landing-font {
        font-size: 2rem;
    }
    
    #thelogo {
        max-width: 150px !important;
    }
}

@media (max-width: 375px) {
    .image-frame {
        padding: 10px;
        border: 6px solid #212020;
    }
    
    .imageWeddingDate {
        border: 6px solid #212020;
        padding: 15px;
    }
    
    .specDayGreenBox {
        padding: var(--spacing-sm);
    }
    
    #landing-font {
        font-size: 1.8rem;
    }
}