/* ================================
   Vian & Stefan Wedding Website
   Modern Elegant Design
   ================================ */

:root {
    --primary: #2c3e50;
    --primary-light: #34495e;
    --accent: #6b7c5e;
    --accent-light: #8a9a7a;
    --sage: #87a878;
    --sage-light: #a8c49a;
    --cream: #faf9f7;
    --white: #ffffff;
    --text: #333333;
    --text-light: #666666;
    --text-muted: #999999;
    --border: #e5e5e5;
    --error: #e74c3c;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    background-color: var(--white);
    color: var(--text);
    line-height: 1.7;
    min-height: 100vh;
}

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

/* ================================
   Navigation
   ================================ */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: 0.05em;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
    align-items: center;
}

.nav-menu a {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-light);
    text-decoration: none;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--accent);
}

.nav-rsvp {
    background-color: var(--accent);
    color: var(--white) !important;
    padding: 12px 24px;
    border-radius: 30px;
    transition: background-color 0.3s ease, transform 0.2s ease !important;
}

.nav-rsvp:hover {
    background-color: var(--accent-light);
    transform: translateY(-2px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--primary);
    transition: transform 0.3s ease;
}

/* ================================
   Section Titles
   ================================ */

.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.8rem;
    font-weight: 500;
    text-align: center;
    color: var(--primary);
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 0.9rem;
    font-weight: 400;
    text-align: center;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 50px;
}

/* ================================
   Hero Section
   ================================ */

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 120px 20px 80px;
    background: linear-gradient(135deg, #faf9f7 0%, #f0ebe3 100%);
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%236b7c5e' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

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

.invitation-text {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: 25px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.names {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    margin-bottom: 40px;
}

.name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 5rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--primary);
    line-height: 1.1;
}

.and {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--accent);
    margin: 5px 0;
}

/* Venue Illustration - Hidden in new design */
.venue-illustration {
    display: none;
}

/* ================================
   Event Details in Hero
   ================================ */

.details {
    text-align: center;
    margin-top: 20px;
}

.date-time {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    background: var(--white);
    padding: 20px 40px;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.date, .time {
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--primary);
}

.separator {
    width: 6px;
    height: 6px;
    background-color: var(--accent);
    border-radius: 50%;
}

.venue-address {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.8;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-style: normal;
}

.venue-name {
    font-weight: 500;
    color: var(--text);
}

.reception {
    display: none;
}

/* ================================
   Countdown Section
   ================================ */

.countdown-section {
    padding: 80px 20px;
    text-align: center;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    color: var(--white);
}

.countdown-section .section-subtitle {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 100px;
}

.countdown-value {
    font-family: 'Cormorant Garamond', serif;
    font-size: 4.5rem;
    font-weight: 400;
    color: var(--white);
    line-height: 1;
}

.countdown-label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 15px;
}

/* ================================
   Our Story Section
   ================================ */

.story-section {
    padding: 100px 20px;
    background-color: var(--white);
}

.story-content {
    max-width: 800px;
    margin: 0 auto;
}

.story-timeline {
    position: relative;
    padding-left: 40px;
}

.story-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent), var(--sage));
}

.story-item {
    position: relative;
    padding: 0 0 50px 40px;
}

.story-item:last-child {
    padding-bottom: 0;
}

.story-item::before {
    content: '';
    position: absolute;
    left: -39px;
    top: 5px;
    width: 16px;
    height: 16px;
    background-color: var(--white);
    border: 3px solid var(--accent);
    border-radius: 50%;
}

.story-date {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 12px;
}

.story-text p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* ================================
   Schedule Section
   ================================ */

.schedule-section {
    padding: 100px 20px;
    background-color: var(--cream);
}

.schedule-timeline {
    max-width: 700px;
    margin: 0 auto;
    display: grid;
    gap: 0;
}

.schedule-item {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 30px;
    padding: 30px 0;
    border-bottom: 1px solid var(--border);
    align-items: start;
}

.schedule-item:last-child {
    border-bottom: none;
}

.schedule-time {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--accent);
}

.schedule-event h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 8px;
}

.schedule-event p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* ================================
   Venue Section
   ================================ */

.venue-section {
    padding: 100px 20px;
    background-color: var(--white);
}

.venue-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
    align-items: start;
}

.venue-info h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.2rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 5px;
}

.venue-subtitle {
    font-size: 1rem;
    color: var(--accent);
    margin-bottom: 25px;
    font-weight: 500;
}

.venue-info address {
    font-style: normal;
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 30px;
}

.venue-details {
    margin-bottom: 30px;
}

.venue-detail {
    margin-bottom: 25px;
    padding-left: 20px;
    border-left: 3px solid var(--accent);
}

.venue-detail strong {
    display: block;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 5px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.venue-detail p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

.directions-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--white);
    background-color: var(--accent);
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.directions-btn:hover {
    background-color: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(107, 124, 94, 0.3);
}

.venue-map {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.venue-map iframe {
    display: block;
}

/* ================================
   FAQ Section
   ================================ */

.faq-section {
    padding: 100px 20px;
    background-color: var(--cream);
}

.faq-list {
    max-width: 700px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: var(--primary);
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--accent);
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--accent);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 20px;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 30px 25px;
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ================================
   RSVP Section
   ================================ */

.rsvp-section {
    padding: 100px 20px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
}

.rsvp-section .section-title {
    color: var(--white);
}

.rsvp-section .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.rsvp-deadline {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    margin-bottom: 50px;
}

.rsvp-form {
    max-width: 500px;
    margin: 0 auto;
    background: var(--white);
    padding: 50px 40px;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 10px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 18px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    border: 2px solid var(--border);
    border-radius: 8px;
    background-color: var(--white);
    color: var(--text);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(107, 124, 94, 0.1);
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    padding-right: 45px;
}

/* Radio Buttons */
.radio-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 400;
    color: var(--text);
    padding: 12px 20px;
    border: 2px solid var(--border);
    border-radius: 8px;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 150px;
}

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

.radio-label input[type="radio"] {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid var(--border);
    border-radius: 50%;
    margin-right: 12px;
    cursor: pointer;
    position: relative;
    transition: border-color 0.3s ease;
    flex-shrink: 0;
}

.radio-label input[type="radio"]:checked {
    border-color: var(--accent);
}

.radio-label input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background-color: var(--accent);
    border-radius: 50%;
}

.radio-label:has(input:checked) {
    border-color: var(--accent);
    background-color: rgba(107, 124, 94, 0.05);
}

/* Song Section */
.song-section {
    background-color: var(--cream);
    padding: 25px;
    border-radius: 12px;
    margin-top: 25px;
}

.song-section > label {
    display: block;
    margin-bottom: 5px;
}

.song-description {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

.song-input {
    margin-bottom: 15px;
}

.song-input label {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-light);
    margin-bottom: 6px;
    text-transform: none;
    letter-spacing: normal;
}

.song-input input {
    width: 100%;
    padding: 12px 15px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 400;
    border: 2px solid var(--border);
    border-radius: 8px;
    background-color: var(--white);
    color: var(--text);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.song-input input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(107, 124, 94, 0.1);
}

/* Guest Name Inputs */
.guest-name-input {
    margin-bottom: 12px;
}

.guest-name-input:last-child {
    margin-bottom: 0;
}

.guest-name-input input {
    width: 100%;
    padding: 15px 18px;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    border: 2px solid var(--border);
    border-radius: 8px;
    background-color: var(--white);
    color: var(--text);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.guest-name-input input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(107, 124, 94, 0.1);
}

/* Submit Button */
.submit-btn {
    width: 100%;
    padding: 18px 32px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--white);
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 25px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(107, 124, 94, 0.35);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Success & Decline Messages */
.success-message,
.decline-message {
    text-align: center;
    padding: 50px 30px;
    background: var(--white);
    border-radius: 16px;
    max-width: 500px;
    margin: 0 auto;
}

.success-content,
.decline-content {
    max-width: 350px;
    margin: 0 auto;
}

.checkmark {
    width: 80px;
    height: 80px;
    margin-bottom: 25px;
}

.checkmark-circle {
    stroke: var(--sage);
    stroke-width: 2;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark-check {
    stroke: var(--sage);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.6s forwards;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
}

@keyframes stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

.success-message h3,
.decline-message h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 15px;
}

.success-message p,
.decline-message p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
}

/* Error styles */
.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: var(--error);
}

.error-message {
    color: var(--error);
    font-size: 0.85rem;
    margin-top: 8px;
}

/* ================================
   Footer
   ================================ */

.footer {
    text-align: center;
    padding: 60px 20px;
    background-color: var(--primary);
    color: var(--white);
}

.couple-names {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 10px;
}

.wedding-date {
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
}

/* ================================
   Responsive Design
   ================================ */

@media (max-width: 900px) {
    .venue-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .venue-map {
        order: -1;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 65px;
        left: 0;
        right: 0;
        background-color: var(--white);
        flex-direction: column;
        padding: 30px 20px;
        gap: 20px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        border-bottom: 1px solid var(--border);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding: 100px 20px 60px;
        min-height: auto;
    }

    .name {
        font-size: 3rem;
    }

    .and {
        font-size: 1.8rem;
    }

    .date-time {
        flex-direction: column;
        gap: 10px;
        padding: 20px 30px;
        border-radius: 16px;
    }

    .separator {
        display: none;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .countdown-value {
        font-size: 3rem;
    }

    .countdown {
        gap: 25px;
    }

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

    .story-timeline {
        padding-left: 30px;
    }

    .story-item {
        padding-left: 30px;
    }

    .story-item::before {
        left: -29px;
        width: 12px;
        height: 12px;
    }

    .schedule-item {
        grid-template-columns: 80px 1fr;
        gap: 20px;
    }

    .schedule-time {
        font-size: 1.4rem;
    }

    .rsvp-form {
        padding: 35px 25px;
    }

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

    .radio-label {
        min-width: 100%;
    }
}

@media (max-width: 480px) {
    .name {
        font-size: 2.5rem;
    }

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

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

    .faq-question {
        padding: 20px;
        font-size: 0.95rem;
    }

    .faq-answer p {
        padding: 0 20px 20px;
    }

    .rsvp-form {
        padding: 30px 20px;
    }
}

/* ================================
   Hidden States
   ================================ */

.hidden {
    display: none !important;
}

/* ================================
   Animations
   ================================ */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

/* ================================
   Active Navigation State
   ================================ */

.nav-menu a.active {
    color: var(--accent);
}

.nav-menu a.nav-rsvp.active {
    background-color: var(--accent-light);
}

/* ================================
   Page Header (Interior Pages)
   ================================ */

.page-header {
    padding: 150px 20px 80px;
    text-align: center;
    background: linear-gradient(135deg, #faf9f7 0%, #f0ebe3 100%);
}

.page-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.5rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 15px;
}

.page-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
}

/* ================================
   Hero CTA Button
   ================================ */

.hero-cta {
    display: inline-block;
    margin-top: 40px;
    padding: 18px 45px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--white);
    background-color: var(--accent);
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.hero-cta:hover {
    background-color: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(107, 124, 94, 0.35);
}

/* ================================
   Photo Collage / Gallery Section
   ================================ */

.gallery-section {
    padding: 100px 20px;
    background-color: var(--white);
}

.photo-collage {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
    align-items: start;
}

.collage-item {
    position: relative;
    border-radius: 12px;
    background-color: var(--cream);
    cursor: pointer;
    overflow: hidden;
}

.collage-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.collage-item:hover img {
    transform: scale(1.02);
    opacity: 0.9;
}

.collage-placeholder {
    display: none;
    aspect-ratio: 3/4;
    background-color: var(--cream);
    color: var(--text-muted);
    font-size: 0.9rem;
    align-items: center;
    justify-content: center;
    border: 2px dashed var(--border);
    border-radius: 12px;
}

.collage-item.placeholder .collage-placeholder {
    display: flex;
}

.collage-item.placeholder img {
    display: none;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.92);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    cursor: pointer;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2.5rem;
    color: white;
    cursor: pointer;
    line-height: 1;
    transition: opacity 0.3s ease;
}

.lightbox-close:hover {
    opacity: 0.7;
}

@media (max-width: 768px) {
    .photo-collage {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .photo-collage {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .lightbox-close {
        top: 15px;
        right: 20px;
        font-size: 2rem;
    }
}

/* ================================
   Quick Links Section
   ================================ */

.quick-links-section {
    padding: 80px 20px;
    background-color: var(--cream);
}

.quick-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto;
}

.quick-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 25px;
    background-color: var(--white);
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.quick-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.quick-link-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 20px;
}

.quick-link-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 8px;
}

.quick-link-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

@media (max-width: 900px) {
    .quick-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .quick-links {
        grid-template-columns: 1fr;
    }

    .quick-link {
        padding: 30px 20px;
    }
}

/* ================================
   RSVP Page Specific
   ================================ */

.rsvp-page {
    padding-top: 120px;
    min-height: 100vh;
}

.rsvp-page .section-title {
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .page-header {
        padding: 120px 20px 60px;
    }

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