/* Reset default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background-color: #f9f5f0;
    color: #4a5e4d;
}

/* Top Navigation Bar */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background: #4a5e4d;
    color: white;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

.menu-button {
    font-size: 24px;
    cursor: pointer;
    background: none;
    border: none;
    color: white;
    margin-left: 10px;
    text-align: left;
}

.login-link {
    text-decoration: none;
    color: white;
    font-weight: bold;
    margin-right: 10px;
}

/* Sidebar Navigation */
.sidebar {
    width: 250px;
    height: 100vh;
    background-color: #e8d8d8;
    position: fixed;
    top: 0;
    left: -250px; /* Hide menu by default */
    padding: 2rem 1rem;
    transition: left 0.3s ease-in-out;
    z-index: 999;
}

/* When menu is toggled open */
.sidebar.show {
    left: 0 !important;
}

/* Sidebar Links */
.sidebar ul {
    list-style: none;
}

.sidebar li {
    margin: 1.5rem 0;
}

.sidebar a {
    text-decoration: none;
    color: #4a5e4d;
    font-weight: bold;
    display: block;
    padding: 0.5rem;
    transition: all 0.3s ease;
}

.sidebar a:hover {
    color: #a68b8b;
    transform: translateX(10px);
}

/* Mobile Sidebar Fix */
@media screen and (max-width: 768px) {
    .sidebar {
        width: 80%;
        height: 100vh;
        background-color: rgba(232, 216, 216, 0.95);
        text-align: center;
    }
}

/* Intro Section with Countdown */
#intro {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: #e8d8d8;
    padding: 2rem;
}

#intro h1 {
    font-family: 'Great Vibes', cursive;
    font-size: 4rem;
    color: #4a5e4d;
    margin-bottom: 1rem;
}

.wedding-dates {
    font-family: 'Great Vibes', cursive;
    font-size: 2.5rem;
    color: #4a5e4d;
    margin-bottom: 1rem;
}

.countdown-timer {
    font-size: 1.5rem;
    color: #a68b8b;
    font-weight: bold;
    margin-bottom: 1rem;
}

/* Main Content */
.content {
    margin-left: 270px;
    padding: 2rem;
}

@media screen and (max-width: 768px) {
    .content {
        margin-left: 0;
        padding: 1rem;
        text-align: center;
    }
}

section {
    max-width: 800px;
    margin: 0 auto 2rem auto;
}

h2 {
    color: #a68b8b;
    margin-bottom: 1rem;
}

h3 {
    margin-top: 1rem;
    color: #4a5e4d;
}

ul {
    list-style: square;
    margin-left: 2rem;
}

a {
    color: #4a5e4d;
}

a:hover {
    color: #a68b8b;
}

/* RSVP Form */
form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto;
}

input, button {
    padding: 0.5rem;
    font-size: 1rem;
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 5px;
}

button {
    background-color: #4a5e4d;
    color: #f9f5f0;
    border: none;
    cursor: pointer;
}

button:hover {
    background-color: #a68b8b;
}

@media screen and (max-width: 768px) {
    form {
        max-width: 100%;
        padding: 1rem;
    }
    input, button {
        font-size: 16px;
    }
}

/* Footer */
footer {
    text-align: center;
    padding: 1rem;
    background-color: #e8d8d8;
}



