.contact-wrapper {
    padding: 0 10%;
    text-align: center;
    margin-top: 20px;
}

h2 {
    text-align: center;
    margin-top: 90px;
    margin-bottom: 20px;
    font-size: 250%;
}

.contact-content {
    background-color: #f5f5f5;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: space-between;
    padding: 20px;
    margin-bottom: 100px;
}

.contact-form-section {
    width: 60%;
}

.contact-info {
    width: 40%;
    padding-left: 20px;
}


.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row input[type="date"],
.form-row input[type="number"],
.form-row textarea {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 96%; /* Los inputs ocupan casi la mitad de la fila */
}

.input-field, textarea, button {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-bottom: 10px;
}

.form-row textarea {
    width: 100%; /* Asegura que el textarea ocupe el 100% del contenedor .form-row */
}

.form-row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;  /* Asegura que los elementos pueden envolverse si es necesario */
    margin-top: 20px;
}

button {
    width: 100%;
    padding: 10px;
    background-color: var(--color_primary);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

button:hover {
    background-color: var(--color_secondary);
}

.floating-label {
    position: relative;
    width: 48%;  /* Ajusta el ancho para que dos etiquetas flotantes quepan en una fila */
    flex: 0 0 48%; /* Asegura que flexbox no cambie el ancho */
}

.floating-label input,
.floating-label select {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.floating-label label {
    position: absolute;
    left: 12px;
    top: 10px;
    color: #999;
    transition: all 0.3s ease;
    pointer-events: none;
}

.floating-label input:focus + label,
.floating-label input:not(:placeholder-shown) + label,
.floating-label select:focus + label,
.floating-label select:not(:placeholder-shown) + label {
    top: -10px;
    left: 10px;
    font-size: 12px;
    color: #666;
    background: white;
    padding: 0 5px;
}

.floating-label input:focus + label,
.floating-label select:focus + label {
    background: #fff;
}

.contact-info{
    padding-top: 20px;
}

.contact-info i{
    margin-bottom: 30px;
}

iframe {
    width: 100%;
    height: 300px;
    border: none;
    border-radius: 4px; /* Opcional para redondear las esquinas del iframe */
}

#bottom-reservation-form{
    display: flex;
}

#navbar{
    background-color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

#nav .navbar ul li a {
    color: black;
}

@media (max-width: 768px) {
    .contact-content {
        flex-direction: column;
        align-items: center;
    }

    .contact-form-section,
    .contact-info {
        width: 100%; /* Hace que ambos elementos ocupen el ancho completo */
        padding-left: 0;
        margin-bottom: 20px; /* Añade algo de espacio entre los elementos */
    }

    iframe {
        width: 100%; /* Asegura que el mapa se ajuste al ancho disponible */
        height: 200px; /* Ajusta la altura para móviles */
    }
}

/* Añade esto a tu archivo CSS o en una sección <style> en el HTML */
.button {
    background-color: var(--color_primary);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.button:hover {
    background-color: var(--color_secondary);
    color: white;
}
