/* styles.css */
body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    position: relative;
    min-height: 100vh;
}

.background-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -2;
}

.container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 50px 20px;
    text-align: center;
    color: white;
    z-index: 1;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(5px);
    text-align: center;
    color: #111;
}

h1 {
    font-family: 'Great Vibes', cursive;
    font-size: 3.5rem;
    margin-bottom: 20px;
}

h2 {
    font-family: 'Great Vibes', cursive;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

p {
    font-family: 'Great Vibes', cursive;
    font-size: 1.5rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 15px 0;
    z-index: 1000;
    text-align: center;
}

.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.nav-links li a {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links li a:hover {
    color: #d4a373;
}

.nav-links li a.active {
    color: #e4b169;
}

.event {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
}

.event img {
    max-width: 150px;
    margin-bottom: 20px;
}

.event h3 {
    font-family: 'Great Vibes', cursive;
    font-size: 2rem;
    margin-bottom: 10px;
}

.event p {
    font-size: 1.1rem;
    line-height: 1.6;
}

.countdown-container {
    position: relative;
    text-align: center;
    padding: 100px 20px 50px;
    color: white;
    font-size: 2rem;
    z-index: 1;
}

#countdown {
    font-family: 'Great Vibes', cursive;
    font-size: 2.5rem;
    font-weight: bold;
    margin: 30px 0;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.1);
    padding: 15px;
    border-radius: 30px;
    display: inline-block;
}

.rsvp-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.download-btn {
    padding: 10px 20px;
    font-family: 'Great Vibes', cursive;
    background-color: #d4a373;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.25s ease, transform 0.1s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.download-btn:hover {
    background-color: #b88f5c;
    transform: translateY(-1px);
}

.download-btn:focus {
    outline: 2px solid rgba(228, 177, 105, 0.25);
    outline-offset: 2px;
}

.download-container {
    width: 100%;
    align-items: center;
    margin-top: 30px;
    display: none;
}

.form-group {
    text-align: left;
    margin-right: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input[type="text"],
.form-group input[type="number"] {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: none;
}

.radio-group {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 5px;
}

.submit-btn {
    background-color: #d4a373;
    color: white;
    border: none;
    padding: 12px 20px;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 10px;
}

.submit-btn:hover {
    background-color: #b88f5c;
}

.slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.guests-table {
    display: none;
    border-collapse: collapse;
    width: 100%;
    table-layout:fixed;
    max-width: 1000px;
    margin: 18px auto;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

.guests-table th,
.guests-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

.guests-table th {
    background: #f8f8f8;
    font-weight: 600;
}

.guests-table tbody tr:nth-child(even) {
    background: #fafafa;
}

.access {
    margin-top: 100px;
}