@font-face {
    font-family: 'Priestacy';
    src: url('../priestacy/Priestacy.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Orange Avenue';
    src: url('../orange-avenue-demo/OrangeAvenueDEMO-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

:root {
    --primary: #2d4a3e;
    --primary-dark: #1f3329;
    --primary-light: #3d6354;
    --accent: #c9a962;
    --accent-light: #e8d5a3;
    --bg-cream: #fdfbf7;
    --bg-warm: #f8f5f0;
    --bg-section: #f3efe8;
    --text-dark: #2c2c2c;
    --text-medium: #555;
    --text-light: #888;
    --white: #ffffff;
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cormorant Garamond', serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-cream);
    overflow-x: hidden;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    background-image: url('../images/banner.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.2) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(0, 0, 0, 0.5) 100%
    );
}

.hero-content {
    text-align: center;
    color: var(--white);
    z-index: 1;
    padding: 20px;
    animation: fadeIn 1.5s ease-out;
}

.hero-content .name {
    font-family: 'Priestacy', cursive;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 400;
    letter-spacing: 3px;
    text-shadow: 2px 4px 20px rgba(0, 0, 0, 0.4);
    margin: 0;
    animation: fadeInUp 1s ease-out;
}

.hero-content .name:last-of-type {
    animation-delay: 0.2s;
}

.hero-content .ampersand {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    display: block;
    margin: -5px 0;
    color: var(--accent-light);
    text-shadow: 2px 4px 15px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out 0.1s both;
}

.hero-content .event-type {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(0.9rem, 2vw, 1.4rem);
    letter-spacing: 10px;
    text-transform: uppercase;
    margin: 35px 0;
    font-weight: 300;
    opacity: 0.95;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-top: 25px;
    animation: fadeInUp 1s ease-out 0.5s both;
    flex-wrap: wrap;
    justify-content: center;
}

.rsvp-btn {
    display: inline-block;
    padding: 18px 50px;
    border: 2px solid var(--white);
    color: var(--white);
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    letter-spacing: 5px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.rsvp-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--white);
    transition: var(--transition);
    z-index: -1;
}

.rsvp-btn:hover {
    color: var(--primary);
    border-color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.rsvp-btn:hover::before {
    left: 0;
}

/* Welcome Section */
.welcome {
    padding: 100px 20px;
    text-align: center;
    max-width: 850px;
    margin: 0 auto;
    position: relative;
}

.welcome::before,
.welcome::after {
    content: '';
    position: absolute;
    width: 120px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    left: 50%;
    transform: translateX(-50%);
}

.welcome::before {
    top: 50px;
}

.welcome::after {
    bottom: 50px;
}

.champagne-img {
    width: 100px;
    margin-bottom: 35px;
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
}

.welcome-text {
    font-size: 1.4rem;
    color: var(--text-medium);
    line-height: 2;
    font-style: italic;
    max-width: 700px;
    margin: 0 auto;
}

/* Section Title */
.section-title {
    font-family: 'Orange Avenue', cursive;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    text-align: center;
    color: var(--primary);
    margin-bottom: 50px;
    font-weight: 400;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

/* Schedule Section */
.schedule {
    padding: 80px 20px 100px;
    background: linear-gradient(180deg, var(--bg-section) 0%, var(--bg-warm) 100%);
    position: relative;
}

.schedule::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 10%, var(--accent-light) 50%, transparent 90%);
}

.events-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.event-card {
    background: var(--white);
    border-radius: 16px;
    padding: 35px 40px;
    display: flex;
    align-items: center;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(201, 169, 98, 0.1);
}

.event-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--accent) 0%, var(--primary) 100%);
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.event-date {
    text-align: center;
    padding-right: 35px;
    border-right: 1px solid rgba(0, 0, 0, 0.08);
    min-width: 160px;
}

.event-date .month {
    display: block;
    font-size: 1.15rem;
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.event-date .day {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 6px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.event-details {
    padding-left: 35px;
    flex: 1;
}

.event-time {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.15rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.event-dress {
    font-style: italic;
    color: var(--accent);
    margin-bottom: 10px;
    font-size: 1.05rem;
    position: relative;
}

.info-icon {
    display: inline-block;
    width: 18px;
    height: 18px;
    margin-left: 6px;
    cursor: help;
    font-style: normal;
    font-size: 0.9rem;
    color: var(--primary);
    opacity: 0.7;
    transition: var(--transition);
    position: relative;
}

.info-icon:hover {
    opacity: 1;
    transform: scale(1.1);
}

.info-icon::after {
    content: attr(title);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-style: normal;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s, transform 0.3s;
    box-shadow: var(--shadow-medium);
    z-index: 100;
}

.info-icon:hover::after,
.info-icon.active::after {
    opacity: 1;
    transform: translateX(-50%) translateY(-12px);
}

.info-icon::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(2px);
    border: 6px solid transparent;
    border-top-color: var(--primary-dark);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s, transform 0.3s;
    z-index: 100;
}

.info-icon:hover::before,
.info-icon.active::before {
    opacity: 1;
    transform: translateX(-50%) translateY(-2px);
}

.event-location {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    color: var(--text-light);
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.event-location::before {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23888'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M17.657 16.657L13.414 20.9a1.998 1.998 0 01-2.827 0l-4.244-4.243a8 8 0 1111.314 0z'/%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M15 11a3 3 0 11-6 0 3 3 0 016 0z'/%3E%3C/svg%3E");
    background-size: contain;
    flex-shrink: 0;
}

/* Gallery Section */
.gallery {
    padding: 80px 0 100px;
    background: var(--bg-cream);
    overflow: hidden;
}

.gallery .section-title {
    padding: 0 20px;
}

.gallery-grid {
    display: flex;
    gap: 20px;
    padding: 0 20px;
    padding-right: 40px;
    overflow-x: hidden;
    animation: scrollGallery 20s linear infinite;
    width: max-content;
}

.gallery-grid:hover {
    animation-play-state: paused;
}

@keyframes scrollGallery {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.gallery-grid::-webkit-scrollbar {
    height: 8px;
}

.gallery-grid::-webkit-scrollbar-track {
    background: var(--bg-section);
    border-radius: 4px;
}

.gallery-grid::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 4px;
}

.gallery-grid::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

.gallery-item {
    flex: 0 0 375px;
    height: 350px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    position: relative;
    cursor: pointer;
    scroll-snap-align: start;
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.3) 100%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
}

.gallery-item:hover::after {
    opacity: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* RSVP Section */
.rsvp {
    padding: 80px 20px 100px;
    background: linear-gradient(180deg, var(--bg-section) 0%, var(--bg-warm) 100%);
    position: relative;
}

.rsvp::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 10%, var(--accent-light) 50%, transparent 90%);
}

.rsvp-form {
    max-width: 620px;
    margin: 0 auto;
    background: var(--white);
    padding: 50px 45px;
    border-radius: 20px;
    box-shadow: var(--shadow-medium);
    border: 1px solid rgba(201, 169, 98, 0.1);
}

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

.form-group label {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-medium);
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid #e5e5e5;
    border-radius: 10px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    transition: var(--transition);
    background: #fafafa;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(45, 74, 62, 0.08);
}

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

/* Attend Buttons */
.attend-buttons {
    display: flex;
    gap: 15px;
}

.radio-btn {
    flex: 1;
    cursor: pointer;
}

.radio-btn input {
    display: none;
}

.btn-label {
    display: block;
    padding: 16px;
    text-align: center;
    border: 2px solid #e5e5e5;
    border-radius: 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    background: #fafafa;
}

.btn-label:hover {
    border-color: #ccc;
    background: var(--white);
}

.radio-btn input:checked + .btn-label.decline {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    border-color: transparent;
    color: var(--white);
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.radio-btn input:checked + .btn-label.accept {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-color: transparent;
    color: var(--white);
    box-shadow: 0 4px 15px rgba(45, 74, 62, 0.3);
}

/* Guest Counter */
.guest-counter {
    display: flex;
    align-items: center;
    gap: 15px;
}

.counter-btn {
    width: 44px;
    height: 44px;
    border: 2px solid var(--primary);
    background: var(--white);
    color: var(--primary);
    font-size: 1.5rem;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 300;
}

.counter-btn:hover {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.05);
}

.guest-counter input {
    width: 70px;
    text-align: center;
    padding: 12px;
    border: 1.5px solid #e5e5e5;
    border-radius: 10px;
    font-size: 1.2rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    background: #fafafa;
}

.guest-counter input:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
}

.guest-total {
    margin-top: 12px;
    color: var(--text-light);
    font-size: 0.9rem;
    font-family: 'Montserrat', sans-serif;
}

/* Divider */
.divider {
    border: none;
    border-top: 1px solid #e8e8e8;
    margin: 35px 0;
}

.contact-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.contact-subtitle {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.6;
}

/* Form Row */
.form-row {
    display: flex;
    gap: 20px;
}

.form-group.half {
    flex: 1;
}

/* Submit Button */
.submit-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 3px;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(45, 74, 62, 0.35);
}

.submit-btn:hover::before {
    left: 100%;
}

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

/* Flash Messages */
.flash-messages {
    max-width: 620px;
    margin: 0 auto 25px;
}

.flash-success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    padding: 18px 25px;
    border-radius: 12px;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    border: 1px solid #b1dfbb;
}

/* Hotel Nights Selection */
.hotel-nights-section {
    background: linear-gradient(135deg, var(--bg-warm) 0%, #faf8f4 100%);
    border: 2px solid var(--accent-light);
    border-radius: 12px;
    padding: 20px 24px;
    margin-top: 25px;
}

.hotel-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: var(--text-medium);
    line-height: 1.6;
    margin: 8px 0 12px 0;
}

.hotel-party-reminder {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    color: var(--accent);
    font-style: italic;
    margin: 0 0 18px 0;
    font-weight: 500;
}

.hotel-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hotel-checkbox-label {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 18px;
    background: var(--white);
    border: 2px solid #e5e5e5;
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.hotel-checkbox-label:hover {
    border-color: var(--accent);
    background: var(--bg-cream);
    transform: translateX(4px);
}

.hotel-checkbox {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    pointer-events: none;
}

.hotel-checkbox-label:has(.hotel-checkbox:checked) {
    background: linear-gradient(135deg, var(--accent-light) 0%, #f0e6c8 100%);
    border-color: var(--accent);
    box-shadow: 0 4px 12px rgba(201, 169, 98, 0.3);
}

.hotel-date {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-right: 8px;
}

.hotel-day {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    color: var(--text-light);
    font-style: italic;
}


/* Footer */
footer {
    padding: 50px 20px;
    text-align: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-light), transparent);
}

footer p {
    font-family: 'Great Vibes', cursive;
    font-size: 1.8rem;
    opacity: 0.95;
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        background-attachment: scroll;
    }

    .hero-content .name {
        font-size: clamp(2.5rem, 10vw, 4rem);
    }

    .hero-content .ampersand {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .hero-content .event-type {
        font-size: 0.9rem;
        letter-spacing: 5px;
    }

    .hero-buttons {
        gap: 15px;
        margin-top: 20px;
    }

    .rsvp-btn {
        padding: 15px 35px;
        letter-spacing: 3px;
        font-size: 0.85rem;
    }

    .welcome {
        padding: 70px 20px;
    }

    .welcome-text {
        font-size: 1.2rem;
    }

    .event-card {
        flex-direction: column;
        text-align: center;
        padding: 30px 25px;
    }

    .event-card::before {
        left: 0;
        right: 0;
        top: 0;
        bottom: auto;
        width: 100%;
        height: 4px;
    }

    .event-date {
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        padding-right: 0;
        padding-bottom: 20px;
        margin-bottom: 20px;
        min-width: auto;
    }

    .event-details {
        padding-left: 0;
    }

    .event-location {
        justify-content: center;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .section-title {
        font-size: clamp(2rem, 6vw, 2.8rem);
    }

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

    .hotel-nights-section {
        padding: 18px 20px;
    }

    .hotel-subtitle {
        font-size: 0.85rem;
    }

    .hotel-party-reminder {
        font-size: 0.75rem;
    }

    .hotel-checkbox-label {
        padding: 12px 16px;
    }

    .hotel-date {
        font-size: 1rem;
    }

    .hotel-day {
        font-size: 0.8rem;
    }

    .gallery {
        overflow: visible;
    }

    .gallery-grid {
        animation: none;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        width: auto;
        padding-bottom: 10px;
    }

    .gallery-item {
        flex: 0 0 325px;
        height: 300px;
    }

    .gallery-item.duplicate {
        display: none;
    }

    .attend-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .info-icon::after {
        white-space: normal;
        max-width: 200px;
        font-size: 0.8rem;
        padding: 6px 10px;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        gap: 12px;
        width: 100%;
        padding: 0 20px;
    }

    .rsvp-btn {
        width: 100%;
        padding: 14px 30px;
        font-size: 0.8rem;
    }

    .gallery-item {
        flex: 0 0 305px;
        height: 280px;
    }

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

    .hotel-nights-section {
        padding: 16px 18px;
    }

    .hotel-subtitle {
        font-size: 0.8rem;
    }

    .hotel-party-reminder {
        font-size: 0.7rem;
    }

    .hotel-checkbox-label {
        padding: 10px 14px;
    }


    .hotel-date {
        font-size: 0.95rem;
    }

    .hotel-day {
        font-size: 0.75rem;
    }

    .guest-counter {
        justify-content: center;
    }
}

/* Thank You Page */
.thankyou-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('../images/rsvp.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 40px 20px;
}

.thankyou-content {
    background: var(--white);
    padding: 70px 60px;
    border-radius: 20px;
    text-align: center;
    max-width: 600px;
    box-shadow: var(--shadow-hover);
    animation: fadeInUp 0.8s ease-out;
}

.thankyou-title {
    font-family: 'Priestacy', cursive;
    font-size: clamp(3rem, 8vw, 4.5rem);
    color: var(--primary);
    margin-bottom: 30px;
    font-weight: 400;
}

.thankyou-message {
    font-size: 1.25rem;
    color: var(--text-medium);
    line-height: 2;
    margin-bottom: 45px;
}

.back-btn {
    display: inline-block;
    padding: 16px 45px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 2px;
    border-radius: 10px;
    transition: var(--transition);
    text-transform: uppercase;
}

.back-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(45, 74, 62, 0.35);
}

/* Lightbox */
#lightbox {
    border: none;
    background: transparent;
    max-width: 90vw;
    max-height: 90vh;
    padding: 0;
    margin: auto;
    z-index: 9999;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#lightbox::backdrop {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    cursor: pointer;
}

#lightbox-img {
    max-width: 90vw;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    animation: fadeIn 0.3s ease-out;
    display: block;
}

.gallery-img {
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.gallery-img:active {
    opacity: 0.8;
}

/* Scroll animations (add .animate class via JS) */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Required field indicator */
.required {
    color: #d32f2f;
    font-weight: 500;
}
