/* Pages */

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: var(--space-4);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8) sepia(0.2);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(246, 240, 230, 0.8) 0%, rgba(246, 240, 230, 0.4) 50%, rgba(0, 0, 0, 0.1) 100%);
    z-index: -1;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    position: relative;
    z-index: 1;
    padding: var(--space-3);
}

.hero-card {
    background: rgba(246, 240, 230, 0.7);
    backdrop-filter: blur(10px);
    padding: var(--space-8) var(--space-4);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: var(--space-2);
    color: var(--burgundy);
    line-height: 1.2;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 5rem;
    }

    .hero-card {
        padding: var(--space-10) var(--space-8);
    }
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: var(--space-4);
    font-style: italic;
}

.hero-date {
    font-size: 1.2rem;
    letter-spacing: 0.2em;
    margin-bottom: var(--space-6);
    display: block;
    color: var(--ink);
}

/* Story Section */
.story-section {
    padding: var(--space-10) 0;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
}

@media (min-width: 768px) {
    .story-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.story-card {
    text-align: center;
}

/* Schedule Section */
.schedule-section {
    padding: var(--space-10) 0;
    background-color: rgba(255, 255, 255, 0.5);
}

.schedule-list {
    max-width: 800px;
    margin: 0 auto;
}

.schedule-item {
    display: flex;
    align-items: baseline;
    padding: var(--space-3) 0;
    border-bottom: 1px dashed var(--line);
}

.schedule-time {
    flex: 0 0 100px;
    font-family: var(--font-heading);
    font-weight: bold;
    color: var(--gold);
}

.schedule-details {
    flex: 1;
}

.schedule-title {
    font-size: 1.2rem;
    margin-bottom: var(--space-1);
}

.schedule-note {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}

/* Venue Section */
.venue-section {
    padding: var(--space-10) 0;
    text-align: center;
}

.venue-map {
    width: 100%;
    margin: var(--space-4) 0;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* Gallery Section */
.gallery-section {
    padding: var(--space-10) 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-2);
}

@media (min-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.gallery-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border: 4px solid #fff;
    box-shadow: var(--shadow);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

/* RSVP Section */
.rsvp-section {
    padding: var(--space-12) 0;
    background-color: var(--ivory);
}

/* Footer */
footer {
    padding: var(--space-6) 0;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
    border-top: 1px solid var(--line);
}