body {
    margin: 0;
    font-family: 'Monserrat', sans-serif;
    color: #333;
    text-align: center;
    position: relative;
    overflow-x: hidden;
}

.main-container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.header {
    position: relative;
    height: 100vh;
    background-image: url('Imagenes/photo1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    z-index: 2;
    width: 60%;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('Imagenes/Marco 3.png') no-repeat center center;
    background-size: cover;
    z-index: -1;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    z-index: 3;
}

.content {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
}

.main-content {
    position: relative;
    z-index: 5;
    padding: 20px 30%;
    box-sizing: border-box;
}

h1 {
    margin: 0;
    font-size: 5rem;
    font-weight: normal;
    font-family: 'Great Vibes', cursive;
}

h2 {
    margin: 0;
    font-size: 4rem;
    font-weight: normal;
    font-family: 'Great Vibes', cursive;
}

h3 {
    margin: 0;
    font-size: 2.5rem;
    font-weight: normal;
}

nav {
    position: absolute;
    top: 20px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 2rem;
    color: white;
}

/* Ajuste para la sección de invitación */
.invitation {
    padding: 20px;
    background-color: white;
    color: #333;
    margin-top: 50px;
}

.invitation h1 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.invitation h2 {
    font-size: 2.5rem;
    color: #DAA520;
}

.countdown {
    position: relative;
    width: 100%;
    height: 50vh;
    background-position: center;
    color: rgb(0, 0, 0);
    z-index: 6;
}

.countdown::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(97, 2, 2, 0);
    z-index: 7;
}

.countdown-content {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    z-index: 8;
}

.countdown h1 {
    margin: 0;
    font-size: 3rem;
    font-weight: normal;
    font-family: 'Great Vibes', cursive;
    color: #DAA520;
}

.countdown h3 {
    margin: 10px 0;
    font-size: 1.5rem;
}

.timer {
    display: flex;
    justify-content: center;
    font-size: 1.5rem;
}

.timer div {
    margin: 0 10px;
}

.event-info {
    padding: 20px;
    background-color: white;
    color: #333;
    text-align: center;
}

.event-info h1 {
    font-size: 2.5rem;
    color: #DAA520;
    font-family: 'Great Vibes', cursive;
}

.event-info p {
    font-size: 1.2rem;
}

.event-cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.event-card {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin: 10px;
    padding: 20px;
    width: 300px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.event-card h2 {
    font-size: 1.8rem;
    color: #DAA520;
    font-family: 'Great Vibes', cursive;
}

.event-card p {
    font-size: 1rem;
    color: #666;
}

.map-button {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    background-color: #DAA520;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.map-button:hover {
    background-color: #b18e17;
}

.gifts {
    padding: 20px;
    background-color: #f4e3e3;
    color: #333;
    text-align: center;
}

.gifts h1 {
    font-size: 2.5rem;
    color: #DAA520;
    font-family: 'Great Vibes', cursive;
}

.gifts p {
    font-size: 1.2rem;
}

.lodging {
    padding: 20px;
    background-color: #d3a475;
    color: #333;
    text-align: center;
}

.lodging h1 {
    font-size: 2.5rem;
    color: white;
    font-family: 'Great Vibes', cursive;
}

.lodging p {
    font-size: 1.2rem;
    color: white;
}

.gallery {
    padding: 20px;
    background-color: white;
    color: #333;
    text-align: center;
}

.gallery h1 {
    font-size: 2.5rem;
    color: #DAA520;
    font-family: 'Great Vibes', cursive;
}

.gallery p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.gallery-images {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.gallery-images img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.footer {
    padding: 20px;
    background-color: rgba(255, 255, 255, 0);
    color: #333;
    text-align: center;
}

.footer p {
    font-size: 1rem;
    margin: 0;
}

.social-icons {
    margin-top: 10px;
}

.social-icons a {
    color: #d3a475;
    text-decoration: none;
    margin: 0 10px;
    font-size: 1.5rem;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: #b18e17;
}

.confirmation {
    padding: 40px;
    background-color: #ffffff;
    color: #333;
    text-align: center;
}

.confirmation h2 {
    color: #DAA520;
    font-size: 2.5rem;
}

.container {
    background: #fff;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    max-width: 500px;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.container:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

label {
    font-size: 1rem;
    color: #4a4a4a;
    text-align: left;
    margin-bottom: 5px;
    width: 100%;
    max-width: 400px;
}

.input-container {
    width: 100%;
    max-width: 400px;
    position: relative;
}

input[type="number"], input[type="text"] {
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input[type="number"]:focus, input[type="text"]:focus {
    border-color: #e1a442;
    box-shadow: 0 0 5px rgba(225, 164, 66, 0.5);
    outline: none;
}

.suggestions-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 150px;
    overflow-y: auto;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: white;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

.suggestions-list li {
    padding: 10px;
    cursor: pointer;
    transition: background 0.3s ease;
    font-size: 1rem;
}

.suggestions-list li:hover {
    background: #f0f0f0;
}

.radio-group {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    max-width: 400px;
    justify-content: flex-start;
}

.radio-group input {
    margin-right: 10px;
}

button {
    padding: 15px 20px;
    font-size: 1rem;
    color: white;
    background-color: #e1a442;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
    max-width: 400px;
    box-sizing: border-box;
}

button:hover {
    background-color: #c18a2a;
}

/* Ajustes para pantallas pequeñas */
@media (max-width: 768px) {
    body::before {
        background: url('Imagenes/Marco 3V.png') no-repeat center center;
        background-size: cover;
    }

    .header {
        width: 60%;
        padding: 0;
    }

    .header h2 {
        font-size: 2rem;
    }

    .main-content {
        width: 70%;
        padding: 100px 0;
        box-sizing: border-box;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1rem;
    }

    .invitation, .confirmation, .event-info {
        padding: 0;
        background-color: rgba(255, 255, 255, 0);
        color: #333;
        margin-top: 50px;
    }

    .invitation h1 {
        font-size: 1.4rem;
    }

    .countdown h3 {
        font-size: 1rem;
    }

    .timer {
        font-size: 0.7rem;
    }
}
