/* ============================================
   MODERN DIGITAL INVITATION DESIGN
   Mobile-first, premium aesthetic
   ============================================ */

:root {
    /* Modern sophisticated color palette - enhanced contrast */
    --color-sage: #7A9B8F;
    --color-blush: #F08080;
    --color-cream: #F9F5F0;
    --color-ivory: #FEFDFB;
    --color-gold: #C9945A;
    --color-dusty-blue: #5BA3D0;
    --color-soft-purple: #B084C8;
    --color-text-dark: #1F1F1F;
    --color-text-light: #5A5A5A;
    --color-white: #FFFFFF;
    --color-accent-pink: #E84C4C;
    --color-accent-blue: #3B82F6;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.15);

    /* Spacing & Radius */
    --radius-sm: 14px;
    --radius-md: 20px;
    --radius-lg: 28px;

    /* Transitions */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --duration: 0.3s;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Quicksand', sans-serif;
    background: linear-gradient(180deg, var(--color-cream) 0%, var(--color-white) 100%);
    color: var(--color-text-dark);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    font-size: 16px;
}

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

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 20px 40px;
    background: linear-gradient(135deg, #FBF8F3 0%, #F5E8E4 50%, #E8DCD4 100%);
    position: relative;
    overflow: hidden;
}

.hero-background-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    opacity: 0.35;
    pointer-events: none;
    padding-right: 30px;
}

.hero-photo {
    max-width: 300px;
    max-height: 360px;
    object-fit: cover;
    border-radius: 30px;
    filter: grayscale(40%);
    user-select: none;
    animation: float 4s ease-in-out infinite;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.hero-inner {
    text-align: center;
    max-width: 500px;
    animation: fadeInUp 1s var(--ease);
    position: relative;
    z-index: 1;
}


.hero-illustration {
    width: 240px;
    height: 240px;
    margin: 0 auto 28px;
    animation: float 4s ease-in-out infinite;
}

.hero-illustration svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.08));
}

.hero-title {
    font-family: 'Quicksand', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-dusty-blue);
    letter-spacing: 1px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.hero-name {
    font-family: 'DM Serif Display', serif;
    font-size: 52px;
    font-weight: 400;
    color: var(--color-text-dark);
    margin-bottom: 20px;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 17px;
    color: var(--color-text-dark);
    line-height: 1.7;
    max-width: 380px;
    margin: 0 auto;
    font-weight: 500;
}

/* ============================================
   EVENT DETAILS SECTION
   ============================================ */

/* ============================================
   VENUE CARDS
   ============================================ */

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

.monastery-section {
    background: linear-gradient(180deg, var(--color-ivory) 0%, var(--color-cream) 100%);
}

.restaurant-section {
    background: linear-gradient(180deg, var(--color-cream) 0%, var(--color-ivory) 100%);
}

.venue-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 24px 20px;
    box-shadow: var(--shadow-md);
    text-align: center;
    animation: fadeInUp 0.8s var(--ease);
    transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.venue-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.venue-icon-box {
    width: 70px;
    height: 70px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, var(--color-cream) 0%, var(--color-ivory) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.restaurant-icon {
    background: linear-gradient(135deg, var(--color-blush) 0%, rgba(245, 163, 163, 0.3) 100%);
}

.venue-icon {
    width: 42px;
    height: 42px;
}

.venue-title {
    font-family: 'DM Serif Display', serif;
    font-size: 36px;
    color: var(--color-text-dark);
    margin-bottom: 22px;
    font-weight: 400;
    letter-spacing: -0.5px;
}

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

.venue-detail {
    margin-bottom: 14px;
}

.venue-detail:last-child {
    margin-bottom: 0;
}

.venue-detail .detail-label {
    display: block;
    color: var(--color-dusty-blue);
    font-size: 12px;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.venue-detail .detail-text {
    display: block;
    font-size: 18px;
    color: var(--color-text-dark);
    font-weight: 600;
}

.nav-button {
    width: 100%;
    padding: 18px 28px;
    background: linear-gradient(135deg, var(--color-dusty-blue) 0%, var(--color-soft-purple) 100%);
    color: var(--color-white);
    border: none;
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--duration) var(--ease);
    box-shadow: var(--shadow-md);
    font-family: 'Quicksand', sans-serif;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.nav-button:active {
    transform: translateY(0);
}

/* ============================================
   TIMELINE SECTION
   ============================================ */

.timeline-section {
    padding: 40px 20px;
    background: linear-gradient(180deg, var(--color-ivory) 0%, var(--color-white) 100%);
}

.section-title {
    font-family: 'DM Serif Display', serif;
    font-size: 40px;
    color: var(--color-text-dark);
    text-align: center;
    margin-bottom: 36px;
    font-weight: 400;
    letter-spacing: -0.5px;
}

.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--color-dusty-blue), var(--color-soft-purple), var(--color-blush));
}

.timeline-item {
    margin-bottom: 24px;
    position: relative;
    padding-left: 100px;
    animation: fadeInUp 0.8s var(--ease);
}

.timeline-item.last::before {
    display: none;
}

.timeline-marker {
    position: absolute;
    left: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-time {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--color-dusty-blue) 0%, var(--color-soft-purple) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-weight: 700;
    font-size: 15px;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 2;
}

.timeline-line {
    position: absolute;
    left: 30px;
    top: 60px;
    width: 2px;
    height: 40px;
    background: linear-gradient(180deg, var(--color-dusty-blue), transparent);
}

.timeline-content {
    background: linear-gradient(135deg, var(--color-cream) 0%, rgba(212, 181, 232, 0.2) 100%);
    padding: 16px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.timeline-content p {
    font-size: 16px;
    color: var(--color-text-dark);
    font-weight: 600;
    margin: 0;
}

/* ============================================
   RSVP SECTION
   ============================================ */

.rsvp-section {
    padding: 40px 20px;
    background: linear-gradient(180deg, var(--color-white) 0%, var(--color-cream) 100%);
}

.rsvp-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 30px 24px;
    box-shadow: var(--shadow-md);
    text-align: center;
    animation: fadeInUp 0.8s var(--ease);
}

.rsvp-title {
    font-family: 'DM Serif Display', serif;
    font-size: 38px;
    color: var(--color-text-dark);
    margin-bottom: 14px;
    font-weight: 400;
    letter-spacing: -0.5px;
}

.rsvp-text {
    font-size: 16px;
    color: var(--color-text-dark);
    margin-bottom: 28px;
    line-height: 1.8;
    font-weight: 500;
}

.rsvp-button {
    width: 100%;
    padding: 18px 32px;
    background: linear-gradient(135deg, #E84C4C 0%, #F5699E 100%);
    color: var(--color-white);
    border: none;
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--duration) var(--ease);
    box-shadow: var(--shadow-lg);
    font-family: 'Quicksand', sans-serif;
    margin-bottom: 16px;
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rsvp-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.rsvp-button:active {
    transform: translateY(0);
}

.rsvp-note {
    font-size: 14px;
    color: var(--color-text-dark);
    font-weight: 500;
}

.rsvp-photo-container {
    margin: 28px 0 32px;
    animation: fadeInUp 0.8s var(--ease);
}

.rsvp-photo {
    width: 280px;
    height: 240px;
    max-width: 100%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
    display: block;
    margin: 0 auto 14px;
}

.rsvp-photo-caption {
    text-align: center;
    font-size: 15px;
    color: var(--color-dusty-blue);
    font-weight: 600;
    margin: 0;
}

.contacts-container {
    display: flex;
    gap: 40px;
    margin-top: 24px;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-person {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 180px;
}

.contact-name {
    font-family: 'DM Serif Display', serif;
    font-size: 28px;
    color: var(--color-text-dark);
    margin-bottom: 10px;
    font-weight: 400;
    letter-spacing: -0.5px;
}

.contact-person .phone-number {
    display: inline-block;
    font-size: 17px;
    color: var(--color-white);
    text-decoration: none;
    font-weight: 700;
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--color-dusty-blue), var(--color-soft-purple));
    transition: all var(--duration) var(--ease);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.contact-person .phone-number:hover {
    background: linear-gradient(135deg, #4A8FBC, #A078B4);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    padding: 40px 20px;
    background: linear-gradient(180deg, var(--color-cream) 0%, var(--color-ivory) 100%);
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-message {
    font-size: 16px;
    color: var(--color-text-dark);
    margin-bottom: 12px;
    line-height: 1.8;
    font-weight: 500;
}

.footer-info {
    font-family: 'DM Serif Display', serif;
    font-size: 22px;
    color: var(--color-dusty-blue);
    font-weight: 400;
    margin: 0;
    letter-spacing: -0.5px;
}

/* ============================================
   ANIMATIONS
   ============================================ */

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

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


/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (min-width: 768px) {
    .hero {
        padding: 60px 40px;
    }

    .hero-illustration {
        width: 280px;
        height: 280px;
        margin-bottom: 36px;
    }

    .hero-name {
        font-size: 52px;
        margin-bottom: 20px;
    }

    .timeline-section,
    .rsvp-section {
        padding: 50px 40px;
    }

    .venue-section {
        padding: 50px 40px;
    }

    .section-title {
        font-size: 40px;
        margin-bottom: 40px;
    }

    .venue-title {
        font-size: 34px;
    }
}

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

    .hero-illustration {
        width: 240px;
        height: 240px;
    }

    .section-title {
        font-size: 28px;
        margin-bottom: 32px;
    }

    .venue-title {
        font-size: 28px;
    }

    .rsvp-card {
        padding: 32px 20px;
    }
}
