/* ===========================
   Elegant Sage Wedding Palette
=========================== */
:root {
    /* Primary Palette */
    --sage-deep: #556E5D;      /* navbar, footer, buttons */
    --sage: #7E9C8D;           /* accents, dividers */
    --sage-light: #EDF3EE;     /* hero & light sections */

    /* Neutrals */
    --ivory: #FFF9F4;          /* main background */
    --stone: #E2E6E1;          /* darker sections */

    /* Romantic Accents */
    --champagne: #E8D6C3;      /* hover, subtle highlights */
    --dusty-rose: #D7A7A1;     /* links, small decorative touches */

    /* Text */
    --text-dark: #3F4A44;
    --white: #ffffff;
}

/* ===========================
   Base Layout
=========================== */
html, body {
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--ivory);
    color: var(--text-dark);
    margin: 0;
    line-height: 1.65;
    animation: pageFade 0.6s ease-in;
}

@keyframes pageFade {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Headings */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    color: var(--sage-deep);
    font-weight: 700;
    letter-spacing: 1.8px;
}

/* ===========================
   Wedding Navbar
=========================== */
.wedding-nav {
    background-color: rgba(85, 110, 93, 0.95);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid rgba(255,255,255,0.15);
    padding: 1rem 0;
}

/* Brand */
.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: 2px;
    color: var(--white) !important;
}

/* Nav Links */
.wedding-nav .nav-link {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 1.2px;
    color: var(--white) !important;
    margin: 0 12px;
    padding: 0.5rem 0;
    opacity: 0.9;
    position: relative;
    transition: all 0.3s ease;
}

/* Hover Effects */
.wedding-nav .nav-link:hover {
    color: var(--champagne) !important;
}
.wedding-nav .nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0%;
    height: 2px;
    background: linear-gradient(to right, var(--champagne), var(--dusty-rose));
    transition: width 0.3s ease;
}
.wedding-nav .nav-link:hover::after {
    width: 100%;
}

/* Active Page */
.wedding-nav .nav-link.active {
    font-weight: 800;
    color: var(--champagne) !important;
}

/* Mobile */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: var(--sage-deep);
        padding: 20px;
        border-radius: 0 0 18px 18px;
    }

    .navbar-nav .nav-link {
        font-size: 1.1rem;
        color: var(--white) !important;
        margin: 8px 0;
    }
}

/* ===========================
   Hero Section
=========================== */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.85);
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(237, 243, 238, 0.65); /* sage-light tint */
    z-index: -1;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem;
    font-weight: 900;
    letter-spacing: 2px;
    color: var(--white);
    text-shadow: 0 4px 14px rgba(0,0,0,0.25);
}

.hero-section p {
    font-size: 1.6rem;
    color: var(--white);
    letter-spacing: 0.8px;
}

/* ===========================
   Countdown
=========================== */
.countdown {
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: 1.2px;
    color: var(--white);
}

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

.section-light {
    background-color: var(--sage-light);
    color: var(--text-dark);
}

.section-dark {
    background-color: var(--stone);
    color: var(--text-dark);
}

.section-light h2,
.section-dark h2 {
    color: var(--sage-deep);
}

/* Divider */
.divider {
    width: 80px;
    height: 3px;
    background-color: var(--sage);
    margin: 0 auto 32px;
    border-radius: 2px;
}

/* ===========================
   Buttons
=========================== */
.btn-primary {
    background-color: var(--sage-deep);
    color: var(--white);
    border-radius: 40px;
    padding: 0.9rem 2.4rem;
    border: none;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(45deg, var(--champagne), var(--dusty-rose));
    color: var(--sage-deep);
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

/* ===========================
   Decorative Frames
=========================== */
.cartoon-frame {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--white), var(--sage-light));
    border: 4px solid var(--stone);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 26px rgba(0,0,0,0.18);
}

.cartoon-frame img {
    width: 75%;
}

/* ===========================
   Footer
=========================== */
footer {
    background-color: var(--sage-deep);
    color: var(--white);
    padding: 28px 0;
    text-align: center;
    font-size: 0.95rem;
}

#big-day-message {
    text-align: center;
    animation: fadeIn 1.2s ease-in-out;
}

#big-day-message p {
    font-size: 1.6rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: #000;
}