/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 20px;
    line-height: 1.8;
    color: #2c2c2c;
    overflow-x: hidden;
    overflow-y: auto;
    position: relative;
    min-height: 100vh;
    -webkit-overflow-scrolling: touch;
}

/* Background Slideshow */
.slideshow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #B19CD9;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slideshow-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    z-index: -1;
    pointer-events: none;
}

/* Main Container */
.container {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px 100vh 20px;
    min-height: 100vh;
}

/* Section Styles */
.section {
    background: rgba(255, 255, 255, 0.95);
    margin: 30px 0;
    padding: 50px 40px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* Header Section */
.header-section {
    padding: 60px 40px;
}

.bride-name {
    font-size: 56px;
    font-weight: 300;
    letter-spacing: 4px;
    color: #B19CD9;
    margin: 10px 0;
    text-transform: uppercase;
}

.groom-name {
    font-size: 56px;
    font-weight: 300;
    letter-spacing: 4px;
    color: #6B8E23;
    margin: 10px 0;
    text-transform: uppercase;
}

.and-divider {
    margin: 20px 0;
    position: relative;
}

.and-divider::before,
.and-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 100px;
    height: 1px;
    background: linear-gradient(to right, #6B8E23, #B19CD9);
}

.and-divider::before {
    left: calc(50% - 120px);
}

.and-divider::after {
    right: calc(50% - 120px);
}

.and-text {
    font-size: 32px;
    color: #9CAF50;
    font-style: italic;
    display: inline-block;
    background: rgba(255, 255, 255, 0.95);
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.invitation-text {
    font-size: 22px;
    color: #555;
    margin: 15px 0;
    font-style: italic;
}

/* Date Section */
.date-section {
    padding: 50px 40px;
}

.date-box {
    background: linear-gradient(135deg, #F0F4E8 0%, #E8EDE0 100%);
    border: 2px solid #9CAF50;
    border-radius: 10px;
    padding: 40px 30px;
    margin: 30px auto;
    max-width: 300px;
}

.date-day {
    font-size: 28px;
    color: #6B8E23;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.date-month {
    font-size: 24px;
    color: #B19CD9;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 5px;
}

.date-number {
    font-size: 72px;
    color: #6B8E23;
    font-weight: 300;
    line-height: 1;
    margin: 10px 0;
}

.date-year {
    font-size: 28px;
    color: #6B8E23;
    font-weight: 300;
    letter-spacing: 2px;
    margin-top: 10px;
}

.time-text {
    font-size: 24px;
    color: #555;
    margin: 20px 0 10px;
    font-weight: 500;
}

.reception-text {
    font-size: 20px;
    color: #777;
    font-style: italic;
}

/* Location Section */
.location-section {
    padding: 50px 40px;
}

.section-title {
    font-size: 42px;
    color: #6B8E23;
    margin-bottom: 30px;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.location-box {
    background: #fafafa;
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
}

.venue-name {
    font-size: 32px;
    color: #6B8E23;
    margin-bottom: 15px;
    font-weight: 400;
}

.venue-address {
    font-size: 22px;
    color: #555;
    margin: 8px 0;
    line-height: 1.6;
}

.map-link {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 30px;
    background: #6B8E23;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 20px;
    transition: background 0.3s ease;
}

.map-link:hover {
    background: #556B2F;
}

/* RSVP Section */
.rsvp-section {
    padding: 50px 40px;
}

.rsvp-text {
    font-size: 22px;
    color: #555;
    margin: 15px 0;
}

.rsvp-deadline {
    font-size: 20px;
    color: #B19CD9;
    font-weight: 500;
    margin: 20px 0;
}

.contact-info {
    margin-top: 30px;
    padding: 25px;
    background: #fafafa;
    border-radius: 10px;
}

.contact-info p {
    font-size: 22px;
    color: #555;
    margin: 12px 0;
}

.contact-info a {
    color: #6B8E23;
    text-decoration: none;
    font-weight: 500;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Gift Section */
.gift-section {
    padding: 50px 40px;
    color: #555;
    margin: 10px 0;
}

.gift-text-title{
    font-size: 26px;
}

.gift-text {
    font-size: 22px;
}

.gift-text-note {
    font-size: 20px;
}

.venmo-container {
    margin-top: 30px;
}

.venmo-qr-placeholder {
    background: linear-gradient(135deg, #F8F5F9 0%, #F0F4E8 100%);
    padding: 40px;
    border-radius: 10px;
    border: 2px solid #9CAF50;
    display: inline-block;
}

.qr-instruction {
    font-size: 22px;
    color: #6B8E23;
    margin-bottom: 20px;
    font-weight: 500;
}

.qr-code-box {
    margin: 20px 0;
}

.qr-code {
    width: 250px;
    height: 250px;
    border: 3px solid #9CAF50;
    border-radius: 10px;
    padding: 10px;
    background: white;
    display: block;
    margin: 0 auto;
}

.qr-placeholder {
    width: 250px;
    height: 250px;
    border: 3px dashed #9CAF50;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    background: #F8F5F9;
    color: #6B8E23;
}

.qr-placeholder p {
    font-size: 18px;
    margin: 5px 0;
}

.qr-note {
    font-size: 16px;
    color: #777;
    text-align: center;
    padding: 0 10px;
}

.venmo-handle {
    font-size: 24px;
    color: #6B8E23;
    margin-top: 20px;
    font-weight: 500;
}

/* Info Section */
.info-section {
    padding: 50px 40px;
}

.info-box {
    text-align: left;
    max-width: 700px;
    margin: 0 auto;
}

.info-box h3 {
    font-size: 28px;
    color: #6B8E23;
    margin: 25px 0 10px;
    font-weight: 400;
}

.info-box p {
    font-size: 20px;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.8;
}

/* Footer */
.footer-section {
    padding: 50px 40px;
    background: linear-gradient(135deg, #F0F4E8 0%, #F8F5F9 100%);
}

.footer-text {
    font-size: 22px;
    color: #555;
    margin: 15px 0;
    font-style: italic;
}

.footer-signature {
    font-size: 32px;
    color: #6B8E23;
    background: linear-gradient(135deg, #6B8E23 0%, #B19CD9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-top: 25px;
    font-weight: 300;
    letter-spacing: 2px;
}

/* Photos Prompt Section */
.photos-prompt-section {
    padding: 60px 40px;
    background: rgba(255, 255, 255, 0.85);
    margin-bottom: 0;
}

.photos-prompt-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.photos-prompt-text {
    font-size: 24px;
    color: #6B8E23;
    margin-bottom: 20px;
    font-weight: 400;
    text-align: center;
}

.scroll-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #B19CD9;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 40px;
    height: 40px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    body {
        font-size: 18px;
    }

    .container {
        padding: 20px 15px 100vh 15px;
    }

    .section {
        padding: 35px 25px;
        margin: 20px 0;
    }

    .header-section {
        padding: 40px 25px;
    }

    .bride-name,
    .groom-name {
        font-size: 42px;
        letter-spacing: 2px;
    }

    .and-text {
        font-size: 28px;
    }

    .and-divider::before,
    .and-divider::after {
        width: 60px;
    }

    .and-divider::before {
        left: calc(50% - 80px);
    }

    .and-divider::after {
        right: calc(50% - 80px);
    }

    .invitation-text {
        font-size: 20px;
    }

    .section-title {
        font-size: 36px;
        letter-spacing: 2px;
    }

    .date-box {
        padding: 30px 20px;
        max-width: 250px;
    }

    .date-number {
        font-size: 56px;
    }

    .date-day,
    .date-year {
        font-size: 24px;
    }

    .date-month {
        font-size: 20px;
    }

    .time-text {
        font-size: 22px;
    }

    .venue-name {
        font-size: 28px;
    }

    .venue-address {
        font-size: 20px;
    }

    .map-link {
        font-size: 18px;
        padding: 10px 25px;
    }

    .rsvp-text,
    .gift-text {
        font-size: 20px;
    }

    .contact-info p {
        font-size: 20px;
    }

    .qr-code {
        width: 220px;
        height: 220px;
    }

    .qr-placeholder {
        width: 220px;
        height: 220px;
    }

    .venmo-handle {
        font-size: 22px;
    }

    .info-box h3 {
        font-size: 24px;
    }

    .info-box p {
        font-size: 18px;
    }

    .footer-text {
        font-size: 20px;
    }

    .footer-signature {
        font-size: 28px;
    }

    .photos-prompt-section {
        padding: 50px 25px;
    }

    .photos-prompt-text {
        font-size: 22px;
    }

    .scroll-arrow {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 16px;
    }

    .container {
        padding: 15px 10px 100vh 10px;
    }

    .section {
        padding: 30px 20px;
        margin: 15px 0;
    }

    .header-section {
        padding: 35px 20px;
    }

    .bride-name,
    .groom-name {
        font-size: 36px;
        letter-spacing: 1px;
    }

    .and-text {
        font-size: 24px;
        padding: 0 15px;
    }

    .and-divider::before,
    .and-divider::after {
        width: 40px;
    }

    .and-divider::before {
        left: calc(50% - 60px);
    }

    .and-divider::after {
        right: calc(50% - 60px);
    }

    .invitation-text {
        font-size: 18px;
    }

    .section-title {
        font-size: 32px;
        letter-spacing: 1px;
    }

    .date-box {
        padding: 25px 15px;
        max-width: 220px;
    }

    .date-number {
        font-size: 48px;
    }

    .date-day,
    .date-year {
        font-size: 20px;
    }

    .date-month {
        font-size: 18px;
    }

    .time-text {
        font-size: 20px;
    }

    .reception-text {
        font-size: 18px;
    }

    .venue-name {
        font-size: 24px;
    }

    .venue-address {
        font-size: 18px;
    }

    .map-link {
        font-size: 16px;
        padding: 10px 20px;
    }

    .rsvp-text,
    .gift-text {
        font-size: 18px;
    }

    .rsvp-deadline {
        font-size: 18px;
    }

    .contact-info {
        padding: 20px;
    }

    .contact-info p {
        font-size: 18px;
    }

    .venmo-qr-placeholder {
        padding: 30px 20px;
    }

    .qr-instruction {
        font-size: 20px;
    }

    .qr-code {
        width: 200px;
        height: 200px;
    }

    .qr-placeholder {
        width: 200px;
        height: 200px;
    }

    .qr-placeholder p {
        font-size: 16px;
    }

    .qr-note {
        font-size: 14px;
    }

    .venmo-handle {
        font-size: 20px;
    }

    .info-box h3 {
        font-size: 22px;
    }

    .info-box p {
        font-size: 16px;
    }

    .footer-text {
        font-size: 18px;
    }

    .footer-signature {
        font-size: 24px;
    }

    .photos-prompt-section {
        padding: 40px 20px;
    }

    .photos-prompt-text {
        font-size: 20px;
    }

    .scroll-arrow {
        width: 30px;
        height: 30px;
    }
}

/* Print Styles */
@media print {
    .slideshow-container,
    .slideshow-overlay {
        display: none;
    }

    .section {
        background: white;
        box-shadow: none;
        page-break-inside: avoid;
    }
}

