:root{
--dorado:#C6A75E;
--gris:#666;
}

/* RESET */
body{
margin:0;
font-family:'Segoe UI', sans-serif;
background:#ffffff;
color:#222;
line-height:1.6;
padding-top:80px;
}

html{
scroll-behavior:smooth;
}

/* NAVBAR */
.navbar{
position:fixed;
top:0;
left:0;
width:100%;
background:rgba(255,255,255,0.9);
backdrop-filter:blur(10px);

display:flex;
justify-content:space-between;
align-items:center;

padding:15px 30px;
z-index:1000;

border-bottom:1px solid #eee;
}

.logo{
font-weight:700;
font-size:20px;
color:var(--dorado);
letter-spacing:1px;
margin-left:10px;
}

.navbar ul{
display:flex;
gap:25px;
list-style:none;
margin:0;
padding:0;
margin-right:15px;
}

.navbar a{
text-decoration:none;
color:#333;
font-weight:500;
position:relative;
}

/* línea animada */
.navbar a::after{
content:"";
position:absolute;
bottom:-5px;
left:0;
width:0;
height:2px;
background:var(--dorado);
transition:0.3s;
}

.navbar a:hover::after{
width:100%;
}

/* HERO */
.hero{
height:100vh;
background:
linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.8)),
url('../terraza.jpg') center/cover no-repeat;
display:flex;
align-items:center;
justify-content:center;
text-align:center;
}

.hero h1{
font-size:64px;
color:white;
text-shadow:0 4px 20px rgba(0,0,0,0.7);
margin-bottom:15px;
}

.hero p{
color:#ddd;
margin-bottom:30px;
}

/* BOTON */
.btn{
padding:14px 32px;
background:var(--dorado);
color:#111;
border-radius:8px;
text-decoration:none;
font-weight:600;
transition:0.3s;
}

.btn:hover{
opacity:0.85;
}

/* SECCIONES */
section{
padding:100px 20px;
}

section h2{
font-size:32px;
text-align:center;
margin-bottom:40px;
}

/* GALERIA */
.galeria{
background:#fafafa;
text-align:center;
}

.galeria-grid{
display:grid;
grid-template-columns:repeat(3,260px);
gap:25px;
justify-content:center;
margin-top:30px;
}

.galeria-grid div{
position:relative;
overflow:hidden;
border-radius:16px;
}

.galeria-grid img{
width:100%;
height:180px;
object-fit:cover;
transition:0.4s;
display:block;
}

/* overlay */
.galeria-grid div::after{
content:"Ver imagen";
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.4);
color:white;
display:flex;
align-items:center;
justify-content:center;
opacity:0;
transition:0.3s;
font-size:18px;
}

.galeria-grid div:hover img{
transform:scale(1.1);
}

.galeria-grid div:hover::after{
opacity:1;
}

/* SOBRE */
.sobre{
background:#fafafa;
}

.sobre-container{
display:flex;
align-items:center;
justify-content:center;
gap:60px;
max-width:1100px;
margin:auto;
}

.sobre-texto{
max-width:500px;
}

.sobre-texto h2{
font-size:36px;
margin-bottom:20px;
}

.sobre-texto p{
font-size:17px;
color:#555;
}

.sobre-lista{
list-style:none;
padding:0;
}

.sobre-lista li{
background:white;
padding:10px 15px;
border-radius:8px;
margin-bottom:10px;
box-shadow:0 5px 15px rgba(0,0,0,0.05);
}

.sobre-img img{
width:400px;
border-radius:14px;
}

/* STATS */
.stats{
background:#111;
color:white;
text-align:center;
}

.stats-grid{
display:flex;
justify-content:center;
gap:40px;
}

.stats-grid div{
background:#1f1f1f;
padding:30px;
border-radius:10px;
font-size:20px;
font-weight:600;
transition:0.3s;
}

.stats-grid div:hover{
transform:translateY(-5px);
background:#2a2a2a;
}

/* EXTRAS */
.extras-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:20px;
max-width:900px;
margin:auto;
}

.extra-card{
background:#1f1f1f;
color:white;
padding:20px;
border-radius:10px;
transition:0.3s;
}

.extra-card:hover{
transform:translateY(-5px);
}

/* TESTIMONIOS */
.testimonios{
background:#fafafa;
text-align:center;
}

.test-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:20px;
max-width:900px;
margin:auto;
}

.test-card{
background:white;
color:#333;
padding:25px;
border-radius:12px;
box-shadow:0 10px 25px rgba(0,0,0,0.08);
transition:0.3s;
}

.test-card:hover{
transform:translateY(-5px);
}

/* UBICACION */
.ubicacion{
text-align:center;
}

.mapa{
max-width:900px;
margin:40px auto;
border-radius:10px;
overflow:hidden;
box-shadow:0 10px 25px rgba(0,0,0,0.1);
}

/* FORM */
.reserva form{
background:#1a1a1a;
padding:40px;
border-radius:10px;
max-width:600px;
margin:40px auto;
box-shadow:0 10px 30px rgba(0,0,0,0.3);
}

.form-group{
display:grid;
grid-template-columns:1fr 1fr;
gap:15px;
}

input,textarea{
padding:12px;
border:none;
background:#2a2a2a;
color:white;
border-radius:5px;
}

textarea{
grid-column:span 2;
min-height:100px;
}

form button{
margin-top:20px;
width:100%;
}

/* FOOTER */
.footer{
background:#0f0f0f;
color:#ccc;
padding:60px 20px;
text-align:center;
}

.footer h3{
color:white;
margin-bottom:15px;
}

.footer p{
margin:5px 0;
font-size:14px;
}

.footer::before{
content:"";
display:block;
width:60px;
height:3px;
background:var(--dorado);
margin:0 auto 20px;
}

/* WHATSAPP */
.whatsapp-float{
position:fixed;
bottom:20px;
right:20px;
background:#25D366;
color:white;
width:60px;
height:60px;
border-radius:50%;
display:flex;
align-items:center;
justify-content:center;
font-size:24px;
}

/* ANIMACIONES */
.fade-up{
opacity:0;
transform:translateY(40px);
transition:all 0.8s ease;
}

.fade-up.active{
opacity:1;
transform:translateY(0);
}

/* RESPONSIVE */
@media(max-width:900px){

.galeria-grid{
grid-template-columns:repeat(2,1fr);
}

.extras-grid,
.test-grid{
grid-template-columns:1fr 1fr;
}

.sobre-container{
flex-direction:column;
text-align:center;
}

.sobre-img img{
width:100%;
}

.stats-grid{
flex-direction:column;
}

}

@media(max-width:600px){

.galeria-grid,
.extras-grid,
.test-grid{
grid-template-columns:1fr;
}

.form-group{
grid-template-columns:1fr;
}

.navbar{
flex-direction:column;
gap:10px;
}

.hero h1{
font-size:38px;
}

}

/* NAVBAR SCROLL EFECTO */
.navbar.scrolled{
background:rgba(255,255,255,0.95);
box-shadow:0 5px 20px rgba(0,0,0,0.1);
padding:10px 30px;
}

/* LIGHTBOX */
.lightbox{
display:none;
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.9);
justify-content:center;
align-items:center;
z-index:9999;
}

.lightbox img{
max-width:90%;
max-height:80%;
border-radius:10px;
}

.cerrar{
position:absolute;
top:30px;
right:40px;
font-size:40px;
color:white;
cursor:pointer;
}
