:root {
    --e-gold: #c5a059;
    --e-dark: #1a1a1a;
    --e-bg: #fffcf7;
    --e-text: #333;
    --serif: 'Playfair Display', serif;
    --sans: 'Inter', sans-serif;
}

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

body {
    background-color: var(--e-bg);
    color: var(--e-text);
    font-family: var(--sans);
    line-height: 1.6;
    overflow-x: hidden;
    /* Paper Texture */
    background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"%3E%3Cfilter id="n"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.8" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100" height="100" filter="url(%23n)" opacity="0.05"/%3E%3C/svg%3E');
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
}

/* Sections */
section {
    padding: 100px 0;
    position: relative;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 0 20px;
}

.hero-bg,
.hero-bg-custom {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.hero-bg {
    opacity: 0.07;
}

.hero-bg-custom {
    opacity: 0.25;
    filter: sepia(0.2) contrast(1.1);
}

/* Low opacity custom background */

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.reveal-text {
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.4rem;
    font-size: 1rem;
    margin-bottom: 2rem;
    color: var(--e-gold);
    font-weight: 500;
}

.couple-names {
    font-family: var(--serif);
    font-size: clamp(3rem, 10vw, 7rem);
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: var(--e-text);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.couple-names span {
    display: block;
}

.couple-names .amp {
    opacity: 0.6;
    line-height: 1;
}

.event-brief {
    margin-top: 3rem;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.5;
}

/* Quote Section */
.quote-section {
    background-color: var(--e-dark);
    color: #fff;
    text-align: center;
    overflow: hidden;
}

.quote-section.has-parallax {
    background-color: #000;
}

.parallax-bg {
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 120%;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.quote-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

blockquote {
    font-family: var(--serif);
    font-size: 2.5rem;
    line-height: 1.4;
    font-style: italic;
    font-weight: 300;
}

/* Details Section */
.details-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 3rem;
}

.detail-card {
    background: #fff;
    padding: 4rem 3rem;
    text-align: center;
    border: 1px solid #f0e6d6;
    border-radius: 4px;
    flex: 1;
    min-width: 300px;
    max-width: 450px;
}

.detail-card h2 {
    font-family: var(--serif);
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--e-gold);
}

.gallery-section h2 {
    text-align: center;
    font-family: var(--serif);
    font-size: 2rem;
    color: var(--e-gold);
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-title {
    text-align: center;
    font-family: var(--serif);
    font-size: 3rem;
    color: var(--e-gold);
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.detail-card .time {
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 1rem;
}

.btn-map {
    display: inline-block;
    margin-top: 2rem;
    text-decoration: none;
    color: var(--e-gold);
    border: 1px solid var(--e-gold);
    padding: 0.6rem 2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.btn-map:hover {
    background: var(--e-gold);
    color: white;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.gallery-item {
    overflow: hidden;
    aspect-ratio: 4/5;
}

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

/* Music Control */
#music-control {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    z-index: 100;
}

.music-icon {
    font-size: 1.5rem;
    color: var(--e-gold);
}

@media (max-width: 768px) {
    .couple-names {
        font-size: 3.5rem;
    }

    .details-grid {
        grid-template-columns: 1fr;
    }

    blockquote {
        font-size: 1.5rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }
}