@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Manrope:wght@300;400;500;600;700&display=swap');

:root {
    --wine: #653031;
    --olive: #3B6230;
    --bg: #f7f3ef;
    --card: rgba(255,255,255,0.85);
    --shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* RESET */

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

body {
    font-family: 'Manrope', sans-serif;
    background: var(--bg);
    color: #2b2b2b;
    line-height: 1.7;
}

/* HERO */

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

    background:
        linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45)),
        url('https://images.unsplash.com/photo-1519741497674-611481863552?q=80&w=2200&auto=format&fit=crop');
    background-size: cover;
    background-position: center;

    color: white;
    padding: 20px;
}

.overlay h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 5rem;
    margin-bottom: 10px;
}

.subtitle {
    font-weight: 300;
    margin-bottom: 20px;
}

.event-info p {
    margin: 5px 0;
}

/* BUTTONS */

.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 999px;
    background: var(--wine);
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

.btn:hover {
    background: var(--olive);
    transform: translateY(-3px);
}

.secondary-btn {
    background: var(--wine);
    border: none;
    color: white;
}

.secondary-btn:hover {
    background: var(--olive);
    transform: translateY(-3px);
}

/* SECTIONS */

.section {
    padding: 90px 20px;
    max-width: 1100px;
    margin: auto;
}

.section h2 {
    text-align: center;
    font-family: 'Cormorant Garamond', serif;
    color: var(--wine);
    margin-bottom: 40px;
    font-size: 2.5rem;
}

/* INFO BOX */

.info-box {
    background: var(--card);
    padding: 35px;
    border-radius: 18px;
    box-shadow: var(--shadow);
}

.info-box h3 {
    font-family: 'Cormorant Garamond', serif;
    color: var(--wine);
    margin-bottom: 15px;
}

.info-box p {
    margin-bottom: 14px;
    line-height: 1.8;
}

/* CARD GRID */

.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

/* CARD */

.card {
    background: var(--card);
    padding: 30px;
    border-radius: 18px;
    box-shadow: var(--shadow);
    text-align: center;
}

/* LINKS */

.card a {
    display: inline-block;
    margin-top: 10px;
    color: var(--olive);
    font-weight: 600;
    text-decoration: none;
}

/* REGISTRY BUTTONS */

.button-group {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 25px;
}

/* COUNTDOWN */

#timer {
    text-align: center;
    font-size: 3rem;
    font-family: 'Cormorant Garamond', serif;
    color: var(--wine);
}

/* FOOTER */

footer {
    background: var(--wine);
    color: white;
    text-align: center;
    padding: 40px;
    margin-top: 60px;
}

/* ========================= */
/* DIRECTIONS 2-COLUMN FIX   */
/* ========================= */

.directions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
}

.directions h2 {
    grid-column: 1 / -1;
}

.directions .info-box {
    margin: 0;
}

/* MOBILE */

@media (max-width: 768px) {

    .overlay h1 {
        font-size: 3rem;
    }

    .section {
        padding: 70px 15px;
    }

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