/* GENERAL */
body{
margin:0;
font-family:Arial, Helvetica, sans-serif;
background:#f4f4f4;
}

/* Encabezado HEADER */
header{
background:#0B3D91;
color:rgb(255, 255, 255);
display:flex;
justify-content:space-between;
align-items:center;
padding:15px 40px;
}

.logo{
height:60px;
}

nav a{
color:white;
margin-left:20px;
text-decoration:none;
font-weight:bold;
}

/*PIE*/
footer{
background:#0B3D91;
color:white;
text-align:center;
padding:30px;
margin-top:50px;
}

/* HERO */
.hero{
height:650px;
background-image:
linear-gradient(
rgba(0,0,0,0.10),
rgba(0,0,0,0.10)
),
url("img/madeira-hero.jpg");

background-size:cover;
background-position:center;

display:flex;
align-items:center;
justify-content:center;
text-align:center;

color:white;
}

.hero-content{
padding:40px;
padding-top:240px;
}

.hero h1{
font-size:52px;
font-weight:bold;
text-shadow:0 3px 8px rgba(0,0,0,0.5);
}

.hero p{
font-size:24px;
text-shadow:0 2px 6px rgba(0,0,0,0.5);
}

.hero p{
font-size:22px;
margin-top:10px;
}

.hero-buttons{
margin-top:100px;
}

.btn-blue{
background:#1fb6c9;
color:white;
padding:14px 26px;
border-radius:30px;
text-decoration:none;
margin-right:10px;
}

.btn-orange{
background:#ff8c3a;
color:white;
padding:14px 26px;
border-radius:30px;
text-decoration:none;
}

.btn-green{
background:#2ecc71;
color:white;
padding:12px 24px;
border-radius:30px;
text-decoration:none;
font-weight:bold;
display:inline-block;
margin:5px;
transition:.3s;
}

.btn-green:hover{
background:#27ae60;
transform:translateY(-2px);
}

/*ALOJAMENTOS DESTACADOS*/
.alojamientos{
padding:45px;
background:#f5f5f5;
text-align:center;
}

/* CARDS */
.cards{
display:flex;
gap:30px;
overflow-x:auto;
scroll-behavior:smooth;
padding:20px 10px;
flex-wrap:nowrap;
scrollbar-width:none;
}

.cards-home{
    display:flex;
    justify-content:center;
    gap:30px;
    flex-wrap:wrap;
    margin-top:40px;
}

.cards-home .card-link{
    display:block;
    width:300px;
}

.cards-home .card{
    width:300px;
}

.cards::-webkit-scrollbar{
display:none;
}

.card{
background:white;
width:300px;
flex:0 0 300px;
border-radius:10px;
box-shadow:0 5px 15px rgba(0,0,0,0.1);
overflow:hidden;
}

.card{
transition:0.3s;
cursor:pointer;
}

.card:hover{
transform:translateY(-8px);
box-shadow:0 15px 30px rgba(0,0,0,0.2);
}

.card img{
width:100%;
height:200px;
object-fit:cover;
}

.price{
color:#1fb6c9;
font-weight:bold;
font-size:20px;
}

.card h3{
margin-top:15px;
}

.price{
color:#1fb6c9;
font-weight:bold;
font-size:20px;
}

.card button{
background:#1fb6c9;
color:white;
border:none;
padding:10px 20px;
border-radius:20px;
cursor:pointer;
margin-bottom:20px;
}

/* SERVICIOS */
.servicios{
padding:45px;
background:white;
text-align:center;
}

.servicios-cards{
display:flex;
justify-content:center;
gap:40px;
margin-top:40px;
flex-wrap:wrap;
}

.servicio{
width:300px;
padding:20px;
}

.servicio h3{
color:#1fb6c9;
margin-bottom:10px;
}

.servicio p{
color:#555;
line-height:1.5;
}

.icon{
width:60px;
margin-bottom:15px;
}

.onda{
width:320px;
display:block;
margin:0 auto 15px auto;
opacity:0.9;
}

/* PROPIEDADES */
.propiedades{
padding:45px;
background:#f5f5f5;
text-align:center;
}

.propiedades-cards{
display:flex;
justify-content:center;
gap:40px;
margin-top:40px;
flex-wrap:wrap;
}

.propiedad{
background:white;
width:350px;
border-radius:10px;
box-shadow:0 5px 15px rgba(0,0,0,0.1);
overflow:hidden;

transition:0.3s;
cursor:pointer;
}

.propiedad:hover{
transform:translateY(-8px);
box-shadow:0 15px 30px rgba(0,0,0,0.2);
}

.propiedad img{
width:100%;
height:230px;
object-fit:cover;
}

.propiedad h3{
margin-top:15px;
}

.propiedad button{
background:#ff8c3a;
color:white;
border:none;
padding:10px 20px;
border-radius:20px;
cursor:pointer;
margin-bottom:20px;
}

/* BOTONES FLOTANTES */
.floating-buttons{
position:fixed;
right:20px;
bottom:20px;
display:flex;
flex-direction:column;
gap:10px;
}

.float img{
width:50px;
height:50px;
border-radius:50%;
box-shadow:0 4px 10px rgba(0,0,0,0.2);
}

.whatsapp img{
background:#25D366;
padding:8px;
}

.facebook img{
background:#1877F2;
padding:8px;
}

.instagram img{
background:#E1306C;
padding:8px;
}

/* PAGINA ALOJAMIENTOS */
.pagina-alojamientos{
padding:80px;
text-align:center;
}

.pagina-alojamientos h1{
margin-bottom:40px;
}

.pagina-alojamientos .cards{
display:flex;
justify-content:center;
gap:30px;
flex-wrap:wrap;
}

/* PAGINA ALOJAMIENTO */
.alojamiento{
padding:25px;
text-align:center;
}

.info-alojamiento{
max-width:600px;
margin:auto;
}

.info-alojamiento ul{
list-style:none;
padding:0;
}

.info-alojamiento li{
margin:8px 0;
}

/* CONTENEDOR PRINCIPAL Alojamento */
.contenedor-alojamiento{
max-width:900px;
margin:0 auto;
display:flex;
gap:40px;
justify-content:center;
align-items:flex-start;
}

/* TÍTULO */
.titulo-wrapper{
text-align:center;
}

.titulo-alojamiento{
display:inline-block;
background:#2ecc71;
color:white;
padding:10px 20px;
border-radius:8px;
width:fit-content;
margin-left:auto;
margin-right:auto;
margin-top:20px;
margin-bottom:20px;
text-align:center;
}

/* RESERVA */
.reserva{
padding:80px;
text-align:center;
}

.reserva form{
max-width:400px;
margin:auto;
display:flex;
flex-direction:column;
gap:15px;
}

.reserva input{
padding:10px;
border-radius:5px;
border:1px solid #ccc;
}

/* PANEL RESERVA */
.galeria{
    flex:1;
    max-width:700px;
    margin:0 auto
}

.panel-reserva{
    flex:1;
    max-width:320px;
    background:#fff;
    border-radius:12px;
    padding:20px;
    box-shadow:0 5px 15px rgba(0,0,0,0.10);
}

.panel-reserva input{
width:100%;
margin-bottom:10px;
padding:8px;
}

.panel-reserva button{
width:100%;
}

/* MODAL */
.modal{
display:none;
position:fixed;
z-index:999;
left:0;
top:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.9);
justify-content:center;
align-items:center;
}

.modal-contenido{
background:white;
padding:30px;
border-radius:10px;
width:350px;
}

.modal-contenido input{
width:100%;
margin-bottom:10px;
padding:8px;
}

.card-link{
text-decoration:none;
color:inherit;
display:block;
}

.login{
width:300px;
margin:120px auto;
text-align:center;
}

.login input{
width:100%;
padding:10px;
margin-bottom:10px;
}

.login button{
padding:10px 20px;
background:#1fb6c9;
color:white;
border:none;
}

.admin-menu{
margin:20px 0;
}

.admin-menu a{
margin-right:20px;
text-decoration:none;
font-weight:bold;
color:#1fb6c9;
}

.admin-menu a:hover{
text-decoration:underline;
}

.dia{
width:40px;
height:40px;
display:flex;
align-items:center;
justify-content:center;
border:1px solid #ddd;
margin:2px;
border-radius:6px;
cursor:pointer;
background:#e9ebe6;
}
/*Reservado*/
.reservado{
background:#ff4d4d;
color:white;
font-weight:bold;
}
/*Bloqueado*/
.bloqueado{
background:#ffa500;
color:white;
font-weight:bold;
}
/*DISPONIBLE*/
.dia:hover{
background:#f0f0f0;
cursor: pointer;
color:white;
}

.calendario{
display:grid;
grid-template-columns:repeat(7,40px);
gap:5px;
margin-bottom:20px;
}

.dia-vacio{
width:40px;
height:40px;
margin: 2px;
display:flex;
align-items:center;
justify-content:center;
border:1px solid #acce90;
}

.dia,.dia-vacio{
border:none;
}

.dia:hover{
background:#1fb6c9;
color:white;
}

.dia-bloqueado a{
text-decoration:none;
}

.admin form{
margin-bottom:20px;
}

.admin input{
padding:5px;
margin:10px 0;
}

.admin button{
background:#1fb6c9;
color:white;
border:none;
padding:8px 12px;
cursor:pointer;
}

.admin button:hover{
background:#1597a8;
}

.dia{
position:relative;
}

.dia:hover::after{
content: attr(title);
position:absolute;
bottom:110%;
left:50%;
transform:translateX(-50%);
background:#333;
color:#fff;
padding:5px 8px;
font-size:12px;
white-space:nowrap;
border-radius:5px;
}

.admin input{
display:block;
margin:5px 0 15px;
padding:6px;
width:250px;
}

.admin label{
font-weight:bold;
}

.contenido{
display:flex;
gap:20px;
align-items:flex-start;
justify-content:space-between;
}

#imgModal{
display:block;
margin:auto;
max-width:90%;
max-height:90%;
margin-top:5%;
}

#cerrar{
position:absolute;
top:20px;
right:30px;
color:white;
font-size:30px;
cursor:pointer;
}

/* ADMIN */
.admin{
padding:60px;
}

.admin table{
width:100%;
border-collapse:collapse;
}

.admin th{
background:#1fb6c9;
color:white;
padding:10px;
}

.admin td{
padding:10px;
border-bottom:1px solid #ddd;
}
#imgGrande{
width:100%;
height:490px;
object-fit:cover;
border-radius:10px;
}

.imagen-principal-container{
position:relative;
}

.prev, .next{
position:absolute;
top:45%;
background:#00000080;
color:white;
border:none;
font-size:25px;
cursor:pointer;
padding:5px 10px;
}

.prev{ left:10px; }
.next{ right:10px; }

.miniaturas{
display:flex;
gap:10px;
margin-top:10px;
overflow-x:auto;
}

.miniaturas img{
width:120px;
height:80px;
object-fit:cover;
cursor:pointer;
border-radius:6px;
flex-shrink:0;
}

#calendario{
width:100%;
padding:10px;
border-radius:6px;
border:1px solid #ccc;
cursor:pointer;
background:white;
}

.admin h1{
margin-bottom:10px;
}

.admin h2{
margin-bottom:30px;
color:#1fb6c9;
}

.admin table{
width:100%;
border-collapse:collapse;
background:white;
border-radius:10px;
overflow:hidden;
}

.admin th{
background:#1fb6c9;
color:white;
padding:12px;
}

.admin td{
padding:12px;
border-bottom:1px solid #eee;
}

.admin tr:hover{
background:#f9f9f9;
}

.admin {
    max-width: 900px;
    margin: 0 auto;
}

.admin h1,
.admin h2,
.admin-menu {
    text-align: center;
}


.calendario {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    width: fit-content;
    margin: 0 auto;
    text-align: center;
}

.dias-semana {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    width: fit-content;
    margin: 0 auto 5px auto;
    text-align: center;
    font-weight: bold;
}

.dias-semana span {
    padding: 5px;
}

.dia {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #b1d65b;
    margin: 2px;
    border-radius: 6px;
}

.hoy {
    border: 2px solid #007bff;
    background-color: #e6f0ff;
}

.airbnb-checkout {
    background-color: #d29ce7; /* morado claro */
    color: black;
}

.entrada {
    background-color: rgb(32, 116, 241);
    color: white;
}

.airbnb {
    background-color: #55cee4;
    color: white;
}

.checkout {
    background-color: #d29ce7;
    color: black;
}

.descripcion-alojamiento{
width:100%;    
max-width:950px;
margin:20px auto 40px auto;
padding:50px;
background:white;
border-radius:20px;
box-shadow:0 4px 20px rgba(0,0,0.08);
}

.descripcion-alojamiento h2{
color:#0B3D91;
margin-bottom:20px;
}

.descripcion-alojamiento p{
line-height:1.8;
margin-bottom:15px;
}

.proximamente{
display:inline-block;
background:#f39c12;
color:white;
padding:10px 20px;
border-radius:20px;
font-weight:bold;
margin-top:15px;
}

.caracteristicas-box{
text-align:left;
margin-top:15px;
}

.caracteristicas-box h3{
text-align:left;
margin-bottom:15px;
}

.caracteristicas-box .features{
list-style:none;
padding:0;
margin:0;
}

.caracteristicas-box .features li{
text-align:left;
padding:5px 0;
border-bottom:1px solid #eee;
}

.descripcion-alojamiento h2{
    margin-bottom:25px;
    font-size:36px;
}

.descripcion-alojamiento h3{
    margin-top:40px;
    margin-bottom:15px;
    font-size:26px;
}

.descripcion-alojamiento p{
    font-size:18px;
    line-height:1.8;
    color:#444;
}

.resumen-alojamiento{
margin:40px 0;
}

.resumen-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
gap:15px;
}

.item-resumen{
background:#fff;
padding:20px;
border-radius:12px;
text-align:center;
font-weight:bold;
box-shadow:0 2px 8px rgba(0,0,0,.08);
}

.destacados-cv1{
max-width:1200px;
margin:50px auto;
padding:0 20px;
}

.destacados-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:15px;
margin-top:20px;
}

.destacado-item{
    background:white;
    padding:20px;
    border-radius:12px;
    box-shadow:0 2px 8px rgba(0,0,0,.08);
    font-weight:600;
    min-height:80px;

    display:flex;
    align-items:center;
}

.entorno-cv1{
    width:100%;
    max-width:950px;

    margin:25px auto;

    padding:50px;

    background:#ffffff;

    border-radius:20px;

    box-shadow:0 4px 20px rgba(0,0,0.08);
}

.entorno-cv1 h3{
    color:#0B3D91;
    margin-bottom:20px;
    font-size:36px;
}

.entorno-cv1 p{
    font-size:18px;
    line-height:1.8;
}

.entorno-lista{
    list-style:none;
    padding:0;
    margin-top:25px;
}

.entorno-lista li{
    margin-bottom:12px;
    font-size:18px;
    line-height:1.6;
}

footer{

background:#0B3D91;

color:white;

padding:50px 20px;

text-align:center;

margin-top:60px;

}

.footer-container{

max-width:1200px;

margin:auto;

}

.footer-container h3{

font-size:30px;

margin-bottom:10px;

}

.footer-slogan{

opacity:.9;

margin-bottom:30px;

}

.footer-links{

display:flex;

justify-content:center;

gap:30px;

flex-wrap:wrap;

margin-bottom:25px;

}

.footer-links a{

color:white;

text-decoration:none;

font-weight:bold;

transition:.3s;

}

.footer-links a:hover{

color:#2ecc71;

}

.footer-location{

margin-bottom:10px;

opacity:.9;

}

.footer-copy{

font-size:14px;

opacity:.7;

}

/* ==========================
   FICHA DE PROPIEDADES
========================== */

.propiedad-contenedor{
    max-width:1200px;
    margin:40px auto;
    display:flex;
    gap:40px;
    align-items:flex-start;
}

.propiedad-galeria{
    flex:2;
}

.propiedad-panel{
    flex:1;
    background:#fff;
    border-radius:12px;
    padding:25px;
    box-shadow:0 5px 15px rgba(0,0,0,.12);
    position:sticky;
    top:20px;
}

.btn-whatsapp{

width:100%;
background:#25D366;
color:white;
border:none;
padding:15px;
font-size:18px;
font-weight:bold;
border-radius:8px;
cursor:pointer;
transition:.3s;

}

.btn-whatsapp:hover{

background:#1da851;

}

@media (max-width:768px){

.hero-buttons{
    display:flex;
    flex-direction:column;
    gap:12px;
}

.hero-buttons a{
    display:block;
    width:60%;
    margin:0;
    text-align:center;
}

    .hero-content{
    margin-top:60px;
    padding:20px;
}

.hero h1{
    font-size:32px;
    line-height:1.2;
}

.hero p{
    font-size:18px;
    line-height:1.5;
}

}


nav{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    margin-top:15px;
    row-gap:0px;
    column-gap:10px;
}

nav a{
    margin:1px 5px;
    font-size:15px;
    line-height:1;
}

.floating-buttons{
    right:10px;
    bottom:15px;
    gap:8px;
}

.float img{
    width:40px;
    height:40px;
}

/* =====================================================
   PÁGINAS LEGAIS
===================================================== */

.legal-page{
    background:#f5f7fa;
    padding:60px 20px;
}

.legal-container{
    max-width:900px;
    margin:0 auto;
    background:#ffffff;
    padding:50px;
    border-radius:12px;
    box-shadow:0 5px 20px rgba(0,0,0,.08);
    line-height:1.8;
}

.legal-container h1{
    color:#0B3D91;
    text-align:center;
    margin-bottom:40px;
    font-size:2.2rem;
}

.legal-container h2{
    color:#0B3D91;
    margin-top:40px;
    margin-bottom:15px;
    font-size:1.5rem;
}

.legal-container p{
    margin-bottom:18px;
    text-align:justify;
}

.legal-container ul{
    margin:15px 0 25px 30px;
}

.legal-container li{
    margin-bottom:10px;
}

.legal-container strong{
    color:#0B3D91;
}

@media (max-width:768px){

    .legal-page{
        padding:30px 15px;
    }

    .legal-container{
        padding:30px 20px;
    }

    .legal-container h1{
        font-size:1.8rem;
    }
}
/* ==========================
   FOOTER - INFORMAÇÃO LEGAL
========================== */

.footer-legal-links{
    display:flex;
    justify-content:center;
    align-items:center;
    flex-wrap:wrap;
    gap:8px;
    margin-top:10px;
}

.footer-legal-links a{
    color:white;
    text-decoration:none;
    transition:color .3s ease;
}

.footer-legal-links a:hover{
    color:#2ecc71;
    text-decoration:underline;
}

.footer-legal-links span{
    color:rgba(255,255,255,.6);
}

.apresentacao{
    background:#f5f7fa;
    padding:40px 20px 60px;
}

.apresentacao-box{
    max-width:900px;
    margin:-40px auto 0;
    background:#ffffff;
    border-radius:20px;
    padding:45px;
    box-shadow:0 15px 40px rgba(0,0,0,.15);
    text-align:center;
    position:relative;
    z-index:10;
}

.apresentacao-box h2{
    color: #0B3D91;
    margin-bottom: 25px;
}

.apresentacao-box p{
    color: #555;
    line-height: 1.8;
    font-size: 17px;
    margin-bottom: 18px;
}

.apresentacao-box p:last-child{
    margin-bottom: 0;
}

.hero-apresentacao{
    padding:30px 20px 20px;
}

.hero-apresentacao-box{
    max-width:900px;
    margin:0 auto;
    background:#f5f9fc;
    border:1px solid #d9d9d9;
    border-radius:20px;
    padding:35px 40px;
    box-shadow:0 8px 25px rgba(0,0,0,.08);
}

.hero-apresentacao-box p{
    margin:0 0 18px;
    line-height:1.8;
    text-align:center;
}

.hero-apresentacao-box p:last-child{
    margin-bottom:0;
}

.logo-area{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:25px;
    padding:10px 0;

.logo{
    width:120px;
    height:auto;
}

.logo-texto{
    display:flex;
    flex-direction:column;
    justify-content:center;
}

.logo-texto h1{
    margin:0;
    font-size:36px;
    color:#ffffff;
    line-height:1.1;
}

.logo-texto p{
    margin:4px 0 0;
    font-size:16px;
    color:#ffffff;
    font-style:normal;
}
}