/* Reset & Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-serif);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
    isolation: isolate;
}

body.lightbox-open {
    overflow: hidden;
}

body.hero-overlay-none {
    --hero-overlay: linear-gradient(0deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0));
}

/* Grain texture overlay */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image: url('../assets/images/grain.svg');
    background-repeat: repeat;
    background-size: 240px 240px;
    opacity: 0.1;
    mix-blend-mode: screen;
    z-index: 1;
}


h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 400;
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1.5rem;
    margin-top: 0;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

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

img {
    max-width: 100%;
    display: block;
}

/* Typography */
.font-sans {
    font-family: var(--font-sans);
}

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

/* Layout */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

@media (max-width: 600px) {
    .container {
        padding: 0 32px;
    }
}

section {
    padding: 100px 0;
}

@media (max-width: 768px) {
    section {
        padding: 70px 0;
    }
}

/* Header & Nav */
header {
    background-color: var(--bg-color);
    background-image: url('../assets/images/grain.svg');
    background-repeat: repeat;
    background-size: 280px 280px;
    background-blend-mode: screen;
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 20px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-color);
}

.logo a {
    color: inherit;
    transition: color 0.3s ease;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-color);
    transition: color 0.3s ease;
}

.nav-links a:hover,
.logo a:hover {
    color: var(--gold);
}

.nav-links a.active {
    border-bottom: 1px solid var(--accent-color);
}

/* Mobile Menu */
.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-color);
        padding: 20px;
        text-align: center;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        gap: 20px;
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: block;
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 35px;
    background-image: linear-gradient(120deg, var(--accent-color), var(--gold));
    color: var(--white);
    font-family: var(--font-sans);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.8rem;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

.btn:hover {
    background-image: linear-gradient(120deg, var(--gold), var(--gold-light));
    color: var(--white);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid rgba(139, 94, 43, 0.5);
    color: var(--accent-color);
    transition: background 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

.btn-outline:hover {
    background-image: linear-gradient(120deg, var(--accent-color), var(--gold));
    color: var(--white);
    transform: translateY(-2px);
}

/* Footer */
footer {
    background-color: var(--bg-color);
    padding: 60px 0;
    text-align: center;
    font-family: var(--font-serif);
    font-size: 0.9rem;
    margin-top: auto;
    letter-spacing: 0.5px;
}

/* Hero Section */
.hero {
    min-height: calc(100vh - var(--header-height));
    background-color: #e0e0e0;
    /* Placeholder color */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.5rem;
    font-family: var(--font-serif);
    font-style: italic;
    margin-top: 0;
}

/* RSVP Form Styles */
.rsvp-hero {
    background: var(--hero-overlay), url('../assets/images/rsvp-hero.jpg');
    background-size: cover;
    background-position: center;
    text-align: center;
    color: var(--white);
    padding: 160px 0 140px;
}

.rsvp-hero .container {
    max-width: 720px;
}

.rsvp-hero h1 {
    color: var(--white);
}

.rsvp-hero p {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
}

.rsvp-hero .pre-title {
    color: rgba(255, 255, 255, 0.9);
}

.rsvp-form-wrapper {
    padding: 120px 0;
}

.rsvp-form-wrapper .container {
    max-width: 940px;
}

.rsvp-card {
    background-color: var(--white);
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: 54px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
}

.rsvp-card__intro {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 36px auto;
}

.rsvp-card__intro p {
    font-family: var(--font-sans);
    line-height: 1.7;
    color: rgba(44, 24, 16, 0.75);
}

.success-message {
    display: none;
    text-align: center;
    padding: 32px;
    border-radius: 16px;
    border: 1px solid rgba(139, 94, 43, 0.2);
    background: linear-gradient(135deg, rgba(248, 215, 155, 0.2), rgba(255, 255, 255, 0.8));
    margin-bottom: 30px;
}

.success-message h3 {
    color: var(--accent-color);
    margin-bottom: 8px;
}

.success-message p {
    font-family: var(--font-sans);
}

.rsvp-form {
    width: 100%;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-field--full {
    grid-column: 1 / -1;
}

.form-field label {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.form-control {
    width: 100%;
    padding: 16px 18px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 12px;
    font-family: var(--font-serif);
    font-size: 1rem;
    color: var(--text-color);
    background-color: #fafafa;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-color);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(139, 94, 43, 0.15);
}

textarea.form-control {
    resize: vertical;
    min-height: 130px;
}

.radio-group {
    display: flex;
    gap: 18px;
}

.radio-option {
    position: relative;
    flex: 1;
}

.radio-option input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.radio-label {
    display: block;
    padding: 16px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 12px;
    cursor: pointer;
    font-family: var(--font-sans);
    font-weight: 600;
    letter-spacing: 0.08em;
    transition: all 0.2s ease;
}

.radio-option input[type="radio"]:checked+.radio-label {
    background-color: var(--accent-color);
    color: var(--white);
    border-color: var(--accent-color);
    box-shadow: 0 12px 20px rgba(139, 94, 43, 0.25);
}

.radio-option:hover .radio-label {
    border-color: var(--accent-color);
}

.form-submit {
    width: 100%;
    margin-top: 32px;
}

@media (max-width: 768px) {
    .rsvp-card {
        padding: 36px 28px;
    }

    .radio-group {
        flex-direction: column;
    }
}

/* Weekend Preview */
.weekend-preview {
    background: var(--white);
    padding: 120px 0;
}

.preview-intro {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 3rem auto;
}

.preview-intro p {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(44, 24, 16, 0.85);
}

.weekend-preview .pre-title {
    color: var(--accent-color);
    opacity: 0.8;
}

.preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
}

.preview-card {
    background: var(--bg-color);
    padding: 30px;
    border-radius: 22px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 25px 55px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.preview-label {
    font-family: var(--font-sans);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    color: rgba(44, 24, 16, 0.7);
}

.preview-card h3 {
    margin-bottom: 0;
}

.preview-card p {
    font-family: var(--font-sans);
    line-height: 1.7;
}

.preview-card a {
    margin-top: auto;
    font-family: var(--font-sans);
    color: var(--accent-color);
    font-weight: 600;
}

/* Our Story Carousel */
.our-story {
    background: var(--blush);
    position: relative;
    overflow: hidden;
}

.our-story::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.45), transparent 55%),
        radial-gradient(circle at 80% 0%, rgba(255, 255, 255, 0.35), transparent 50%);
    z-index: 0;
}

.our-story .container {
    position: relative;
    z-index: 1;
}

.story-intro {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 3rem auto;
}

.our-story .pre-title {
    color: var(--accent-color);
    opacity: 0.8;
}

.story-intro p {
    font-family: var(--font-sans);
    font-size: 1.05rem;
    line-height: 1.9;
    color: rgba(44, 24, 16, 0.85);
}

.story-carousel-wrapper {
    position: relative;
    padding: 0 40px;
}

.story-carousel {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 10px 0 30px 0;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-light) rgba(255, 255, 255, 0.4);
}

.story-carousel::-webkit-scrollbar {
    height: 6px;
}

.story-carousel::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 999px;
}

.story-carousel::-webkit-scrollbar-thumb {
    background: var(--accent-light);
    border-radius: 999px;
}

.story-card {
    min-width: 290px;
    background: rgba(255, 255, 255, 0.92);
    padding: 22px;
    border-radius: 24px;
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.6);
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.story-image {
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4 / 5;
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: sepia(0.12) saturate(1.1) contrast(1.05);
}

.story-year {
    font-family: var(--font-sans);
    letter-spacing: 2px;
    font-size: 0.85rem;
    text-transform: uppercase;
    color: var(--accent-color);
    margin-bottom: -4px;
}

.story-card h3 {
    margin-bottom: 0;
}

.story-card p {
    font-family: var(--font-sans);
    line-height: 1.7;
}

.story-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.12);
    color: var(--accent-color);
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    z-index: 2;
}

.story-nav:hover {
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 18px 28px rgba(0, 0, 0, 0.18);
}

.story-nav--prev {
    left: 0;
}

.story-nav--next {
    right: 0;
}

.story-cta {
    margin-top: 40px;
    text-align: center;
    font-family: var(--font-sans);
    font-size: 1.1rem;
    line-height: 1.7;
}

.story-cta strong {
    display: block;
    margin-top: 0.5rem;
}

.story-cta a {
    color: var(--accent-color);
    border-bottom: 1px solid rgba(139, 94, 43, 0.4);
}

@media (max-width: 900px) {
    .story-carousel-wrapper {
        padding: 0;
    }

    .story-card {
        min-width: 260px;
    }

    .story-nav {
        display: none;
    }
}

@media (max-width: 600px) {
    .story-intro h2 {
        font-size: 2rem;
    }

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

    .story-cta {
        font-size: 1rem;
    }
}

/* Final CTA */
.join-us {
    padding: 120px 0;
    text-align: center;
    background: linear-gradient(135deg, rgba(248, 215, 155, 0.15), rgba(139, 94, 43, 0.05));
}

.join-us p {
    max-width: 720px;
    margin: 0 auto 1.5rem auto;
    font-family: var(--font-sans);
    font-size: 1.1rem;
    line-height: 1.8;
}

.join-us .pre-title {
    color: var(--accent-color);
    opacity: 0.8;
}

/* Schedule Page Styles */
.faqs-hero {
    background: var(--hero-overlay), url('../assets/images/faq-hero.jpg');
    background-size: cover;
    background-position: center;
    text-align: center;
    color: var(--white);
    padding: 140px 0;
}

.faqs-hero .container {
    max-width: 720px;
}

.faqs-hero h1 {
    color: var(--white);
    margin-bottom: 1rem;
}

.faqs-hero p {
    color: rgba(255, 255, 255, 0.9);
}

.faqs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    padding: 100px 0 140px 0;
}

.faq-card {
    background: rgba(255, 255, 255, 0.96);
    padding: 30px;
    border-radius: 18px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.07);
}

.faq-card h3 {
    color: var(--accent-color);
    margin-bottom: 0.75rem;
}

.faq-card p {
    line-height: 1.7;
}

.schedule-hero {
    position: relative;
    text-align: center;
    color: var(--white);
    padding: 160px 0 150px;
    background-image: var(--hero-overlay), url('../assets/images/schedule.png');
    background-size: cover;
    background-position: center;
    isolation: isolate;
}

.schedule-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(255, 236, 196, 0.4), transparent 45%);
    mix-blend-mode: soft-light;
    z-index: -1;
}

.schedule-hero .container {
    max-width: 860px;
    position: relative;
}

.schedule-hero h1 {
    color: var(--white);
    margin-bottom: 1rem;
}

.schedule-hero p {
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.2rem;
}

.schedule-hero-meta {
    margin-top: 30px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.schedule-hero-meta div {
    min-width: 220px;
    padding: 18px 22px;
    border-radius: 14px;
    border: 1px solid rgba(248, 215, 155, 0.6);
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(4px);
}

.schedule-hero-meta span {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 6px;
    color: rgba(255, 255, 255, 0.8);
}

.schedule-hero-meta strong {
    font-size: 1.15rem;
    color: var(--white);
    font-weight: 600;
}

@media (max-width: 768px) {
    .schedule-hero {
        padding: 120px 0 110px;
    }
}

@media (max-width: 480px) {
    .schedule-hero-meta div {
        width: 100%;
        min-width: unset;
    }
}

.schedule-timeline {
    position: relative;
    margin: 40px auto 120px auto;
    padding: 60px 0;
}

.schedule-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 300px;
    left: 50%;
    width: 2px;
    background: rgba(0, 0, 0, 0.1);
    transform: translateX(-1px);
}

.timeline-item {
    display: flex;
    align-items: stretch;
    gap: 40px;
    margin-bottom: 90px;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 50%;
    left: calc(50% + 1px);
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 3px solid var(--accent-color);
    background: var(--bg-color);
    transform: translate(-50%, -50%);
    z-index: 2;
}

.timeline-item.reverse {
    flex-direction: row-reverse;
}

.timeline-card,
.timeline-media {
    flex: 1;
    min-height: 360px;
}

.timeline-card {
    background-color: var(--white);
    padding: 40px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.timeline-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
}

.timeline-day {
    font-family: var(--font-sans);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    color: rgba(44, 24, 16, 0.6);
    margin-bottom: 0.5rem;
}

.timeline-card h3 {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    color: var(--accent-color);
}

.timeline-card p {
    margin-bottom: 0.7rem;
}

.timeline-time {
    font-weight: bold;
    font-family: var(--font-sans);
    font-size: 1rem;
}

.timeline-location {
    font-style: italic;
    color: rgba(44, 24, 16, 0.7);
}

.timeline-note {
    text-align: center;
    background: rgba(255, 255, 255, 0.6);
    padding: 40px;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    max-width: 700px;
    margin: 0 auto;
}

.timeline-note h4 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.timeline-note p {
    margin-bottom: 0.5rem;
}

@media (max-width: 1024px) {
    .schedule-timeline::before {
        left: 30px;
        bottom: 80px;
        transform: translateX(0);
    }

    .timeline-item,
    .timeline-item.reverse {
        flex-direction: column;
        padding-left: 50px;
    }

    .timeline-item::before {
        left: 30px;
    }

    .timeline-card,
    .timeline-media {
        min-height: 260px;
    }
}

@media (max-width: 600px) {
    .schedule-timeline::before {
        left: 20px;
        bottom: 60px;
    }

    .timeline-item,
    .timeline-item.reverse {
        padding-left: 40px;
    }

    .timeline-item::before {
        left: 20px;
    }

    .timeline-card {
        padding: 30px;
    }

    .timeline-card h3 {
        font-size: 1.5rem;
    }
}

/* Homepage Improvements */
.pre-title {
    font-family: var(--font-sans);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--white);
    opacity: 0.9;
}

.immersive-section {
    padding: 0;
    margin: 60px 0;
}

.immersive-hero {
    position: relative;
    min-height: 70vh;
    background-image: url('../assets/images/schedule.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    isolation: isolate;
}

.immersive-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.75) 100%);
    z-index: -1;
}

.immersive-hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 80px 20px;
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    color: var(--white);
}

.immersive-feature {
    flex: 1;
    min-width: 260px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(6px);
}

.immersive-feature h3 {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.immersive-feature p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.immersive-feature .btn-outline {
    border-color: var(--white);
    color: var(--white);
}

.immersive-feature .btn-outline:hover {
    background-color: var(--white);
    color: var(--text-color);
}

@media (max-width: 768px) {
    .immersive-hero-content {
        flex-direction: column;
    }

    .venue-grid {
        grid-template-columns: 1fr;
    }
}

/* Dress Code Page */
.dress-hero {
    background-image: var(--hero-overlay), url('../assets/images/hero-palace.png');
    background-size: cover;
    background-position: center;
    padding: 140px 0;
    color: var(--white);
    text-align: center;
    position: relative;
}

.dress-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.05);
    mix-blend-mode: soft-light;
    pointer-events: none;
}

.dress-hero .container {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.dress-hero h1 {
    color: var(--white);
    margin-bottom: 1rem;
}

.dress-hero p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.2rem;
}

.dress-disclaimer {
    font-size: 0.9rem;
    margin: 40px auto 0;
    color: rgba(44, 24, 16, 0.7);
    font-family: var(--font-sans);
    text-align: center;
    max-width: 620px;
    font-style: italic;
}

.dress-toggle {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: -60px;
    position: relative;
    z-index: 2;
}

.dress-tab {
    border: none;
    background: rgba(255, 255, 255, 0.85);
    padding: 24px;
    text-align: left;
    border-radius: 16px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
    font-family: var(--font-serif);
}

.dress-tab span {
    display: block;
    font-size: 1.4rem;
    margin-bottom: 0.35rem;
}

.dress-tab small {
    font-family: var(--font-sans);
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.75rem;
    color: rgba(44, 24, 16, 0.7);
}

.dress-tab.active {
    background: var(--accent-color);
    color: var(--white);
    transform: translateY(-8px);
}

.dress-tab.active small {
    color: rgba(255, 255, 255, 0.9);
}

.dress-tab:not(.active):hover {
    background: rgba(139, 94, 43, 0.15);
    color: var(--accent-color);
}

.dress-tab:not(.active):hover small {
    color: var(--accent-color);
}

.dress-panels {
    padding: 80px 0 120px 0;
}

.dress-panel {
    display: none;
}

.dress-panel.active {
    display: block;
}

.dress-panel-inner {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.dress-event {
    display: flex;
    gap: 40px;
    align-items: stretch;
    position: relative;
}

.dress-event.reverse {
    flex-direction: row-reverse;
}

.dress-event-text,
.dress-event-media {
    flex: 1;
}

.dress-event-text {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 25px 40px rgba(0, 0, 0, 0.08);
}

.dress-event-text h2 {
    text-align: left;
    margin-bottom: 0.75rem;
}

.event-day {
    font-family: var(--font-sans);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.8rem;
    color: rgba(44, 24, 16, 0.7);
    margin-bottom: 0.5rem;
}

.event-theme {
    font-style: italic;
    margin-bottom: 1rem;
    color: rgba(44, 24, 16, 0.8);
}

.dress-event-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.17);
}

.dress-event-media img:hover {
    cursor: zoom-in;
}

.dress-event-media.collage {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    height: auto;
}

.dress-event-media.collage img {
    height: 220px;
    border-radius: 14px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
}

.dress-event-media.collage img:hover {
    cursor: zoom-in;
}

.image-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 40px 20px;
}

.image-lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: min(900px, 90vw);
    max-height: 90vh;
    margin: 0;
    background: var(--white);
    border-radius: 14px;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.3);
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 70vh;
    border-radius: 10px;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 8px;
    right: 12px;
    background: transparent;
    border: none;
    font-size: 2rem;
    color: var(--accent-color);
    cursor: pointer;
}

#lightbox-caption {
    font-size: 0.95rem;
    text-align: center;
    color: rgba(44, 24, 16, 0.8);
}

.lightbox-backdrop {
    position: absolute;
    inset: 0;
}

@media (max-width: 900px) {
    .dress-event-media.collage {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }

    .dress-event-media.collage img {
        height: 180px;
    }
}

@media (max-width: 900px) {
    .dress-event,
    .dress-event.reverse {
        flex-direction: column;
    }

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

    .dress-tab span {
        font-size: 1.2rem;
    }
}

@media (max-width: 600px) {
    .dress-hero {
        padding: 100px 0;
    }

.dress-event-text {
    padding: 30px;
    }

    .dress-toggle {
        margin-top: -40px;
    }
}

@media (max-width: 600px) {
    .dress-toggle {
        grid-template-columns: 1fr;
        width: 100%;
    }

    .dress-tab {
        width: 100%;
        padding: 18px;
    }

    .dress-tab span {
        font-size: 1.1rem;
    }

    .dress-tab small {
        font-size: 0.7rem;
    }
}

@media (max-width: 600px) {
    .story-grid,
    .guide-grid,
    .udaipur-grid,
    .registry-grid,
    .faqs-grid {
        grid-template-columns: 1fr;
        padding-left: 8px;
        padding-right: 8px;
    }

    .story-card,
    .guide-card,
    .udaipur-card,
    .registry-card,
    .faq-card {
        padding: 24px;
        width: auto;
        margin: 0 4px;
    }
}

@media (max-width: 600px) {
    .registry-hero .container,
    .registry-links.container {
        padding-left: 32px;
        padding-right: 32px;
    }

    .registry-note {
        font-size: 1rem;
        margin-left: 0;
        margin-right: 0;
    }

    .registry-card {
        padding: 26px;
    }
}

/* Travel & Stay */
.travel-hero {
    background-image: var(--hero-overlay), url('../assets/images/travel.png');
    background-size: cover;
    background-position: center;
    padding: 140px 0 160px;
    color: var(--white);
    text-align: center;
}

.travel-hero .container {
    max-width: 900px;
}

.travel-hero h1 {
    color: var(--white);
    margin-bottom: 1rem;
}

.travel-hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
}

.travel-story {
    padding: 80px 0;
}

.story-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.story-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 18px;
    box-shadow: 0 25px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.story-card h3 {
    color: var(--accent-color);
    margin-bottom: 0.75rem;
}

.venue-highlight {
    padding: 100px 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.6), rgba(245, 245, 242, 0.9));
}

.venue-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    align-items: center;
}

.venue-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
    object-fit: cover;
}

.venue-text ul {
    margin: 20px 0;
    padding-left: 20px;
}

.venue-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.travel-guide,
.north-india {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
}

.guide-card {
    background: var(--white);
    padding: 30px;
    border-radius: 18px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.07);
}

.guide-card h3 {
    color: var(--accent-color);
    margin-bottom: 0.6rem;
}

.udaipur-guide {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.7);
}

.udaipur-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.udaipur-card {
    background: var(--white);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.06);
}

.udaipur-card ul {
    padding-left: 18px;
    margin: 0;
}

.north-india .guide-card {
    background: rgba(255, 255, 255, 0.92);
}

@media (max-width: 600px) {
    .story-grid {
        grid-template-columns: 1fr;
    }

    .venue-links {
        flex-direction: column;
    }
}
.registry-hero {
    background-image: linear-gradient(120deg, rgba(61, 30, 2, 0.75), rgba(214, 137, 62, 0.6)), url('../assets/images/registry.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
    color: var(--white);
    padding: 140px 0;
}

.registry-hero .container {
    max-width: 760px;
}

.registry-hero p {
    color: rgba(255, 255, 255, 0.9);
}

.registry-links {
    padding: 80px 0 140px 0;
    text-align: center;
}

.registry-note {
    max-width: 720px;
    margin: 0 auto 40px auto;
    font-size: 1.1rem;
}

.registry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
}

.registry-card {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 18px;
    padding: 30px;
    box-shadow: 0 25px 40px rgba(0, 0, 0, 0.07);
    background: var(--white);
    text-align: left;
    color: var(--text-color);
}

.registry-card h3 {
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.registry-card.disabled {
    opacity: 0.6;
}
