:root {
    --primary-color: #B67295;
    /* Pink Primary */
    --secondary-color: #F7CDE2;
    /* Pink Light */
    --text-color: #333;
    --accent-color: #709874;
    /* Green Primary */
    --green-light: #A0D4A6;
    --white: #ffffff;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
    --font-script: 'Dancing Script', cursive;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
}

h1,
h2,
h3 {
    font-family: var(--font-heading);
    color: var(--accent-color);
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--text-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

.mb-4 {
    margin-bottom: 2rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

/* Header & Hero */
/* Header & Hero */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 7rem;
    /* Increased padding to account for nav overlap */
    overflow: hidden;
    color: var(--white);
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 50%);
    /* Dark overlay */
    z-index: 2;
}

.hero {
    /* Fallback image if video fails or while loading */
    background-image: url('/assets/new_hero.png');
    background-size: cover;
    background-position: center;
}

.hero-content h1 {
    font-family: 'Playwrite CA', cursive;
    font-size: 5rem;
    color: var(--white);
    margin-bottom: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 3;
    margin-bottom: 48px;
}



.hero-content .date {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-content .location {
    font-style: italic;
    font-size: 1.2rem;
    font-weight: 300;
}

/* Navigation */
nav {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1.5rem 0 0 0;
    /* No bottom padding */
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
    margin-top: -76px;
    /* Pull nav up to overlap hero bottom */
}

nav.sticky {
    background: rgba(255, 255, 255, 0.8);
    /* White background when sticky */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-top-color: transparent;
}

nav .container {
    display: flex;
    justify-content: center;
    gap: 3rem;
    padding-bottom: 1.5rem;
    /* Internal padding for spacing */
}

nav a {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    letter-spacing: 1px;
    font-weight: 700;
    color: var(--white);
    /* White text initially */
}

nav.sticky a {
    color: var(--accent-color);
    /* Dark text when sticky */
}

/* Sections */
.section {
    padding: 5rem 0;
}

.quote-section {
    background: #ffffff;
    color: var(--accent-color);
}

.quote-icon {
    width: 280px;
    height: auto;
    margin-bottom: 2rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.quote-section blockquote {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-style: italic;
    max-width: 800px;
    margin: 0 auto 1rem auto;
    line-height: 1.6;
    color: var(--accent-color);
}

.quote-section .author {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    color: #000;
    margin-top: 1rem;
}

.bg-light {
    background-color: transparent;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    text-align: center;
    margin-top: 3rem;
}

.detail-item {
    text-align: center;
}

.detail-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    /* Pink Primary */
    -webkit-mask-size: cover;
    mask-size: cover;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    margin: 0 auto 1rem auto;
}

.icon-date {
    -webkit-mask-image: url('/assets/icons/wedding-date.svg');
    mask-image: url('/assets/icons/wedding-date.svg');
}

.icon-church {
    -webkit-mask-image: url('/assets/icons/church.svg');
    mask-image: url('/assets/icons/church.svg');
}

.icon-transport {
    -webkit-mask-image: url('/assets/icons/honeymoon2.svg');
    mask-image: url('/assets/icons/honeymoon2.svg');
}

.icon-gift {
    -webkit-mask-image: url('/assets/icons/gift.svg');
    mask-image: url('/assets/icons/gift.svg');
}

.icon-toasting {
    -webkit-mask-image: url('/assets/icons/toasting.svg');
    mask-image: url('/assets/icons/toasting.svg');
}

.detail-item h3,
#schedule h3 {
    font-family: 'Playwrite CA', cursive;
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

/* Schedule Section */
#schedule {
    background: #ffffff;
    background-image: radial-gradient(#FFF3F5 8.13px, transparent 8.63px),
        radial-gradient(#FFF3F5 8.13px, transparent 8.63px),
        radial-gradient(#FFF3F5 16.27px, transparent 17.27px),
        radial-gradient(#FFF3F5 16.27px, transparent 17.27px),
        linear-gradient(135deg,
            #FFF3F5 6%,
            #ffffff 6.45%,
            #ffffff 44%,
            transparent 46%,
            transparent 63%,
            #ffffff 63.25%),
        linear-gradient(45deg,
            transparent 39.75%,
            #FFF3F5 40.5%,
            #FFF3F5 60%,
            transparent 0,
            transparent 93.25%,
            #FFF3F5 94%);
    background-size: 122px 122px;
    background-position: 54.57px 57.05px,
        68.44px 57.05px,
        -8.13px -8.13px,
        16.27px -8.13px,
        0 0, 0 0;
}

.schedule-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.schedule-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

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

.schedule-img:first-child {
    grid-column: span 2;
    max-height: 300px;
}

.program-section {
    text-align: left;
    /* Reset text align for the right column */
    padding: 2rem;
    background: #f9f9f9;
    border-radius: 8px;
}

.program-section h3 {
    text-align: center;
    margin-bottom: 2rem;
}

.program-section ul li {
    padding: 1rem;
    border-bottom: 1px solid #eee;
}

.program-section ul li:last-child {
    border-bottom: none;
}

/* Wishlist */
.wishlist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.wishlist-item {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #E5E5E5;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.wishlist-item:hover {
    transform: translateY(-5px);
}

.wishlist-item.reserved {
    opacity: 0.7;
    filter: grayscale(80%);
}

.wishlist-item img,
.placeholder-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.placeholder-img {
    background-color: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-size: 3rem;
}

.item-details {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.item-details h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.item-details .description {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.progress-container {
    background-color: #e9ecef;
    border-radius: 4px;
    height: 8px;
    margin-bottom: 0.5rem;
    overflow: hidden;
}

.progress-bar {
    background-color: var(--primary-color);
    height: 100%;
    transition: width 0.6s ease;
}

.status {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 1rem;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background 0.3s ease;
    text-align: center;
    width: 100%;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #9d5d7e;
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-disabled {
    background-color: #ccc;
    color: #fff;
    cursor: not-allowed;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--white);
    margin: 10% auto;
    padding: 2rem;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.close {
    position: absolute;
    right: 1.5rem;
    top: 1rem;
    color: #aaa;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: var(--text-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.form-group input {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

/* Footer */
.footer {
    background-color: #ffffff;
    color: var(--text-color);
    text-align: center;
    padding: 2rem 0;
    margin-top: 0;
    border-top: 1px solid #E5E5E5;
}

.footer a {
    color: var(--primary-color);
    font-size: 0.8rem;
}

.footer a:hover {
    color: #9d5d7e;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 3.5rem;
    }

    nav .container {
        gap: 1.5rem;
        padding-bottom: 1rem;
    }

    nav a {
        font-size: 0.95rem;
    }

    .schedule-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}