/* 
* Wedding Website - Minh & Phuong
* Custom Styles
*/

:root {
    --primary-color: #B57C5B;
    --secondary-color: #fbece7;
    --text-color: #595959;
    --bg-color: #FFFFFF;
    --font-heading: 'Cormorant', serif;
    --font-body: 'Montserrat', sans-serif;
    --font-accent: 'Cormorant Infant', serif;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    background-color: var(--bg-color);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
}

/* Navbar Customization */
.navbar {
    background-color: transparent;
    backdrop-filter: none;
    box-shadow: none;
    transition: all 0.3s ease;
    padding: 9px 0;
    position: absolute;
    width: 100%;
    z-index: 1000;
}

.navbar .container {
    max-width: 1420px;
    width: 100%;
}

.navbar-brand {
    font-family: 'Cormorant', serif;
    font-size: 5.15rem;
    /* 82.29px */
    font-weight: 500;
    line-height: 100px;
    color: #FFFFFF !important;
    text-align: center;
}

.navbar-nav {
    gap: 49px;
}

.nav-link {
    font-family: 'Mulish', sans-serif;
    font-weight: 600;
    font-size: 1.37rem;
    /* 22px approx */
    line-height: 35px;
    color: #FFFFFF !important;
    transition: opacity 0.3s;
    text-transform: uppercase;
    letter-spacing: 0;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    opacity: 0.8;
    color: #FFFFFF !important;
}

/* Navbar Toggler Icon - White */
.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Responsive Navbar */
@media (max-width: 1400px) {
    .navbar-brand {
        font-size: 4rem;
    }

    .navbar-nav {
        gap: 30px;
    }

    .nav-link {
        font-size: 1.1rem;
    }
}

@media (max-width: 1200px) {
    .navbar-brand {
        font-size: 3.5rem;
    }

    .navbar-nav {
        gap: 20px;
    }

    .nav-link {
        font-size: 1rem;
    }

    .about-story {
        gap: 50px !important;
    }
}

@media (max-width: 992px) {
    .navbar {
        padding: 10px 0;
    }

    .navbar-brand {
        font-size: 3rem;
    }

    .navbar-collapse {
        background: rgba(0, 0, 0, 0.2);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
        border-radius: 16px;
        padding: 20px;
        margin-top: 10px;
        width: fit-content;
        margin-left: auto;
    }

    .navbar-nav {
        gap: 15px;
        margin-top: 0;
        align-items: flex-end;
        /* Right align items */
    }

    .nav-link {
        font-size: 1.2rem;
        padding: 10px 0;
        text-align: right;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .navbar-brand {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    .navbar-brand {
        font-size: 2rem;
    }
}

/* Hero Section */
.hero-section {
    height: 1092px;
    background-image: url('../img/banner.jpg');
    background-size: cover;
    background-position-x: center;
    background-position-y: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1920px;
    margin: 0 auto;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 55px;
}

.hero-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.hero-divider {
    color: #FFFFFF;
    font-size: 2rem;
}

.hero-subtitle {
    font-family: 'Cormorant', serif;
    font-weight: 500;
    font-size: 3.4rem;
    /* 54.86px */
    color: #FFFFFF;
    margin: 0;
}

.hero-title {
    font-family: 'Cormorant', serif;
    font-weight: 600;
    font-size: 6.85rem;
    /* 109.71px */
    line-height: 1.2;
    color: #FFFFFF;
    margin: 0;
}

.hero-info {
    display: flex;
    align-items: center;
    gap: 21px;
    justify-content: center;
}

.hero-date,
.hero-venue {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 2.25rem;
    /* 36px */
    color: #FFFFFF;
    margin: 0;
}

.hero-separator {
    width: 47px;
    height: 2.74px;
    background: #FFFFFF;
}

.btn-hero {
    background: rgba(255, 255, 255, 0.3);
    border: 1px solid #FFFFFF;
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 9px 24px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.5rem;
    /* 24px */
    color: #FFFFFF;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
}

.btn-hero:hover {
    background: rgba(255, 255, 255, 0.5);
    color: #FFFFFF;
}

@media (max-width: 768px) {
    .hero-section {
        height: 100vh;
    }

    .hero-title {
        font-size: 4rem;
    }

    .hero-subtitle {
        font-size: 2rem;
    }

    .hero-date,
    .hero-venue {
        font-size: 1.5rem;
    }
}


/* Section Padding */
section {
    padding: 100px 0;
}

/* Animations */
.animate-fade-in-up {
    animation: fadeInUp 1s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

.delay-1 {
    animation-delay: 0.3s;
}

.delay-2 {
    animation-delay: 0.6s;
}

.delay-3 {
    animation-delay: 0.9s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Save the Date Section */
#save-the-date {
    background: linear-gradient(180deg, #E8EDF4 15.78%, #FBECE7 92.08%);
    padding: 70px 0;
    position: relative;
    max-width: 1920px;
    margin: 0px auto;
    margin-top: 50px;
}

.save-title {
    font-family: 'Cormorant', serif;
    font-weight: 600;
    font-size: 6rem;
    color: #343434;
    margin-bottom: 3rem;
}

.save-card {
    background: #FFFFFF;
    border: 1.5px solid #FFFFFF;
    padding: 60px;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    gap: 60px;
    align-items: center;
}

.save-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
}

.save-header h3 {
    font-family: 'Cormorant', serif;
    font-weight: 700;
    font-size: 3.5rem;
    color: #343434;
    margin-bottom: 0.5rem;
}

.save-header p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 1.6rem;
    color: #656565;
}

.save-buttons {
    display: flex;
    flex-direction: column;
    gap: 32px;
    width: 100%;
    max-width: 320px;
}

.btn-gift {
    background: #E8EDF4;
    border: 1px solid #5988B0;
    border-radius: 40px;
    padding: 12px 24px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 1.5rem;
    color: #000000;
    text-align: center;
    transition: all 0.3s;
}

.btn-rsvp {
    background: #FEF2EA;
    border: 1px solid #EB7B7B;
    border-radius: 40px;
    padding: 12px 24px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 1.5rem;
    color: #000000;
    text-align: center;
    transition: all 0.3s;
}

.btn-gift:hover {
    background: #5988B0;
    color: white;
}

.btn-rsvp:hover {
    background: #EB7B7B;
    color: white;
}

.save-date-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.save-date-info .divider-floral {
    color: #F3BFB0;
}

.save-date-text {
    font-family: 'Cormorant Infant', serif;
    font-weight: 700;
    font-size: 3.5rem;
    color: #343434;
    text-align: center;
}

.save-countdown {
    display: flex;
    gap: 38px;
    justify-content: center;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 0 10px;
}

.countdown-value {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 3rem;
    color: #343434;
    line-height: 1;
}

.countdown-label {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.5rem;
    color: #343434;
}

.save-image {
    position: relative;
    flex-shrink: 0;
}

.save-image img {
    width: 540px;
    height: 658px;
    object-fit: cover;
    border-radius: 10px;
}

.save-image-text {
    position: absolute;
    top: 20px;
    left: 20px;
    color: #FEF2EA;
    text-align: center;
}

.save-image-text .save-text {
    font-family: 'Cormorant', serif;
    font-weight: 600;
    font-size: 5rem;
    line-height: 1;
}

.save-image-text .the-text {
    font-family: 'Cormorant', serif;
    font-weight: 700;
    font-size: 1.8rem;
    margin: 0 0 -10px 0;
}

.save-image-text .date-text {
    font-family: 'Cormorant', serif;
    font-weight: 600;
    font-size: 5rem;
    line-height: 1;
}

@media (max-width: 1200px) {
    .save-card {
        flex-direction: column-reverse;
        padding: 40px;
    }

    .save-image img {
        width: 100%;
        max-width: 450px;
        height: auto;
    }

    .save-title {
        font-size: 4rem;
    }
}

/* About Section */
#about {
    padding: 100px 0;
}

.about-title {
    font-family: 'Cormorant', serif;
    font-weight: 600;
    font-size: 6rem;
    color: #343434;
    opacity: 0.8;
    text-align: center;
    margin-bottom: 4rem;
}

.about-story {
    display: flex;
    align-items: center;
    gap: 134px;
    margin-bottom: 100px;
}

.about-story.reverse {
    flex-direction: row-reverse;
}

.about-story-img {
    width: 604px;
    max-width: 100%;
    height: auto;
    aspect-ratio: 604 / 908;
    flex-shrink: 0;
}

.about-story-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0px 6px 40px 4px rgba(0, 0, 0, 0.08), 0px 2px 10px rgba(0, 0, 0, 0.08);
}

.about-story-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 27px;
}

.about-story-content h3 {
    font-family: 'Cormorant', serif;
    font-weight: 500;
    font-size: 3.5rem;
    color: #B57C5B;
    margin-bottom: 0;
}

.about-story-content p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 1.5rem;
    line-height: 1.6;
    color: #656565;
}

.about-quote {
    font-family: 'Cormorant', serif;
    font-style: italic;
    font-weight: 700;
    font-size: 3.5rem;
    line-height: 1.2;
    text-align: center;
    color: #6C6C6C;
    margin: 80px 0;
    max-width: 979px;
    margin-left: auto;
    margin-right: auto;
}

.about-video {
    position: relative;
    width: 100%;
    max-width: 1654px;
    height: 686px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
}

.about-video img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 123px;
    height: 123px;
    background: rgba(255, 255, 255, 0.5);
    border: 2.5px solid #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.video-play-btn:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-play-btn::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 30px solid #FFFFFF;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    margin-left: 8px;
}

/* About Section Responsive */
@media (max-width: 768px) {
    #about {
        padding: 60px 0;
    }

    .about-title {
        font-size: 3.5rem;
        margin-bottom: 3rem;
    }

    .about-story {
        flex-direction: column !important;
        gap: 30px;
        margin-bottom: 60px;
        align-items: center;
    }

    .about-story-img {
        width: 50%;
        max-width: 400px;
    }

    .about-story-content {
        align-items: center;
        text-align: center;
    }

    .about-story-content h3 {
        font-size: 2.5rem;
    }

    .about-story-content p {
        font-size: 1.2rem;
    }

    .about-quote {
        font-size: 2rem;
        margin: 50px 0;
        padding: 0 20px;
    }

    .about-video {
        height: 300px;
    }

    .video-play-btn {
        width: 80px;
        height: 80px;
    }

    .video-play-btn::after {
        border-left: 20px solid #FFFFFF;
        border-top: 15px solid transparent;
        border-bottom: 15px solid transparent;
    }
}

@media (max-width: 576px) {
    .about-title {
        font-size: 2.5rem;
    }

    .about-story-img {
        width: 70%;
        max-width: 100%;
    }

    .about-story-content h3 {
        font-size: 2rem;
    }

    .about-story-content p {
        font-size: 1rem;
    }

    .about-quote {
        font-size: 1.5rem;
        margin: 40px 0;
    }

    .about-video {
        height: 250px;
    }
}

@media (max-width: 768px) {
    .about-title {
        font-size: 4rem;
    }

    .about-story-content h3 {
        font-size: 2.5rem;
    }

    .about-story-content p {
        font-size: 1.2rem;
    }

    .about-quote {
        font-size: 2rem;
    }
}

/* Event Section */
#event {
    position: relative;
    max-height: 1326px;
    display: flex;
    align-items: stretch;
    padding: 0;
    overflow: hidden;
    max-width: 1920px;
    height: 1326px;
    margin: 0 auto;
}

.event-image-side {
    width: 42%;
    /* Approximately 800px of 1920px */
    background-image: url('../img/event.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
}

.event-content-side {
    width: 58%;
    /* Approximately 1122px of 1920px */
    background: #FFFFFF;
    padding: 100px 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.event-title {
    font-family: 'Cormorant', serif;
    font-weight: 600;
    font-size: 5rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.event-details {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    line-height: 2;
    color: #535353;
}

.event-details .detail-item {
    margin-bottom: 2rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.event-details .detail-icon {
    color: var(--primary-color);
    font-size: 1.8rem;
    min-width: 30px;
}

@media (max-width: 992px) {
    #event {
        flex-direction: column;
    }

    .event-image-side {
        width: 100%;
        min-height: 400px;
    }

    .event-content-side {
        width: 100%;
        padding: 60px 30px;
    }

    .event-title {
        font-size: 3rem;
    }

    .event-details {
        font-size: 1.2rem;
    }

    .hero-info {
        flex-direction: column;
        gap: 10px;
    }

    .hero-separator {
        display: none;
    }
}

/* Gallery Section */
#gallery {
    padding: 100px 0;
    position: relative;
}

.gallery-title {
    font-family: 'Cormorant', serif;
    font-weight: 600;
    font-size: 6rem;
    color: #343434;
    text-align: center;
    margin-bottom: 1rem;
}

.gallery-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 1.5rem;
    color: #595959;
    text-align: center;
    margin-bottom: 4rem;
}

.gallery-container {
    position: relative;
    width: 100%;
    max-width: 1654px;
    height: 1045px;
    margin: 0 auto;
}

.gallery-img {
    position: absolute;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0px 6px 40px 4px rgba(0, 0, 0, 0.08);
    filter: drop-shadow(0px 2px 10px rgba(0, 0, 0, 0.08));
}

.gallery-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

/* Image 1 - Center Large */
.gallery-img-1 {
    width: 587px;
    height: 878px;
    left: 34%;
    top: 25%;
    z-index: 5;
}

/* Image 3 - Top Left */
.gallery-img-3 {
    width: 352px;
    height: 475px;
    left: 0;
    top: 9%;
    z-index: 3;
}

/* Image 4 - Bottom Left */
.gallery-img-4 {
    width: 377px;
    height: 510px;
    left: 8.5%;
    top: 44%;
    z-index: 4;
}

/* Image 5 - Top Right */
.gallery-img-5 {
    width: 347px;
    height: 475px;
    right: 0;
    top: 9%;
    z-index: 3;
}

/* Image 6 - Bottom Right */
.gallery-img-6 {
    width: 354px;
    height: 485px;
    right: 6%;
    top: 41%;
    z-index: 4;
}

@media (max-width: 1400px) {
    .gallery-container {
        height: 800px;
    }

    .gallery-img-1 {
        width: 440px;
        height: 660px;
    }

    .gallery-img-3,
    .gallery-img-4,
    .gallery-img-5,
    .gallery-img-6 {
        width: 260px;
        height: 350px;
    }
}

@media (max-width: 992px) {
    .gallery-container {
        position: relative;
        height: auto;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .gallery-img {
        position: relative !important;
        width: 100% !important;
        height: 400px !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
    }

    .gallery-title {
        font-size: 4rem;
    }
}


footer {
    background-color: #f8f9fa;
    padding: 40px 0;
    text-align: center;
}

/* Countdown */
.countdown-item {
    min-width: 90px;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 8px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

@media (max-width: 576px) {
    .countdown-item {
        min-width: 60px;
    }

    .countdown-item .display-4 {
        font-size: 2rem;
    }
}

/* Back to Top */
#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: none;
    z-index: 99;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transition: all 0.3s;
}

#backToTop:hover {
    background-color: #c08b5c;
    transform: translateY(-5px);
}

/* Scroll Animations */
.reveal {
    position: relative;
    transform: translateY(150px);
    opacity: 0;
    transition: all 1.5s ease;
    will-change: transform, opacity;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Custom Utilities */
.letter-spacing-2 {
    letter-spacing: 2px;
}

/* Seating Chart Section */
#seating-chart {
    position: relative;
    background-image: url('../img/bg_seat.jpg');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    overflow: hidden;
    max-width: 1920px;
    margin: 0 auto;
}

#seating-chart .container {
    position: relative;
    z-index: 2;
}

.seating-chart-title {
    font-family: 'Cormorant', serif;
    font-weight: 600;
    font-size: 6rem;
    /* 100px */
    color: #FFFFFF;
    margin-bottom: 2rem;
}

#seating-chart .divider-floral {
    color: #FFFFFF;
}

/* Seating chart — updated */
.seating-chart-img-wrapper {
    padding: 32px;
    /* padding đều 32px */
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    border-radius: 20px;
    /* radius 10px cho backdrop */
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    margin: 0 auto;
}

/* Canvas đơn giản giữ ảnh bên trong */
.seating-chart-canvas {
    width: 1270px;
    /* theo Figma, responsive bằng max-width */
    max-width: 100%;
    height: auto;
    overflow: hidden;
    border-radius: 10px;
    box-sizing: border-box;
}

/* Ảnh: không crop, bo góc 10px, shadow theo yêu cầu */
.seating-chart-img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    /* giữ nguyên toàn bộ ảnh */
    border-radius: 10px;
    /* round 10px */
    box-shadow: 0px 4px 6px -4px rgba(0, 0, 0, 0.1);
    /* theo yêu cầu */
}

@media (max-width: 768px) {
    .seating-chart-title {
        font-size: 3.5rem;
    }
}

/* Menu Section */
.menu-title {
    font-family: 'Cormorant', serif;
    font-style: normal;
    font-weight: 500;
    font-size: 6rem;
    /* 100px */
    line-height: 1.2;
    color: #000000;
}

@media (max-width: 768px) {
    .menu-title {
        font-size: 4rem;
    }
}

.menu-card {
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
    border-radius: 180px 180px 20px 20px;
    overflow: hidden;
    box-shadow: 0px 6px 40px 4px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.menu-card-img-wrapper {
    width: 100%;
    height: 360px;
    position: relative;
    border-bottom: 1px solid;
}

.menu-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.menu-card-body {
    padding: 40px 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-left: 1px solid;
    border-right: 1px solid;
    border-bottom: 1px solid;
    border-radius: 0 0 20px 20px;
}

/* Specific Card Styles */
/* Card 1: Khai vị */
.menu-card-1 .menu-card-img-wrapper {
    background: #E8EDF4;
    border-color: #A3C1DC;
}

.menu-card-1 .menu-card-body {
    background: #E8EDF4;
    border-color: #A3C1DC;
}

.menu-card-1 .menu-item-title {
    color: #3973A6;
}

/* Card 2: Món chính */
.menu-card-2 .menu-card-img-wrapper {
    background: #FBECE7;
    border-color: #F3BFB0;
}

.menu-card-2 .menu-card-body {
    background: #FBECE7;
    border-color: #F3BFB0;
}

.menu-card-2 .menu-item-title {
    color: #B55B5F;
}

/* Card 3: Tráng miệng */
.menu-card-3 .menu-card-img-wrapper {
    background: #FEF2EA;
    border-color: #F3BFB0;
}

.menu-card-3 .menu-card-body {
    background: #FEF2EA;
    border-color: #F3BFB0;
}

.menu-card-3 .menu-item-title {
    color: #D88D77;
}

.menu-item-title {
    font-family: 'Cormorant', serif;
    font-weight: 700;
    font-size: 2.5rem;
    /* 40px */
    margin-bottom: 1.5rem;
}

.menu-item-list {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 1.2rem;
    /* 24px scaled down */
    line-height: 1.6;
    color: #535353;
    margin: 0;
    list-style: none;
    padding: 0;
}

.menu-item-list li {
    margin-bottom: 0.5rem;
}

/* Form Styles */
.form-control:focus {
    box-shadow: none;
    border-color: var(--primary-color) !important;
}

/* Gift Section Styles from Figma */
.gift-title {
    font-family: 'Cormorant', serif;
    font-style: normal;
    font-weight: 500;
    font-size: 6rem;
    /* 100px approx */
    line-height: 1.2;
    color: #000000;
}

@media (max-width: 768px) {
    .gift-title {
        font-size: 4rem;
    }
}

.gift-card {
    border-radius: 16px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    height: 100%;
}

.gift-card.left-card {
    background: #E8EDF4;
}

.gift-card.right-card {
    background: #FEF2EA;
}

.gift-card-title {
    font-family: 'Montserrat', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 1.5rem;
    /* 24px */
    line-height: 1.6;
    text-align: center;
    color: #040404;
    margin-bottom: 0;
}

.gift-qr-img,
.gift-registry-img {
    width: 100%;
    max-width: 315px;
    border-radius: 10px;
    object-fit: contain;
}

.gift-bank-info {
    font-family: 'Montserrat', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 1.2rem;
    /* 24px scaled down slightly for fit */
    line-height: 1.6;
    text-align: center;
    color: #2D2D2D;
}

.btn-registry {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 6px 24px;
    gap: 10px;
    width: 100%;
    max-width: 320px;
    height: 62px;
    border: 1.5px solid #D88D77;
    border-radius: 40px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 1.2rem;
    color: #D88D77;
    background: transparent;
    transition: all 0.3s ease;
}

.btn-registry:hover {
    background: #D88D77;
    color: white;
}

/* Message Box Styles */
.message-box {
    background: #FBECE7;
    border-radius: 16px;
    padding: 70px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.message-title {
    font-family: 'Cormorant', serif;
    font-style: normal;
    font-weight: 600;
    font-size: 3.75rem;
    /* 60px */
    line-height: 1.2;
    color: #000000;
}

.message-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 1.5rem;
    /* 24px */
    line-height: 1.6;
    color: #000000;
    text-align: center;
}

.form-line-input {
    width: 100%;
    max-width: 902px;
    height: 50px;
    /* Spacing */
    border: none;
    border-bottom: 1px solid #D8B9BC;
    background: transparent;
    outline: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 20px;
}

.btn-send {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 6px 24px;
    gap: 10px;
    width: 208px;
    height: 62px;
    background: #FFE6DE;
    border: 1.5px solid #B55B5F;
    border-radius: 40px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 1.5rem;
    /* 24px */
    color: #B55B5F;
    margin-top: 30px;
    transition: all 0.3s ease;
}

.btn-send:hover {
    background: #B55B5F;
    color: white;
}

.divider-floral {
    font-size: 2rem;
    color: #CEB4B7;
    margin: 1rem 0;
}

/* Dress Code Section */
.dress-code-title {
    font-family: 'Cormorant', serif;
    font-style: normal;
    font-weight: 500;
    font-size: 5rem;
    /* 100px */
    line-height: 1.2;
    color: #000000;
}

@media (max-width: 768px) {
    .dress-code-title {
        font-size: 3.5rem;
    }
}

.dress-code-img {
    width: 100%;
    max-width: 370px;
    aspect-ratio: 1/1;
    border-radius: 10px;
    object-fit: cover;
    margin-bottom: 1rem;
}

.btn-detail {
    box-sizing: border-box;
    display: inline-flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 6px 24px;
    gap: 10px;
    width: 320px;
    height: 62px;
    border: 1.5px solid #D88D77;
    border-radius: 40px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 1.5rem;
    /* 24px */
    color: #D88D77;
    background: transparent;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-detail:hover {
    background: #D88D77;
    color: white;
}

/* Footer Custom */
.footer-custom {
    background: #F6F6F6;
    position: relative;
    overflow: hidden;
    height: 247px;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0px;
}

.footer-brand {
    font-family: 'Cormorant', serif;
    font-style: normal;
    font-weight: 500;
    font-size: 5rem;
    /* 82px approx */
    line-height: 1.2;
    color: #343434;
    margin: 0;
}

.footer-vector-left {
    width: 80px;
    /* Scaled down from 113px for better mobile fit */
    height: auto;
    transform: rotate(11.68deg);
    color: #C3937C;
}

.footer-vector-right {
    width: 80px;
    height: auto;
    transform: matrix(-0.98, 0.2, 0.2, 0.98, 0, 0);
    color: #C3937C;
}

/* Event content — Figma-based layout */
.event-content-side {
    width: 770px;
    max-width: 95%;
    /* center inside parent */
    margin: 0 auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    background: transparent;
    box-sizing: border-box;
    position: relative;
}

/* Top title block */
.event-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.event-title {
    font-family: 'Cormorant', serif;
    font-weight: 600;
    font-size: 100px;
    /* Figma */
    line-height: 121px;
    text-align: center;
    color: #343434;
    margin: 0;
}

.event-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 60px;
    color: #595959;
    margin: 0;
}

/* decorative icons between title and date */
.event-decor {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 8px;
    line-height: 0;
}

.event-decor img {
    display: block;
    height: auto;
}

/* Main content */
.event-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    width: 100%;
    padding-bottom: 12px;
}

.event-date {
    font-family: 'Cormorant Infant', serif;
    font-weight: 700;
    font-size: 40px;
    line-height: 48px;
    color: #5988B0;
    text-align: center;
    max-width: 100%;
}

/* times row */
.event-times {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 32px;
    width: 100%;
    margin-top: 6px;
}

.event-time {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 40px;
    color: #656565;
    text-align: center;
    min-width: 200px;
}

/* vertical divider between times */
.event-divider-vert {
    width: 1px;
    height: 28px;
    background: rgba(101, 101, 101, 0.2);
}

/* venue & address */
.event-venue {
    font-family: 'Cormorant Infant', serif;
    font-weight: 700;
    font-size: 40px;
    line-height: 48px;
    color: #5988B0;
    text-align: center;
    margin-top: 8px;
}

.event-address {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 40px;
    color: #656565;
    text-transform: uppercase;
    text-align: center;
    max-width: 778px;
}

/* map button */
.btn-map {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 320px;
    height: 56px;
    padding: 6px 24px;
    border-radius: 40px;
    border: 1.5px solid #5988B0;
    color: #5988B0;
    background: transparent;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 24px;
    text-decoration: none;
    margin-top: 8px;
    transition: all .2s;
}

.btn-map:hover {
    background: #5988B0;
    color: #fff;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .event-title {
        font-size: 56px;
        line-height: 1.05;
    }

    .event-date,
    .event-venue {
        font-size: 36px;
        line-height: 44px;
    }

    .event-subtitle {
        font-size: 20px;
        line-height: 36px;
    }
}

@media (max-width: 768px) {
    .event-content-side {
        gap: 24px;
        padding: 40px 20px;
    }

    .event-title {
        font-size: 36px;
        line-height: 1.05;
    }

    .event-date,
    .event-venue {
        font-size: 28px;
    }

    .event-time,
    .event-address {
        font-size: 18px;
        line-height: 28px;
        min-width: auto;
    }

    .btn-map {
        width: 260px;
        font-size: 18px;
        height: 56px;
    }

    .event-decor img[width="202"] {
        width: 160px;
        height: auto;
    }

    .event-decor img[width="30"] {
        width: 24px;
        height: auto;
    }
}

/* =========================================
   MOBILE RESPONSIVE OPTIMIZATIONS
   ========================================= */

/* Hero Section Responsive */
@media (max-width: 992px) {
    .hero-section {
        height: auto;
        min-height: 100vh;
        padding: 120px 0 60px;
        background-position: center;
    }

    .hero-title {
        font-size: 5rem;
    }

    .hero-subtitle {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .hero-subtitle {
        font-size: 1.8rem;
    }

    .hero-date,
    .hero-venue {
        font-size: 1.5rem;
    }
}

/* About Section Responsive */
@media (max-width: 992px) {

    .about-story,
    .about-story.reverse {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .about-story-img {
        width: 100%;
        height: auto;
        max-width: 500px;
    }

    .about-story-content {
        align-items: center;
    }

    .about-title {
        font-size: 4rem;
    }

    .about-quote {
        font-size: 2.5rem;
        margin: 50px 0;
    }

    .about-video {
        height: 400px;
    }
}

@media (max-width: 576px) {
    .about-title {
        font-size: 3rem;
    }

    .about-story-content h3 {
        font-size: 2.5rem;
    }

    .about-story-content p {
        font-size: 1.1rem;
    }

    .about-quote {
        font-size: 1.8rem;
    }

    .about-video {
        height: 250px;
    }

    .video-play-btn {
        width: 80px;
        height: 80px;
    }
}

/* Save the Date Section Responsive */
@media (max-width: 1200px) {
    .save-card {
        flex-direction: column-reverse;
        height: auto;
        max-width: 800px;
        gap: 40px;
        /* Ensure gap between image and content */
    }

    .save-content {
        width: 100%;
        padding: 0 20px 40px 20px;
        align-items: center;
        margin-top: 0;
    }

    .save-image {
        width: 100%;
        height: auto;
        /* Remove fixed height to avoid overlap/gaps */
        display: flex;
        justify-content: center;
        /* Center the image */
        margin-bottom: 0;
    }

    .save-image img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 768px) {
    .save-title {
        font-size: 4rem;
    }

    .save-content h3 {
        font-size: 3rem;
    }

    .save-date-text {
        font-size: 2rem;
    }

    .countdown-container {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .countdown-item {
        min-width: 70px;
    }

    .countdown-number {
        font-size: 2.5rem;
    }

    .save-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .btn-gift,
    .btn-rsvp {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 576px) {
    .save-title {
        font-size: 3rem;
    }

    .save-content {
        padding: 40px 20px;
    }

    .save-image {
        height: 350px;
    }
}

/* Gallery Section Responsive */
@media (max-width: 992px) {
    .gallery-container {
        height: auto;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 0 20px;
    }

    .gallery-img {
        position: relative !important;
        width: 100% !important;
        height: 400px !important;
        left: auto !important;
        top: auto !important;
        right: auto !important;
    }

    .gallery-title {
        font-size: 4rem;
    }
}

@media (max-width: 576px) {
    .gallery-container {
        grid-template-columns: 1fr;
    }

    .gallery-title {
        font-size: 3rem;
    }

    .gallery-subtitle {
        font-size: 1.2rem;
    }
}

/* Seating Chart Responsive */
@media (max-width: 768px) {
    .seating-chart-title {
        font-size: 3rem;
    }

    .seating-chart-img-wrapper {
        padding: 15px;
    }
}

/* Menu Section Responsive */
@media (max-width: 1200px) {
    .menu-card {
        max-width: 100%;
    }

    .menu-title {
        font-size: 4.5rem;
    }
}

@media (max-width: 768px) {
    .menu-title {
        font-size: 3.5rem;
    }

    .menu-card-img-wrapper {
        height: 250px;
    }

    .menu-item-title {
        font-size: 2rem;
    }
}

/* Gift Section Responsive */
@media (max-width: 992px) {
    .gift-title {
        font-size: 4.5rem;
    }

    .message-box {
        padding: 40px 20px;
    }

    .message-title {
        font-size: 3rem;
    }
}

@media (max-width: 576px) {
    .gift-title {
        font-size: 3.5rem;
    }

    .gift-card {
        padding: 20px;
    }

    .message-title {
        font-size: 2.5rem;
    }

    .form-line-input {
        font-size: 1rem;
    }
}

/* Dress Code Section Responsive */
@media (max-width: 992px) {
    .dress-code-title {
        font-size: 4.5rem;
    }
}

@media (max-width: 768px) {
    .dress-code-title {
        font-size: 3.5rem;
    }

    .dress-code-img {
        max-width: 100%;
    }
}

/* Footer Responsive */
@media (max-width: 768px) {
    .footer-custom {
        height: auto;
        padding: 40px 0;
    }

    .footer-brand {
        font-size: 3.5rem;
    }

    .footer-vector-left,
    .footer-vector-right {
        width: 50px;
    }
}

/* Event Section Layout Responsive */
@media (max-width: 992px) {
    #event {
        flex-direction: column;
        height: auto;
        max-height: none;
    }

    .event-image-side {
        width: 100%;
        height: 400px;
        /* Give it a fixed height on mobile */
    }

    .event-content-side {
        width: 100%;
        padding: 60px 20px;
    }
}

@media (max-width: 576px) {
    .event-image-side {
        height: 300px;
    }

    .event-title {
        font-size: 3rem;
        /* Override user's 36px/56px if needed, but 36px is small enough */
    }
}

/* Fix Save the Date Overlap & Button Text Wrap on Mobile */
@media (max-width: 576px) {

    /* Save the Date Text Scaling */
    .save-image-text {
        top: 15px;
        left: 15px;
    }

    .save-image-text .save-text {
        font-size: 3.5rem;
    }

    .save-image-text .the-text {
        font-size: 1.2rem;
        margin: 0 0 -5px 0;
    }

    .save-image-text .date-text {
        font-size: 3.5rem;
    }

    /* Button Text Fix */
    .btn-gift,
    .btn-rsvp,
    .btn-registry,
    .btn-send,
    .btn-detail,
    .btn-map,
    .btn-hero {
        font-size: 1.1rem !important;
        white-space: nowrap;
        padding: 10px 15px;
    }
}

/* Fix Save the Date Overlap & Countdown & BackToTop on Mobile */
@media (max-width: 576px) {

    /* 1. Fix Overlap: Add spacing between image (top) and content (bottom) */
    .save-content {
        margin-top: 30px;
        /* Push content down */
        padding-top: 0 !important;
        /* Reset padding if needed */
    }

    .save-image {
        margin-bottom: 20px;
        /* Add space below image */
    }

    /* 2. Fix Countdown Size */
    .countdown-value {
        font-size: 2rem !important;
        /* Reduce from 3rem */
    }

    .countdown-label {
        font-size: 1rem !important;
        /* Reduce from 1.5rem */
    }

    .save-countdown {
        gap: 15px !important;
        /* Reduce gap */
    }

    .countdown-item {
        padding: 0 5px !important;
    }

    /* 3. Fix Back to Top Button Position */
    #backToTop {
        right: 15px !important;
        bottom: 15px !important;
        width: 40px !important;
        height: 40px !important;
    }
}