:root {
    /*--primary: #5a7d6f;*/
    --primary: black;
    --primary-light: #7ea68f;
    /*--primary-light: grey;*/
    /*--accent: #d4a574;*/
    --accent: #969696;
    --background: #faf8f5;
    --text: #2c3e3a;
    /*--text-light: #6b7f7a;*/
    --text-light: grey;
    --white: #ffffff;
    --border: #e5dfd6;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--background);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Cormorant', serif;
    font-weight: 600;
    line-height: 1.2;
}

/* Hero Section - Single Fullscreen Background */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    background-image: url('./images/hero-photo.jpg');
    background-size: cover;
    background-position: center;
    /* Override general section styling */
    max-width: none;
    width: 100%;
    margin: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 1.2s ease-out;
    max-width: 900px;
}

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

.hero-title {
    font-family: 'Cormorant', serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--white);
    letter-spacing: 6px;
    text-transform: uppercase;
    margin-bottom: 2rem;
    font-weight: 400;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.hero-names {
    /*font-family: 'Dancing Script', cursive;*/
    font-family: 'Alex Brush', cursive;
    font-size: clamp(3.5rem, 10vw, 5rem);
    color: var(--white);
    margin-bottom: 0.5rem;
    /*font-weight: 600;*/
    font-weight: unset;
    letter-spacing: 2px;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
    line-height: 1.3;
}

.hero-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: var(--white);
    letter-spacing: 3px;
    font-weight: 300;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
    opacity: 0.95;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .hero {
        min-height: 100vh;
    }
    .hero-names {
        font-size: clamp(3.5rem, 10vw, 5rem);
        letter-spacing: 1px;
    }
    .hero-subtitle {
        font-size: clamp(1.1rem, 2.5vw, 2rem);
        letter-spacing: 1px;
    }
}

@media (max-width: 480px) {
    .hero-names {
        font-size: clamp(2rem, 14vw, 2.7rem);
    }
    .hero-subtitle {
        font-size: 1.2rem;
    }
}


/* Section Styles */
section {
    padding: clamp(3rem, 8vw, 6rem) 1.5rem;
    max-width: 900px;
    margin: 0 auto;
    opacity: 0;
    animation: fadeIn 0.8s ease-out forwards;
}

/* Personalized Invitation */
.invitation-notice {
    background: linear-gradient(135deg, rgba(90, 125, 111, 0.1) 0%, rgba(212, 165, 116, 0.1) 100%);
    border: 2px solid var(--accent);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    text-align: center;
    margin: 2rem auto;
    max-width: 700px;
    animation: fadeInUp 1s ease-out;
}

.invitation-notice h2 {
    font-family: 'Cormorant', serif;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--primary);
    margin-bottom: 1rem;
}

.invitation-notice p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
}

.invitation-for {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--accent);
    margin-top: 1rem;
}

.missing-invite {
    background: rgba(212, 165, 116, 0.1);
    border: 2px solid var(--accent);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    margin: 2rem auto;
    max-width: 600px;
}

.missing-invite h2 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.missing-invite p {
    color: var(--text-light);
}

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

section:nth-child(even) {
    background-color: var(--white);
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--primary);
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--accent);
}

/* Info Sections */
.info-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    border: 1px solid var(--border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(90, 125, 111, 0.1);
}

.info-card h3 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.info-card p {
    color: var(--text-light);
    margin-bottom: 0.8rem;
}

/* Schedule */
.schedule-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--background);
    border-radius: 8px;
    border-left: 4px solid var(--accent);
}

.schedule-time {
    font-family: 'Cormorant', serif;
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 600;
    min-width: 80px;
}

.schedule-details h4 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

/* RSVP Form */
.rsvp-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    /*border: 2px solid var(--border);*/
    margin-top: 2rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary);
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    background: var(--background);
    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(--primary);
    box-shadow: 0 0 0 3px rgba(90, 125, 111, 0.1);
}

.radio-group {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.radio-option input[type="radio"] {
    width: auto;
    accent-color: var(--primary);
}

.submit-btn {
    width: 100%;
    padding: 1.2rem;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.submit-btn:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(90, 125, 111, 0.2);
}

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

.required {
    color: var(--accent);
}

.deadline-notice {
    background: rgba(212, 165, 116, 0.1);
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 2rem;
    border: 1px solid var(--accent);
}

.deadline-notice strong {
    color: var(--accent);
}

/* Contact Info */
.contact-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--background);
    border-radius: 8px;
}

.contact-name {
    font-weight: 500;
    color: var(--primary);
}

/* Map/Location */
.map-container {
    width: 100%;
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
    margin-top: 1.5rem;
    border: 1px solid var(--border);
}

/* Success Message */
.success-message {
    display: none;
    background: rgba(90, 125, 111, 0.1);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border: 2px solid var(--primary);
}

.success-message.show {
    display: block;
    animation: fadeInUp 0.6s ease-out;
}

.success-message h3 {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* Footer */
footer {
    text-align: center;
    padding: 3rem 1.5rem;
    background: var(--primary);
    color: var(--white);
}

footer p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Responsive */
@media (max-width: 768px) {
    .schedule-item {
        flex-direction: column;
        gap: 1rem;
    }
    
    .schedule-time {
        min-width: auto;
    }
    
    .rsvp-form {
        padding: 1.5rem;
    }
}

/* Invitation Section */
.invitation-section {
    /*padding: clamp(3rem, 8vw, 5rem) 1.5rem !important;*/
    max-width: 700px;
    text-align: center;
    background-color: var(--background) !important;
    padding-top: 3rem !important;
    padding-bottom: 5rem !important;
}

.dash {
    font-size: 1.7rem;
    opacity: 0.4;
    display: inline-block;
    transform: translateY(-0.15em);
}

@media (max-width: 768px) {
    .dash {
        transform: translateY(-0.09em);
    }
}

@media (max-width: 480px) {
    .dash {
        transform: translateY(-0.09em);
    }
}


.invitation-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem 2rem;
    margin-top: 3rem;
}

.invitation-inner {
    animation: fadeInUp 0.8s ease-out;
}

.additional{
    padding-top: 1rem!important;
}

/*.invitation-section {
    padding: clamp(3rem, 8vw, 5rem) 1.5rem !important;
    max-width: none !important;
    width: 100%;
    text-align: center;
    background-image: url('./images/1.png');
    background-size: cover;
    background-position: center;
    position: relative;
}*/

/*.invitation-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(250, 248, 245, 0.90);
}*/

/* Venues Photo Section */
.venues-photo {
    width: 100%;
    max-width: none !important;
    margin: 0;
    padding: 0 !important;
    min-height: 60vh;
    background-image: url('./images/venues-split.png');
    background-size: cover;
    background-position: center;
    opacity: 1 !important;
    animation: none !important;
}

.invitation-inner {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out;
}

.invitation-headline {
    font-family: 'Cormorant', serif;
    font-size: clamp(1.8rem, 5vw, 2.6rem);
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.4rem;
}

.invitation-subtext {
    font-size: 0.95rem;
    color: var(--text-light);
    letter-spacing: 0.5px;
}

.invitation-divider {
    width: 60px;
    height: 2px;
    background: var(--accent);
    margin: 2rem auto;
}

.invitation-lead {
    font-family: 'Cormorant', serif;
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.8rem;
}

.invitation-body {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.8;
    max-width: 480px;
    margin: 0 auto 2.5rem;
}

.invitation-details {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 2.5rem;
}

.invitation-detail {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.detail-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-light);
}

.detail-value {
    font-family: 'Cormorant', serif;
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--text);
}

.invitation-cta {
    display: inline-block;
    padding: 0.9rem 2.5rem;
    border: 1px solid var(--primary);
    color: var(--primary);
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.invitation-cta:hover {
    background: var(--primary);
    color: var(--white);
}

.invitation-notice-text {
    color: var(--text-light);
    font-size: 1rem;
    padding: 2rem;
}

@media (max-width: 480px) {
    .invitation-details {
        flex-direction: column;
        gap: 1.5rem;
    }
}

.invitation-venues {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 2rem;
}

.invitation-venue {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.venue-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-light);
}

.venue-name {
    font-family: 'Cormorant', serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text);
}

.invitation-more {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    font-style: italic;
}

@media (max-width: 480px) {
    .invitation-venues {
        flex-direction: column;
        gap: 1.5rem;
    }
}

/* Venue Buttons */
.venues-photo {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.venue-btn {
    position: absolute;
    padding: 0.8rem 1.8rem;
    background: #000000bd;

    /*background: var(--primary);*/
    /*background: transparent;*/
    /*border: none;*/
    border: 1px solid rgba(0, 0, 0, 0.2);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: #ffffffad;
    cursor: pointer;
    border-radius: 4px;
    /*transition: all 0.3s ease;*/
    letter-spacing: 0.5px;
    z-index: 2;

    -webkit-tap-highlight-color: transparent;
    user-select: none;
    outline: none;
}

.venue-btn:hover {
    background: var(--primary);
    /*background: #0000007d;*/
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.0);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.venue-btn-left {
    left: 15%;
}

.venue-btn-right {
    right: 15%;
}

@media (max-width: 768px) {
    .venue-btn-left {
        left: 5%;
    }
    .venue-btn-right {
        right: 5%;
    }
    .venue-btn {
        font-size: 0.8rem;
        padding: 0.6rem 1.2rem;
    }
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.lightbox.open {
    display: flex;
}

.lightbox-img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 4px;
}

.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    z-index: 10;
    line-height: 1;
}

.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    padding: 1rem;
    z-index: 10;
}

.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

.lightbox-counter {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    font-family: 'Montserrat', sans-serif;
}

.schedule-section {
    padding-top: 0!important;
    padding-bottom: 2rem!important;
    background-color: var(--background) !important;
}

.section-subtext {
    text-align: center;
    color: var(--text-light);
    font-size: 0.95rem;
    margin-top: -2rem;
    margin-bottom: 2.5rem;
    letter-spacing: 0.5px;
}

.schedule-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
}

.schedule-card .schedule-item:last-child {
    margin-bottom: 0;
}

.schedule-address {
    font-size: 0.85rem;
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 0.5rem;
}

.nav-buttons {
    display: flex;
    gap: 0.6rem;
    margin-top: 0.5rem;
    flex-wrap: wrap;
}

.nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.45rem 1rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.78rem;
    text-decoration: none;
    border-radius: 4px;
    letter-spacing: 0.5px;
    border: 1px solid var(--border);
    color: var(--text);
    background: var(--background);
    transition: all 0.2s ease;
}

.nav-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.nav-btn-waze {
    background: var(--white);
}

.schedule-item-highlight {
    border-left-color: var(--primary) !important;
    background: rgba(90, 125, 111, 0.04);
}

.schedule-overnight {
    margin-top: 1.5rem;
    padding: 1.2rem;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-light);
    background: var(--background);
    border-radius: 8px;
    line-height: 1.6;
}


.dresscode-photo {
    width: 100%;
    max-width: none !important;
    margin: 0;
    padding: 0 !important;
    min-height: 60vh;
    background-image: url('./images/dc/dresscode-split.png');
    background-size: cover;
    background-position: center;
    opacity: 1 !important;
    animation: none !important;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dresscode-header {
    background-color: var(--background) !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-bottom: 0;
    margin-top: 0;
}

.dresscode-photo {
    margin-top: 0;
}


.dresscode-colors {
    background-color: var(--background) !important;
    padding-top: 0 !important;
}

.color-palette {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    max-width: 500px;
    margin: 0 auto;
}

.color-swatch {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease;
}

.color-swatch:hover {
    transform: scale(1.1);
}

@media (max-width: 480px) {
    .color-swatch {
        width: 60px;
        height: 60px;
    }
    .color-palette {
        gap: 1rem;
    }
}

.rsvp-section {
    background-color: var(--background) !important;
    padding-top: 1rem!important;
}

.rsvp-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2.5rem 2rem;
}

.input-readonly {
    background: var(--background) !important;
    color: var(--text) !important;
    font-weight: 500;
    cursor: default;
    opacity: 0.8;
}

.form-hint {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 0.6rem;
    font-style: italic;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.checkbox-option {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.7rem 1rem;
    background: var(--background);
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.checkbox-option:hover {
    background: var(--border);
}

.checkbox-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
    cursor: pointer;
}

.checkbox-option label {
    cursor: pointer;
    margin: 0 !important;
    font-size: 1rem;
}

/*.meal-person {
    background: var(--background);
    border-radius: 8px;
    padding: 1rem 1.2rem;
    margin-bottom: 0.8rem;
}

.meal-person:last-child {
    margin-bottom: 0;
}

.meal-person-name {
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.meal-person select {
    width: 100%;
    padding: 0.7rem 1rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    background: var(--white);
}*/

@media (max-width: 480px) {
    .rsvp-card {
        padding: 1.5rem 1.2rem;
    }
}

.parking-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 1.2rem;
}

.parking-item {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 0.8rem 1rem;
    background: var(--background);
    border-radius: 8px;
    border-left: 3px solid var(--accent);
}

.parking-name {
    font-weight: 500;
    color: var(--primary);
    font-size: 0.95rem;
}

.parking-detail {
    font-size: 0.85rem;
    color: var(--text-light);
}

.contact-note {
    margin-top: 1.2rem;
    font-size: 0.85rem;
    color: var(--text-light);
    font-style: italic;
    text-align: center;
}

.contact-phone {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.contact-phone:hover {
    text-decoration: underline;
}