/* Base Variables */
:root {
    --primary-green: #1B4D3E;
    /* Deep Forest Green */
    --accent-pink: #FF9EAA;
    /* Salmon Pink */
    --bg-cream: #FFFBE6;
    /* Soft Cream */
    --bg-white: #FFFFFF;
    --text-dark: #1B4D3E;

    --font-head: 'Shrikhand', serif;
    --font-body: 'DM Sans', sans-serif;

    --transition: all 0.3s ease-in-out;
    --shadow: 4px 4px 0px rgba(27, 77, 62, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-cream);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Typography */
h1,
h2,
h3 {
    font-family: var(--font-head);
    font-weight: 400;
}

.eyebrow {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--primary-green);
    margin: 1rem 0 0.5rem;
    text-transform: uppercase;
}

.section-title {
    font-family: var(--font-head);
    font-size: 3.5rem;
    margin-bottom: 2.5rem;
    text-align: center;
    color: var(--primary-green);
    text-shadow: 2px 2px 0px var(--accent-pink);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Utilities */
.container {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.section-padding {
    padding: 5rem 0;
}

.bg-cream {
    background-color: var(--bg-cream);
}

.text-green {
    color: var(--primary-green) !important;
}

.text-center {
    text-align: center;
}

.btn-primary {
    background: var(--primary-green);
    color: var(--bg-cream);
    border: 2px solid var(--primary-green);
    padding: 12px 35px;
    font-size: 1.1rem;
    cursor: pointer;
    border-radius: 50px;
    transition: var(--transition);
    font-family: var(--font-body);
    font-weight: 700;
    box-shadow: 4px 4px 0px var(--accent-pink);
}

.btn-primary:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0px var(--accent-pink);
    background: var(--text-dark);
}

.mt-4 {
    margin-top: 1.5rem;
}

.hidden {
    display: none;
}

/* Checkerboard Pattern */
.checkerboard-strip {
    width: 100%;
    height: 30px;
    /* Diamond/Checkerboard Pattern */
    background-image: linear-gradient(45deg, var(--primary-green) 25%, transparent 25%),
        linear-gradient(-45deg, var(--primary-green) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, var(--primary-green) 75%),
        linear-gradient(-45deg, transparent 75%, var(--primary-green) 75%);
    background-size: 20px 20px;
    background-color: var(--bg-cream);
}

/* Loading Screen */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-cream);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
}

.spinner i {
    font-size: 3rem;
    color: var(--primary-green);
    animation: spin 3s infinite linear;
}

/* --- Split Layout --- */
.split-layout {
    display: flex;
    min-height: 100vh;
}

/* Left Panel */
.left-panel {
    width: 50%;
    height: 100vh;
    position: sticky;
    top: 0;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--bg-cream);
    overflow: hidden;
}

.centered-overlay {
    background: transparent;
    text-align: center;
    padding: 3rem 0;
    /* Vertical padding to keep off edges */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* Split Top and Bottom */
    align-items: center;
    height: 100%;
    /* Take full height */
    width: 100%;
}

.hero-title-left {
    font-size: 3.5rem;
    line-height: 1;
    color: var(--bg-cream);
    text-transform: uppercase;
    text-shadow: 4px 4px 0px rgba(0, 0, 0, 0.2);
    margin: 0;
    max-width: 100%;
    white-space: nowrap;
}

.guest-name {
    font-family: var(--font-body);
    font-size: 1.3rem;
    color: var(--bg-cream);
    margin-top: 1.5rem;
    letter-spacing: 1px;
    font-weight: 500;
}

.corner-star {
    position: absolute;
    font-size: 2.5rem;
    color: var(--bg-cream);
    animation: twinkle 3s infinite;
}

.top-right {
    top: 40px;
    right: 40px;
}

.bottom-left {
    bottom: 40px;
    left: 40px;
}

/* Right Panel */
.right-panel {
    width: 50%;
    background: var(--bg-cream);
}

/* Right Panel Hero */
.hero-section {
    min-height: 90vh;
    background: var(--bg-cream);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-dark);
    position: relative;
    padding: 3rem 0;
    text-align: center;
}

/* Hero Frame (Arch + Wavy Bottom) */
.hero-frame-container {
    width: 320px;
    /* Adjust size based on reference */
    height: 440px;
    margin: 0 auto 1.5rem;
    position: relative;
    z-index: 2;
}

.scallop-frame {
    width: 100%;
    height: 100%;
    background: var(--bg-white);
    /* Arch Top */
    border-radius: 160px 160px 0 0;
    overflow: hidden;
    position: relative;
    /* Soft Pink Shadow */
    box-shadow: 0px 10px 0px rgba(255, 158, 170, 0.5);

    /* Wavy Bottom Mask */
    --w: 40px;
    --h: 20px;
    mask:
        linear-gradient(#000 0 0) top/100% calc(100% - var(--h)) no-repeat,
        radial-gradient(farthest-side, #000 98%, #0000) 50% calc(100% - var(--h))/var(--w) calc(2*var(--h)) repeat-x;
    -webkit-mask:
        linear-gradient(#000 0 0) top/100% calc(100% - var(--h)) no-repeat,
        radial-gradient(farthest-side, #000 98%, #0000) 50% calc(100% - var(--h))/var(--w) calc(2*var(--h)) repeat-x;
}

.scallop-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
}

/* Monogram */
.monogram-box {
    margin: 1rem auto;
    position: relative;
    z-index: 5;
}

.monogram {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 70px;
}

.monogram span {
    font-family: var(--font-head);
    font-size: 4rem;
    color: var(--accent-pink);
    position: absolute;
    line-height: 1;
}

.char-k {
    left: 0;
    z-index: 1;
}

.char-a {
    left: 25px;
    z-index: 0;
}

/* Overlap */

.names.bg-pink-text {
    font-family: var(--font-head);
    font-size: 3.5rem;
    line-height: 1;
    color: var(--accent-pink);
    margin: 0.5rem 0;
    text-transform: uppercase;
}

.tagline {
    font-size: 1.1rem;
    margin: 1rem 0;
    font-weight: 500;
    color: var(--primary-green);
}

/* Floating Elements */
.floating-flower {
    position: absolute;
    width: 70px;
    z-index: 1;
    opacity: 0.9;
}

.left-flower {
    top: 20%;
    left: -25px;
    transform: rotate(-10deg);
}

.right-flower {
    bottom: 30%;
    right: -25px;
    transform: rotate(15deg);
}

.lang-toggle {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--bg-white);
    padding: 8px 10px;
    border-radius: 50%;
    color: var(--accent-pink);
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

/* Other Sections */
.quote-box {
    background: var(--accent-pink);
    padding: 3rem;
    border-radius: 20px;
    position: relative;
    border: 3px solid var(--primary-green);
    box-shadow: 6px 6px 0px var(--primary-green);
    max-width: 800px;
    margin: 0 auto;
}

.verse {
    font-size: 1.3rem;
    font-weight: 500;
}

.verse-ref {
    margin-top: 1rem;
    font-weight: 700;
}

.couple-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.couple-card {
    flex: 1;
    min-width: 280px;
    text-align: center;
}

.img-frame.wave-border {
    width: 250px;
    height: 300px;
    margin: 0 auto 1.5rem;
    border-radius: 125px 125px 0 0;
    border: 4px solid var(--primary-green);
    padding: 5px;
    background: var(--bg-white);
    box-shadow: 6px 6px 0px var(--accent-pink);
    overflow: hidden;
}

.img-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 120px 120px 0 0;
}

.ampersand {
    font-size: 4rem;
    font-family: var(--font-head);
    color: var(--accent-pink);
}

/* Accordion */
.accordion {
    max-width: 700px;
    margin: 0 auto;
    text-align: left;
}

.accordion-item {
    margin-bottom: 1rem;
    background: var(--bg-white);
    border: 2px solid var(--primary-green);
    border-radius: 15px;
    box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    /* Fix header overflow */
}

.accordion-header {
    width: 100%;
    padding: 1.2rem;
    background: var(--accent-pink);
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-body);
    font-weight: 700;
    color: var(--primary-green);
    cursor: pointer;
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background: var(--bg-white);
}

.story-content {
    padding: 1.5rem;
    text-align: center;
}

.story-img {
    width: 100%;
    max-width: 300px;
    border-radius: 10px;
    border: 2px solid var(--primary-green);
    margin-bottom: 1rem;
}

/* Event */
.event-cards {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.retro-card {
    background: var(--bg-cream);
    border: 3px solid var(--primary-green);
    padding: 2.5rem;
    border-radius: 20px;
    flex: 1;
    min-width: 280px;
    color: var(--primary-green);
    box-shadow: 8px 8px 0px var(--primary-green);
}

.retro-card h3 {
    color: var(--accent-pink);
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* Countdown */
.countdown {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3rem;
}

.time-box {
    background: var(--primary-green);
    color: var(--bg-cream);
    padding: 1rem;
    border-radius: 15px;
    min-width: 80px;
    box-shadow: 4px 4px 0px var(--accent-pink);
    border: 2px solid var(--accent-pink);
}

.time-box span {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    font-family: var(--font-head);
}

/* Footer */
footer {
    background: var(--primary-green);
    color: var(--bg-cream);
    padding: 0;
    padding-bottom: 2rem;
    text-align: center;
    margin: 0;
}

.footer-names {
    font-family: var(--font-head);
    font-size: 3rem;
    margin: 2rem 0 1rem;
    color: var(--accent-pink);
}

/* Music */
.music-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--accent-pink);
    border: 3px solid var(--primary-green);
    cursor: pointer;
    z-index: 1000;
    display: grid;
    place-items: center;
    color: var(--primary-green);
}

.music-btn.playing {
    animation: spin 3s linear infinite;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes twinkle {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

/* Responsive */
/* Responsive */
@media (max-width: 900px) {
    .split-layout {
        flex-direction: column;
    }

    .left-panel {
        width: 100%;
        height: 100vh;
        /* Full screen cover on mobile */
        position: relative;
    }

    .right-panel {
        width: 100%;
        padding-bottom: 0;
        /* Removed extra padding that caused footer space */
    }

    .section-padding {
        padding: 3rem 0;
        /* Less padding on mobile */
    }

    .section-title {
        font-size: clamp(1.8rem, 5vw, 2.8rem);
        /* Responsive to fit in one line */
        margin-bottom: 2rem;
        white-space: nowrap;
        /* Force single line */
    }

    /* Hero adjustments */
    .hero-title-left {
        font-size: 3rem;
        padding: 0 1rem;
    }

    .left-panel {
        padding-top: 20vh;
        /* Push text down further on mobile */
    }

    .hero-section {
        min-height: auto;
        padding: 4rem 0;
    }

    .hero-section {
        min-height: auto;
        padding: 4rem 0;
    }

    .hero-frame-container {
        width: 260px;
        height: 360px;
    }

    .names.bg-pink-text {
        font-size: 2.5rem;
    }

    /* Floating flowers - HIDE on mobile to prevent overlap with photos */
    .floating-flower,
    .left-flower,
    .right-flower {
        display: none !important;
    }

    /* Quote Box */
    .quote-box {
        padding: 1.5rem;
        width: 90%;
    }

    .verse {
        font-size: 1.1rem;
    }

    /* Couple Grid */
    .couple-grid {
        flex-direction: column;
        /* Stack vertically */
        gap: 0.5rem;
        /* Very tight gap */
        margin-top: 1rem;
        width: 100%;
        /* Ensure full width */
        align-items: center;
        /* Center items */
    }

    .couple-card {
        width: 100%;
        text-align: center;
        margin: 0;
        /* Remove potential side margins */
        display: flex;
        flex-direction: column;
        align-items: center;
        /* Center contents specifically */
    }

    .flower-frame {
        margin-bottom: 0.5rem;
        /* Reduce space between photo and name */
        width: 180px;
        /* Slightly smaller photo on mobile? User didn't ask but helps spacing */
        height: 180px;
    }

    .couple-name {
        margin-bottom: 0;
        /* Tighten name */
        font-size: 1.2rem;
    }

    .couple-ampersand {
        margin: 0;
        line-height: 1;
        font-size: 2rem;
        /* Smaller ampersand to save space */
    }

    /* Love Story */
    .story-frame {
        max-width: 260px;
        /* Slightly smaller on tiny screens */
    }

    .accordion-header {
        font-size: 0.9rem;
        padding: 1rem;
    }

    /* Event Cards */
    .event-cards {
        flex-direction: column;
        gap: 1.5rem;
    }

    .retro-card {
        min-width: 100%;
        padding: 1.5rem;
    }

    /* Footer */
    .footer-names {
        font-size: 2rem;
    }
}

/* --- SECTION 3: LOVE STORY REFINEMENTS --- */
.story-frame {
    width: 100%;
    max-width: 280px;
    margin: 0 auto 1.5rem;
    background: var(--primary-green);
    padding: 10px;
    border-radius: 20px;
    box-shadow: 6px 6px 0px var(--accent-pink);
}

/* --- SECTION 4: SAVE THE DATE --- */
.wavy-container {
    background: #F8E2D9;
    /* Peachy/Pink background from reference */
    padding: 4rem 2rem;
    border-radius: 40px;
    /* Rounded corners */
    position: relative;
    /* Wavy Top/Bottom logic could go here, for now using simple rounded */
    box-shadow: 0px 8px 0px rgba(0, 0, 0, 0.1);

    /* Scalloped edges attempt using radial gradient mask if supported, 
       but for simplicity starting with border-radius and maybe a border */
    mask:
        radial-gradient(20px at 50% calc(100% - 30px), #0000 99%, #000 101%) calc(50% - 20px) 0/40px 100%,
        radial-gradient(20px at 50% calc(100% + 10px), #000 99%, #0000 101%) 50% calc(100% - 30px)/40px 100% repeat-x;
}

/* Fallback for mask if needed, or simple rounded */
.text-pink {
    color: var(--accent-pink);
    text-shadow: none;
    font-size: 3rem;
    margin-bottom: 2rem;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.time-box {
    background: var(--bg-cream);
    color: var(--primary-green);
    border: 3px solid var(--primary-green);
    border-radius: 15px;
    width: 100px;
    /* Fixed width */
    height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 6px 6px 0px var(--primary-green);
    /* Green shadow */
    padding: 10px;
}

.time-box span {
    font-size: 2.5rem;
    color: var(--accent-pink);
    font-family: var(--font-head);
    line-height: 1;
}

.time-box p {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 700;
    margin-top: 5px;
    text-transform: uppercase;
    color: var(--primary-green);
}

.btn-calendar {
    background: var(--primary-green);
    color: var(--bg-white);
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    border-radius: 50px;
    margin-top: 3rem;
    cursor: pointer;
    box-shadow: none;
}

.btn-calendar:hover {
    transform: scale(1.05);
    background: #143d30;
    box-shadow: none;
}

.mb-4 {
    margin-bottom: 2rem;
}


.story-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

.story-text {
    color: var(--primary-green);
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 500px;
    margin: 0 auto;
    font-weight: 500;
}

/* --- SECTION 2.5: HAPPY COUPLE REFINEMENTS --- */
#couple {
    background: var(--bg-cream);
    padding: 4rem 0;
}

#couple .intro-text {
    color: var(--primary-green);
    font-weight: 500;
    margin-bottom: 2rem;
}

/* Flower Frame - Smaller Size (200px) */
.flower-frame {
    width: 200px;
    height: 200px;
    margin: 0 auto 1.5rem;
    position: relative;
    border-radius: 40px;
    background: var(--bg-white);
    padding: 6px;
    border: 6px solid var(--accent-pink);
    box-shadow: 0 0 0 4px var(--bg-cream);
    overflow: hidden;
}

.flower-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 34px;
}

.couple-name {
    font-family: var(--font-head);
    font-size: 1.5rem;
    color: var(--primary-green);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    white-space: nowrap;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.couple-parents {
    color: var(--accent-pink);
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 1.5rem;
}

.btn-social {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #F8E2D9;
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
    padding: 8px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-family: var(--font-body);
    transition: transform 0.3s ease;
    font-size: 0.9rem;
}

.btn-social:hover {
    transform: scale(1.05);
}

.couple-ampersand {
    font-family: var(--font-head);
    font-size: 3rem;
    color: var(--accent-pink);
    margin: 2rem 0;
}

/* --- SECTION 5: GALLERY --- */
.gallery-wrapper {
    position: relative;
    max-width: 100%;
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Nav styles removed */

.gallery-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1.5rem;
    padding: 1rem 1rem 2rem;
    /* Bottom padding for scrollbar/shadow */
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Hide scrollbar Firefox */
    scrollbar-width: none;
    /* Hide scrollbar Firefox */
    max-width: 100%;
    width: 100%;
    cursor: grab;
    /* Indicate draggable */
}

.gallery-container:active {
    cursor: grabbing;
}

.gallery-container::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar Chrome/Safari */
}

.gallery-item {
    flex: 0 0 280px;
    /* Fixed width cards */
    height: 380px;
    scroll-snap-align: center;
    border: 3px solid var(--primary-green);
    border-radius: 20px;
    overflow: hidden;
    background: var(--bg-white);
    box-shadow: 6px 6px 0px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

#gallery .section-title {
    /* Remove custom sizing - use default .section-title */
    white-space: normal;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#gallery {
    position: relative;
    overflow: hidden;
    /* Contain clouds */
}

/* Clouds */
.clouds-container {
    position: absolute;
    top: 50px;
    left: 0;
    width: 100%;
    height: 100%;
    /* Ensure it doesn't collapse */
    pointer-events: none;
    z-index: 0;
}

.cloud-1,
.cloud-2 {
    color: var(--bg-white);
    font-size: 3rem;
    position: absolute;
    opacity: 0.8;
    filter: drop-shadow(2px 2px 0px var(--primary-green));
}

.cloud-1 {
    top: -20px;
    left: 10%;
    animation: floatCloud 10s infinite alternate;
}

.cloud-2 {
    top: 10px;
    right: 10%;
    animation: floatCloud 12s infinite alternate-reverse;
}

@keyframes floatCloud {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(20px);
    }
}

/* Mobile: Adjust clouds to avoid text overlap */
@media (max-width: 768px) {
    .clouds-container {
        top: -40px;
    }

    .cloud-1 {
        top: -60px;
        left: 5%;
        font-size: 1.8rem;
        opacity: 0.6;
    }

    .cloud-2 {
        top: -50px;
        right: 5%;
        font-size: 1.8rem;
        opacity: 0.6;
    }
}

/* Dots */
.gallery-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.dot {
    width: 10px;
    height: 10px;
    background: var(--primary-green);
    border-radius: 50%;
    opacity: 0.3;
}

.dot.active {
    opacity: 1;
    background: var(--accent-pink);
}

/* --- SECTION 6: VIDEO --- */
.video-frame {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border: 4px solid var(--primary-green);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 8px 8px 0px rgba(0, 0, 0, 0.1);
    background: #000;
    /* Aspect Ratio Hack or modern property */
    aspect-ratio: 16 / 9;
}

.video-frame iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* --- SECTION 7: WEDDING DAY --- */
/* --- SECTION 7: WEDDING DAY --- */
.event-card {
    background: #fceceb;
    /* Soft Pink matching SVG */
    border-radius: 0 0 30px 30px;
    padding: 0 1.5rem 3rem;
    position: relative;
    max-width: 450px;
    /* Slightly wider for address */
    margin: 2rem auto 0;
    box-shadow: 10px 10px 0px rgba(27, 77, 62, 0.1);
    /* Subtle Green shadow */
    overflow: hidden;
}

.card-wave-top {
    line-height: 0;
    width: 100%;
    transform: rotate(180deg);
    margin-bottom: -1px;
}

.card-wave-top svg {
    display: block;
    width: 100%;
    height: auto;
}

.event-content {
    padding-top: 1rem;
}

.event-icon i {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 10px;
}

.event-title {
    font-family: var(--font-head);
    font-size: 2.2rem;
    color: var(--primary-green);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.event-day,
.event-month {
    font-family: var(--font-body);
    color: var(--primary-green);
    font-weight: 600;
    font-size: 1.1rem;
    margin: 0;
    letter-spacing: 1px;
}

.event-date {
    font-family: var(--font-head);
    font-size: 4rem;
    color: var(--accent-pink);
    line-height: 1;
    margin: 10px 0;
    text-shadow: 2px 2px 0px #fff;
}

.event-time {
    font-family: var(--font-body);
    font-weight: 700;
    color: var(--primary-green);
    background: #fff;
    display: inline-block;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 1rem;
    box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.05);
    border: 2px solid var(--accent-pink);
}

/* Location Styles */
.location-title {
    font-family: var(--font-body);
    font-weight: 800;
    color: var(--accent-pink);
    letter-spacing: 2px;
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.location-name {
    font-family: var(--font-head);
    font-size: 1.8rem;
    color: var(--primary-green);
    margin-bottom: 5px;
    line-height: 1.2;
}

.location-address {
    font-family: var(--font-body);
    color: var(--primary-green);
    line-height: 1.6;
    font-size: 1rem;
    opacity: 0.9;
}

/* --- SECTION 8: WEDDING GIFT --- */
.bank-card {
    background: var(--bg-cream);
    max-width: 350px;
    margin: 0 auto 2rem;
    position: relative;
    padding: 10px;
    /* Simulate checkerboard border with dashed/dotted or multiple shadows */
    border: 4px dashed var(--primary-green);
    border-radius: 20px;
    box-shadow: 6px 6px 0px var(--accent-pink);
}

.bank-card-inner {
    background: #fffbe6;
    /* Light cream */
    padding: 2rem;
    border-radius: 15px;
}

.bank-name {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--primary-green);
    margin-bottom: 5px;
    font-weight: bold;
}

.account-number {
    font-family: var(--font-head);
    font-size: 1.8rem;
    color: var(--primary-green);
    margin: 0;
    line-height: 1.2;
}

.account-name {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--primary-green);
    margin-bottom: 1.5rem;
}

.btn-copy {
    background: #143d30;
    /* Dark Green */
    color: #fff;
    border: none;
    padding: 8px 25px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.9rem;
    width: 100%;
    transition: background 0.2s;
}

.btn-copy:hover {
    background: var(--primary-green);
}

/* Bank Selector Wrapper */
.bank-selector {
    position: relative;
    max-width: 320px;
    margin: 0 auto;
}

/* Custom Select Styling */
.bank-selector .form-select {
    background-color: #fffbe6;
    /* Light Cream */
    border: 2px solid var(--primary-green);
    border-radius: 50px;
    padding: 12px 20px;
    font-size: 1rem;
    color: var(--primary-green);
    font-weight: 700;
    text-align: center;
    box-shadow: 4px 4px 0px var(--accent-pink);
    cursor: pointer;
    appearance: none;
    /* Remove default arrow */
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%231B4D3E' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1.5rem center;
    background-size: 16px 12px;
}

.bank-selector .form-select:focus {
    box-shadow: 4px 4px 0px var(--primary-green);
    border-color: var(--primary-green);
    outline: none;
}

.gift-form input,
.gift-form textarea {
    background: #fffbe6;
    /* Light Cream background for fields */
    border: 2px solid var(--primary-green);
    border-radius: 50px;
    /* Full pill for inputs */
    color: var(--primary-green);
    padding: 15px 25px;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 5px;
    /* Spacing handled by mb-3 usually, but just in case */
    box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.05);
    /* Slight inner shadow */
}

.gift-form textarea {
    border-radius: 20px;
    /* Less rounded for textarea */
}

.gift-form input::placeholder,
.gift-form textarea::placeholder {
    color: var(--primary-green);
    opacity: 0.5;
    font-style: italic;
}

.gift-form input:focus,
.gift-form textarea:focus {
    background: #fff;
    border-color: var(--accent-pink);
    box-shadow: 0 0 0 4px rgba(255, 158, 170, 0.2);
    outline: none;
}

/* Ensure Next Button matches styling */
.gift-form .btn-primary {
    border-radius: 50px;
    padding: 12px;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 1px;
    box-shadow: 4px 4px 0px var(--accent-pink);
    margin-top: 10px;
}

.gift-form .btn-primary:active {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0px var(--accent-pink);
}

.btn-maps {
    background: var(--primary-green);
    color: var(--bg-cream);
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.2s;
    display: inline-block;
    border: 2px solid var(--bg-cream);
    box-shadow: 4px 4px 0px var(--accent-pink);
}

.btn-maps:hover {
    transform: scale(1.05);
    background: var(--accent-pink);
    box-shadow: 4px 4px 0px var(--primary-green);
}

/* --- Send Us A Gift Section --- */
.checkered-card {
    background: var(--bg-cream);
    /* Wrapper bg */
    padding: 0;
    margin: 0 auto;
    max-width: 400px;
    border: 6px dashed var(--primary-green);
    border-radius: 25px;
    box-shadow: 6px 6px 0px var(--accent-pink);
    overflow: hidden;
}

.checkered-card-inner {
    background: #fceceb;
    /* Soft Pink Background from Ref */
    padding: 2rem 1.5rem;
    border-radius: 18px;
    /* Slightly less than outer */
    margin: 4px;
    /* Space for the "border" if needed */
}

.recipient-name {
    font-family: var(--font-body);
    font-size: 1.2rem;
    color: var(--primary-green);
    font-weight: bold;
    margin-bottom: 5px;
}

.recipient-phone {
    font-family: var(--font-head);
    font-size: 1.5rem;
    color: var(--primary-green);
    margin-bottom: 10px;
}

.recipient-address {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--primary-green);
    margin-bottom: 2rem;
    line-height: 1.5;
}

.btn-copy-address {
    background: #fff;
    /* White/Cream pop */
    color: var(--primary-green);
    border: 3px solid var(--primary-green);
    padding: 12px 30px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 900;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s;
    font-size: 0.9rem;
    letter-spacing: 1px;
    box-shadow: 6px 6px 0px var(--accent-pink);
}

.btn-copy-address:hover {
    background: var(--primary-green);
    color: #fff;
    box-shadow: 4px 4px 0px #fff;
    /* Or keep pink shadow but shift: box-shadow: 2px 2px 0px var(--accent-pink); */
    transform: translate(2px, 2px);
    /* Press effect */
}

.btn-registry {
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    background: var(--primary-green);
    color: var(--bg-cream);
    border: 2px solid var(--bg-cream);
    box-shadow: 4px 4px 0px var(--accent-pink);
    transition: all 0.2s;
}

.btn-registry:hover {
    background: var(--accent-pink);
    color: var(--primary-green);
    box-shadow: 4px 4px 0px var(--primary-green);
    transform: scale(1.05);
}

/* Top Wave decoration if desired */
.event-card::before {
    /* Optional: Add a wave SVG here if user wants strictly wavy top */
}

.event-icon i {
    font-size: 2.5rem;
    color: var(--primary-green);
}

.event-title {
    font-family: var(--font-head);
    font-size: 2rem;
    color: var(--primary-green);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.event-day,
.event-month {
    font-family: var(--font-body);
    color: var(--primary-green);
    font-weight: 500;
    margin: 0;
}

.event-date {
    font-family: var(--font-head);
    font-size: 3.5rem;
    color: var(--accent-pink);
    line-height: 1;
    margin: 5px 0;
}

.event-time {
    font-family: var(--font-body);
    font-weight: 700;
    color: var(--accent-pink);
    /* Use Pink for time */
    background: #fff;
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
}