:root {
    --bg-dark: #120a16; 
    --glass: rgba(31, 20, 37, 0.6); 
    --accent: #d4af37; /* Gold */
    --maroon: #800020; /* Burgundy */
    --lavender: #e6e6fa; /* Soft Lavender */
    --text: #f5f5f5;
    --spacing: clamp(2rem, 5vw, 6rem);
}

/* Base Styles */
body {
    background-color: var(--bg-dark);
    color: var(--text);
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    line-height: 1.8;
}

main {
    padding-inline: 1em;
}

/* Magazine-style Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(18, 10, 22, 0.5), rgba(18, 10, 22, 0.5)), 
                url('./photos/engagement01.jpg') center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero h1 {
    font-family: 'Cinzel', serif;
    font-size: clamp(3.5rem, 12vw, 7rem);
    margin: 0.5rem 0;
}

.hero .amp { font-size: 0.7em; opacity: 0.8; }
.hero-sub { letter-spacing: 0.5rem; color: var(--accent); font-weight: 600; }
.hero-date { font-size: 1.2rem; letter-spacing: 3px; border-top: 1px solid var(--accent); padding-top: 1rem; }

/* Sticky Navigation */
nav {
    background: rgba(18, 10, 22, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    display: flex;
    justify-content: center;
    padding: 1.5rem;
    gap: 3rem;
    z-index: 1000;
}

nav a { color: var(--text); text-decoration: none; font-size: 0.8rem; letter-spacing: 2px; text-transform: uppercase; font-weight: 600; transition: 0.3s; }
nav a:hover { color: var(--accent); }

/* Editorial Grid Layout */
.editorial-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing);
    align-items: center;
    margin-bottom: var(--spacing);
}

.editorial-row.reverse { direction: rtl; }
.editorial-row.reverse .text-block { direction: ltr; }

.image-block img {
    width: 100%;
    border-radius: 4px;
    box-shadow: 10px 10px 0px var(--maroon); /* Modern shadow detail */
}

iframe {
    border-radius: 4px;
}

/* Glassmorphism Sections */
.glass-card {
    background: var(--glass);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 4rem;
    border-radius: 8px;
    margin-bottom: var(--spacing);
    text-align: center;
}

h2 { font-family: 'Cinzel', serif; font-size: 2.5rem; margin-bottom: 2rem; color: var(--lavender); }

/* Button Styles */
button {
    font-family: 'Montserrat', sans-serif;
    padding: 1.2rem 3rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    cursor: pointer;
    transition: 0.4s;
    border-radius: 0; /* Squared edges for editorial look */
}

footer {
    text-align: center;
}

.celebration-text {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    font-weight: 300;
}

.timing-hint {
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    padding-top: 2rem;
    display: inline-block;
}

.timing-hint p {
    margin: 0.5rem 0;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
    color: var(--accent);
}

.timer-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    padding: 2rem;
    background: var(--glass);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.timer-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
}

.timer-number {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    color: var(--accent);
    line-height: 1;
}

.timer-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--lavender);
    margin-top: 0.5rem;
}

@media (max-width: 600px) {
    .timer-container { gap: 1rem; padding: 1rem; }
    .timer-number { font-size: 1.8rem; }
    .timer-box { min-width: 60px; }
}

.outline-btn { background: transparent; color: var(--accent); border: 1px solid var(--accent); }
.filled-btn { background: var(--accent); color: var(--bg-dark); border: none; }

button:hover { letter-spacing: 4px; filter: brightness(1.2); }

/* Mobile Optimization */
@media (max-width: 768px) {
    .editorial-row { grid-template-columns: 1fr; }
    
    nav { gap: 1rem; font-size: 0.7rem; }

    /* Stacking Names Vertically on Mobile */
    .hero h1 span {
        display: block;
        width: 100%;
    }

    .hero .amp {
        font-size: 0.5em;
        margin: 0.2rem 0;
    }

    .hero h1 {
        line-height: 1.1;
        font-size: 3.5rem;
    }
}