@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500&family=Parisienne&display=swap');

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}
body { 
    font-family: 'Cormorant Garamond', serif; 
    line-height: 1.8; 
    color: #333; 
    background: #F5F5F0; 
    min-height: 100vh; 
    position: relative; 
    padding-bottom: 60px; 
}
h1, h2, h3, h4 { 
    font-family: 'Parisienne', cursive; 
    color: #2E2E2E; 
    letter-spacing: 1px; 
    position: relative; 
    display: inline-block; 
}
h1::after, h2::after, h3::after, h4::after { 
    /* content: url('../img/logo.png'); */
    /* Placeholder: Add your logo image here */
    position: absolute; 
    top: 50%; 
    right: -20px; 
    transform: translateY(-50%); 
    width: 15px;
    height: 15px; 
}
h1 { font-size: 3.5em; }
h2 { font-size: 2.5em; }
h3 { font-size: 1.8em; }
h4 { font-size: 1.5em; }
.section-padding { 
    padding: 100px 0; 
    margin-top: 80px; 
    position: relative; 
    background: linear-gradient(to bottom, rgba(26, 60, 21, 0.05), rgba(255, 255, 247, 0.05)); 
    border-top: 1px solid rgba(26, 60, 21, 0.3); 
    border-bottom: 1px solid rgba(26, 60, 21, 0.3); 
}
.section-padding::before,
.section-padding::after {
    /* content: url('../img/logo.png'); */
    /* Placeholder: Add your logo image here */
    position: absolute;
    opacity: 0.3; 
    width: 30px;
    height: 30px; 
}
.section-padding::before {
    top: 20px;
    left: 20px;
}
.section-padding::after {
    bottom: 20px;
    right: 20px;
}
.custom-nav { 
    background: #F5F5F0; 
    position: fixed; 
    top: 0; 
    left: 0; 
    right: 0; 
    width: 100%; 
    z-index: 1000; 
    padding: 10px 0; 
    box-shadow: 0 2px 10px rgba(26, 60, 21, 0.2); 
}
.custom-nav .container { 
    display: flex; 
    align-items: center; 
    justify-content: center; /* Center the navbar content */
    padding: 0 20px; 
    max-width: 1200px; 
    width: 100%;
    flex-wrap: nowrap; /* Prevent wrapping */
}
.nav-menu { 
    list-style: none; 
    display: flex; 
    align-items: center; 
    margin: 0; 
    padding: 0;
    flex-wrap: nowrap;
}
.nav-menu.active {
    max-height: 500px;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
}
.nav-menu li { 
    margin: 8px 10px; /* Reduced margin to remove split space */
    width: auto;
    text-align: center;
    line-height: 1;
}
.nav-menu a { 
    text-decoration: none; 
    color: #333333; 
    font-family: 'Parisienne', cursive; 
    font-size: 2em; 
    font-weight: 400; 
    text-transform: capitalize; 
    transition: color 0.4s ease-in-out, transform 0.4s ease-in-out, letter-spacing 0.4s ease-in-out; 
    position: relative; 
    display: block;
    padding: 0 5px; /* Minimal padding to avoid extra space */
}
.nav-menu a:hover { 
    color: #1A3C15; 
    transform: translateY(-2px); 
    letter-spacing: 1.2px; 
}
.nav-menu a::after { 
    content: ''; 
    position: absolute; 
    width: 0; 
    height: 1px; 
    background: #1A3C15; 
    bottom: -2px; 
    left: 0; 
    transition: width 0.4s ease-in-out; 
}
.nav-menu a:hover::after { 
    width: 100%; 
}
.nav-menu .nav-rsvp { 
    background: #1A3C15; 
    color: #FFFFFF !important; 
    font-family: 'Parisienne', cursive; 
    font-size: 2em; 
    text-transform: capitalize; 
    transition: background 0.4s ease-in-out, transform 0.4s ease-in-out, letter-spacing 0.4s ease-in-out; 
    padding: 5px 15px; 
    border-radius: 50%; 
}
.nav-menu .nav-rsvp:hover { 
    background: #123010; 
    color: #F5F5F0; 
    letter-spacing: 1.2px; 
    transform: translateY(-2px); 
}
.nav-menu .nav-logo { 
    font-family: 'Parisienne', cursive; 
    font-size: 3.1em; 
    color: #333333; 
    position: relative; 
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    text-shadow: 1px 1px 2px rgba(26, 60, 21, 0.3); 
    width: auto;
    margin: 0 15px;
    line-height: 1;
    white-space: nowrap;
}
.nav-menu .nav-logo::before { 
    /* content: url('../img/logo.png'); */
    /* Placeholder: Add your logo image here */
    margin-right: 5px; 
    width: 20px;
    height: 20px; 
}
.nav-menu .nav-logo::after { 
    /* content: url('../img/logo.png'); */
    /* Placeholder: Add your logo image here */
    margin-left: 5px; 
    width: 20px;
    height: 20px; 
}
.nav-toggle { 
    display: none; 
    background: none; 
    border: none; 
    font-size: 1.5em; 
    color: #333333; 
    cursor: pointer; 
    position: absolute; 
    right: 20px; 
}
.hero { 
    background: url('../img/hero.jpg') no-repeat center/cover fixed; 
    background-image: url('../img/placeholder.jpg'); 
    height: 100vh; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    position: relative; 
    margin-top: 80px; 
}
.hero::before { 
    content: ''; 
    position: absolute; 
    top: 0; 
    left: 0; 
    right: 0; 
    bottom: 0; 
    background: linear-gradient(to bottom, rgba(26, 60, 21, 0.4), rgba(26, 60, 21, 0.6)); 
    z-index: 1; 
}
.hero .container { 
    position: relative; 
    z-index: 2; 
    text-align: center; 
    color: white; 
}
.hero img { 
    max-width: 400px; 
    width: 100%; 
    height: auto; 
    margin-bottom: 20px; 
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3)); 
}
.hero h1 { 
    font-size: 4.5em; 
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5); 
}
.hero p.lead { 
    font-size: 1.8em; 
    margin-bottom: 40px; 
}
.btn-custom { 
    background: #1A3C15; 
    color: white; 
    border: none; 
    padding: 15px 35px; 
    font-size: 1.3em; 
    border-radius: 30px; 
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease; 
}
.btn-custom:hover { 
    background: #123010; 
    transform: scale(1.05); 
    box-shadow: 0 4px 15px rgba(26, 60, 21, 0.5); 
}
.welcome-section {
    background: url('../img/welcome.jpg') no-repeat center/cover;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    bottom: 0;
    height: calc(100vh - 60px);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
    margin-bottom: 0;
    background-size: 100% 100%;
    background-position: center;
}
.welcome-section h2 {
    color: #FFFFFF;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.7);
}
.welcome-section p {
    color: #FFFFFF;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
}
.welcome-section .signature {
    color: #FFFFFF;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
    font-family: 'Parisienne', cursive;
    font-size: 2em;
    margin: 20px 0;
}
.countdown-timer {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 20px;
    font-family: 'Cormorant Garamond', serif;
}
.timer-box {
    background: rgba(26, 60, 21, 0.9);
    padding: 15px 20px;
    border-radius: 50%;
    text-align: center;
    min-width: 80px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.timer-box:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 10px rgba(26, 60, 21, 0.5);
}
.timer-box span {
    display: block;
    font-size: 2em;
    font-weight: 500;
    color: #F5F5F0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
}
.timer-box label {
    font-size: 1em;
    color: #F5F5F0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
}
section .container {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}
section .row {
    justify-content: center;
}
section .col-md-6 {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
section h2, section h3 {
    margin-bottom: 20px;
}
section p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.2em;
    color: #4A4A4A;
}
section .lead {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.5em;
}
.accordion-item {
    border: none;
    border-bottom: 1px solid #1A3C15;
    background: transparent;
    margin-bottom: 15px;
}
.accordion-button {
    background: transparent;
    color: #2E2E2E;
    font-family: 'Parisienne', cursive;
    font-size: 1.4em;
    font-weight: 400;
    padding: 20px;
    border: none;
    box-shadow: none;
    transition: color 0.3s ease;
}
.accordion-button:hover {
    color: #1A3C15;
}
.accordion-button:not(.collapsed) {
    color: #1A3C15;
    background: transparent;
    box-shadow: none;
}
.accordion-button::after {
    font-family: 'Font Awesome 5 Free';
    content: '\f078';
    font-weight: 900;
    background-image: none;
    color: #1A3C15;
    transition: transform 0.3s ease;
}
.accordion-button:not(.collapsed)::after {
    transform: rotate(180deg);
}
.accordion-body {
    font-family: 'Cormorant Garamond', serif;
    color: #333;
    font-size: 1.2em;
    padding: 25px;
    background: rgba(26, 60, 21, 0.1);
    border-radius: 0 0 10px 10px;
}
.accordion-body a {
    color: #1A3C15;
    text-decoration: none;
    transition: color 0.3s ease;
}
.accordion-body a:hover {
    color: #123010;
    text-decoration: underline;
}
footer { 
    background: #F5F5F0; 
    color: #333; 
    padding: 10px 0; 
    position: fixed; 
    bottom: 0; 
    width: 100%; 
    z-index: 1000; 
    text-align: center; 
    height: 40px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
}
footer p { 
    font-size: 1em; 
    margin: 0; 
    position: relative; 
    line-height: 1; 
}
footer p::before { 
    /* content: url('../img/logo.png'); */
    /* Placeholder: Add your logo image here */
    margin-right: 5px; 
    width: 12px;
    height: 12px; 
}
footer p::after { 
    /* content: url('../img/logo.png'); */
    /* Placeholder: Add your logo image here */
    margin-left: 5px; 
    width: 12px;
    height: 12px; 
}
footer .fa-heart { 
    display: none; 
}
footer .to-top { 
    color: #333; 
    font-size: 1.2em; 
    text-decoration: none; 
    position: absolute; 
    right: 20px; 
    top: 50%; 
    transform: translateY(-50%); 
    transition: transform 0.3s ease, color 0.3s ease; 
}
footer .to-top:hover { 
    transform: translateY(-55%); 
    color: #1A3C15; 
}
#rsvp-form .input-group-text { 
    background: #F5F5F0; 
    color: #333; 
}
#rsvp-form .form-control { 
    border-radius: 10px; 
    border: 1px solid #1A3C15; 
    font-size: 1.1em; 
}
#rsvp-form .form-control:focus { 
    border-color: #123010; 
    box-shadow: 0 0 5px rgba(26, 60, 21, 0.5); 
}
#rsvp-message .alert { 
    border-radius: 10px; 
    margin-top: 20px; 
    background: rgba(26, 60, 21, 0.2); 
    border: 1px solid #1A3C15; 
}
@media (max-width: 768px) {
    .nav-menu { 
        display: block; 
        position: absolute; 
        top: 60px; 
        left: 0; 
        right: 0; 
        background: #F5F5F0; 
        box-shadow: 0 4px 10px rgba(26, 60, 21, 0.2); 
        padding: 0; 
        max-height: 0; 
        overflow: hidden; 
        transition: max-height 0.3s ease; 
    }
    .nav-menu.active { 
        max-height: 500px; 
    }
    .nav-menu li { 
        margin: 8px 0; 
        text-align: center;
    }
    .nav-menu .nav-logo { 
        margin: 8px 0; 
        text-align: center;
        display: inline-flex;
        white-space: nowrap;
    }
    .nav-toggle { 
        display: block; 
    }
    .hero { 
        height: 80vh; 
    }
    .hero img { 
        max-width: 250px; 
    }
    .hero h1 { 
        font-size: 3em; 
    }
    .hero p.lead { 
        font-size: 1.4em; 
    }
    h2 { 
        font-size: 2em; 
    }
    .accordion-button {
        font-size: 1.2em;
        padding: 15px;
    }
    .accordion-body {
        font-size: 1.1em;
        padding: 20px;
    }
    .countdown-timer {
        gap: 15px;
    }
    .timer-box {
        padding: 10px 15px;
        min-width: 60px;
    }
    .timer-box span {
        font-size: 1.5em;
    }
    .timer-box label {
        font-size: 0.9em;
    }
    .welcome-section {
        background-size: cover;
        background-position: center; /* Center the background image */
    }
}
@media (max-width: 576px) {
    .custom-nav .container { 
        padding: 0 15px; 
    }
    .nav-menu a { 
        font-size: 1em; 
    }
    .nav-menu .nav-rsvp { 
        font-size: 1em; 
        padding: 5px 10px; 
    }
    .nav-toggle { 
        font-size: 1.3em; 
    }
    .hero img { 
        max-width: 200px; 
    }
    .hero h1 { 
        font-size: 2.5em; 
    }
    .hero p.lead { 
        font-size: 1.2em; 
    }
    .accordion-button {
        font-size: 1.1em;
    }
    .countdown-timer {
        gap: 10px;
    }
    .timer-box {
        padding: 8px 12px;
        min-width: 50px;
    }
    .timer-box span {
        font-size: 1.2em;
    }
    .timer-box label {
        font-size: 0.8em;
    }
}