/* =========================================
HERO RESERVAS
========================================= */

.reservas-hero {
position: relative;
height: 60vh;
overflow: hidden;
}

.reservas-hero-image {
width: 100%;
height: 100%;
object-fit: cover;
}

.reservas-overlay {
position: absolute;
inset: 0;
background: rgba(0, 0, 0, 0.55);
}

.reservas-hero-content {
position: absolute;
inset: 0;

display: flex;
flex-direction: column;
justify-content: center;
align-items: center;

color: white;
text-align: center;
}

.reservas-hero-content h1 {
font-family: "Cormorant Garamond", serif;
font-size: 4rem;
}


/* =========================================
SECCIÓN RESERVAS
========================================= */

.reservas-section {
padding: 20px 60px 80px;
background: #fafafa;
}


/* =========================================
TARJETA RESERVA
========================================= */

.reserva-card {
position: relative;

max-width: 1100px;

margin-top: -80px;
margin-left: auto;
margin-right: auto;

background: white;

border-radius: 20px;

padding: 30px 40px 40px;

box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}


/* =========================================
CABECERA FORMULARIO
========================================= */

.reserva-header {
text-align: center;
margin-bottom: 25px;
}

.reserva-header h2 {
font-family: "Cormorant Garamond", serif;

font-size: 2.2rem;

color: #222;

margin-bottom: 5px;
}

.reserva-header p {
color: #666;

font-size: 1rem;

margin-bottom: 0;
}


/* =========================================
LABELS
========================================= */

.reserva-card label {
display: block;

font-family: "Inter", sans-serif;

font-size: 14px;
font-weight: 600;

color: #444;

margin-bottom: 8px;
}


/* =========================================
CAMPOS
========================================= */

.reserva-card .form-control {
width: 100%;

min-height: 52px;

border-radius: 12px;

border: 1px solid #dcdcdc;

padding: 12px 15px;

font-family: "Inter", sans-serif;

font-size: 16px;
}

.reserva-card .form-control:focus {
border-color: #b71c1c;

box-shadow: 0 0 0 0.15rem rgba(183, 28, 28, 0.15);
}


/* =========================================
BOTÓN RESERVAR
========================================= */

.btn-reservar {
border: none;

background: #b71c1c;

color: white;

padding: 14px 40px;

border-radius: 50px;

font-weight: 600;

font-size: 16px;
}


/* =========================================
MÓVIL
========================================= */

@media (max-width: 768px) {

/* HERO */

.reservas-hero {
height: 45vh;
}

.reservas-hero-content {
padding-left: 20px;
padding-right: 20px;
}

.reservas-hero-content h1 {
font-size: 3rem;
}


/* SECCIÓN */

.reservas-section {
padding: 0 14px 50px;

background: #fff;
}


/*
Quitamos el padding lateral que Bootstrap
añade al container para ganar más espacio.
*/

.reservas-section .container {
max-width: 100%;

padding-left: 0;
padding-right: 0;
}


/* TARJETA */

.reserva-card {
width: 100%;

max-width: none;

margin-top: -25px;
margin-left: 0;
margin-right: 0;

/*
Eliminamos visualmente la tarjeta
*/

background: white;

border-radius: 0;

box-shadow: none;

/*
Sin padding lateral.
El margen lo controla reservas-section.
*/

padding: 28px 0 40px;
}


/* CABECERA */

.reserva-header {
margin-bottom: 30px;

padding-left: 5px;
padding-right: 5px;
}

.reserva-header h2 {
font-size: 2.6rem;

line-height: 1;

margin-bottom: 12px;
}

.reserva-header p {
font-size: 17px;

line-height: 1.5;
}

/* LABELS */

.reserva-card label {
font-size: 18px;
font-weight: 600;
margin-bottom: 10px;
}


/* CAMPOS */

.reserva-card .form-control {
min-height: 56px;

font-size: 19px;

padding: 15px 17px;

border-radius: 12px;
}


/* TEXTAREA */

.reserva-card textarea.form-control {
min-height: 120px;
font-size: 19px;
}


/*
En móvil las columnas Bootstrap pasan
una debajo de otra.

Damos separación entre cada campo.
*/

.reserva-card .row > [class*="col-"] {
margin-bottom: 24px;
}


/*
Eliminamos los mt-3 y mb-4 de Bootstrap
para controlar nosotros el espaciado.
*/

.reserva-card .row {
margin-top: 0 !important;
margin-bottom: 0 !important;
}


/* BOTÓN */

.btn-reservar {
width: 100%;

min-height: 56px;

font-size: 17px;

padding: 14px 20px;

border-radius: 12px;
}

}


/* =========================================
MÓVILES PEQUEÑOS
========================================= */

@media (max-width: 400px) {

.reservas-section {
padding-left: 12px;
padding-right: 12px;
}

.reserva-header h2 {
font-size: 2.35rem;
}

.reserva-header p {
font-size: 16px;
}

.reserva-card label {
font-size: 15px;
}

.reserva-card .form-control {
font-size: 16px;
}

}


/* =========================================
CONSENTIMIENTOS RESERVA
========================================= */

.consentimientos-reserva {
padding: 20px;

background: #f8f8f8;

border-radius: 12px;

font-family: "Inter", sans-serif;
}

.consentimientos-reserva .form-check {
display: flex;

align-items: flex-start;

gap: 10px;

padding-left: 0;
}

.consentimientos-reserva .form-check-input {
flex-shrink: 0;

width: 20px;
height: 20px;

margin: 2px 0 0 0;

cursor: pointer;
}

.consentimientos-reserva .form-check-label {
font-size: 14px;

font-weight: 400;

line-height: 1.5;

color: #444;

margin: 0;

cursor: pointer;
}

.enlace-politica {
color: #b71c1c;

font-weight: 600;

text-decoration: underline;
}

.enlace-politica:hover {
color: #7f0000;
}


/* =========================================
CONSENTIMIENTOS MÓVIL
========================================= */

@media (max-width: 768px) {

.consentimientos-reserva {
padding: 18px 15px;

margin-top: 10px !important;
}

.consentimientos-reserva .form-check {
gap: 12px;
}

.consentimientos-reserva .form-check-input {
width: 22px;
height: 22px;
}

.consentimientos-reserva .form-check-label {
font-size: 16px;

line-height: 1.5;
}

}

.btn-volver{
border-radius:50px;
padding:14px 35px;
font-weight:600;
font-size:1rem;
}

/*==================================================
TARJETAS RESTAURANTES
==================================================*/

.restaurante-card{

position:relative;

cursor:pointer;

border:2px solid #e6e6e6;

border-radius:18px;

overflow:hidden;

background:#fff;

transition:.35s;

height:100%;

}

.restaurante-card:hover{

transform:translateY(-8px);

box-shadow:0 18px 45px rgba(0,0,0,.15);

}

.restaurante-card.selected{

border:3px solid #B71C1C;

box-shadow:0 18px 45px rgba(183,28,28,.18);

}

.restaurante-card img{

width:100%;

height:160px;

object-fit:cover;

display:block;

}

.restaurante-card:hover img{

transform:scale(1.08);

}

.restaurante-card .card-body{

padding:22px;

color:#222;

}

.restaurante-card .card-body h5{

color:#111;

font-size:22px;

font-weight:700;

margin-bottom:12px;

}

.restaurante-card .card-body p{

color:#555;

margin-bottom:8px;

font-size:15px;

}

.check-restaurante{

position:absolute;

top:15px;

right:15px;

width:34px;

height:34px;

border-radius:50%;

background:#B71C1C;

color:#fff;

display:flex;

justify-content:center;

align-items:center;

font-size:18px;

opacity:0;

transition:.3s;

z-index:100;

}

.restaurante-card.selected .check-restaurante{

opacity:1;

}


.estado-restaurante{

margin-top:18px;

border-radius:12px;

padding:13px;

text-align:center;

font-weight:600;

background:#f4f4f4;

color:#666;

transition:.35s;

display:flex;

justify-content:center;

align-items:center;

gap:8px;

}

.estado-restaurante i{

display:none;

}

.restaurante-card.selected .estado-restaurante{

background:#B71C1C;

color:#fff;

}

.restaurante-card.selected .estado-restaurante i{

display:inline-block;

}

/*=========================================
MENSAJE VALIDACIÓN RESTAURANTE
=========================================*/

#mensaje-restaurante{

border-radius:14px;

border:1px solid #f5b8b8;

background:#fff5f5;

color:#9b1c1c;

font-weight:600;

box-shadow:0 8px 18px rgba(183,28,28,.08);

animation:apareceError .35s ease;

}

@keyframes apareceError{

from{

opacity:0;

transform:translateY(-10px);

}

to{

opacity:1;

transform:translateY(0);

}

}
