/* --- ESTILOS PÁGINA TERRAZAS (CORREGIDO Y AJUSTADO) --- */

.terrazas-bg {
    background-color: #0b0e14;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
}

/* =========================================
   1. HERO SECTION (100% ALTO PARA QUE QUEPA TODO)
   ========================================= */
.terrazas-hero {
    position: relative;
    /* CAMBIO: Usamos 100vh para tener pantalla completa de espacio */
    height: 100vh; 
    min-height: 800px; /* Asegura que no se aplaste en pantallas chatas */
    
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* Centrado vertical */
    
    /* Compensación del header */
    margin-top: -90px; 
    
    /* CAMBIO: Padding superior estratégico */
    padding-top: 100px; 
    
    overflow: hidden;
}

.hero-bg {
    position: absolute; 
    inset: 0;
    background-size: cover; 
    background-position: center;
    z-index: 0;
    animation: zoomSlow 30s infinite alternate; /* Más lento y elegante */
}

@keyframes zoomSlow {
    from { transform: scale(1); }
    to { transform: scale(1.15); }
}

/* Oscurecemos un poco más el fondo para que el texto resalte */
.hero-overlay-gradient {
    position: absolute; 
    inset: 0;
    background: radial-gradient(circle, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.85) 100%);
    z-index: 1;
}

.hero-content { 
    position: relative; 
    z-index: 2; 
    max-width: 900px; 
    padding: 0 20px;
    text-align: center;
    
    /* Flex vertical para ordenar los elementos */
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* --- LOGO FLOTANTE (GLASS CARD) --- */
.terrazas-bg .hero-logo-glass {
    position: relative;
    margin-bottom: 2rem;
    padding: 15px 45px; /* Un poco más compacto */
    
    /* Efecto Vidrio */
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.5);
    
    animation: floatLogo 6s ease-in-out infinite;
}

.terrazas-bg .hero-logo-glass img {
    max-width: 250px; /* Tamaño controlado del logo */
    height: auto;
    filter: brightness(0) invert(1); /* Blanco puro */
    display: block;
}

@keyframes floatLogo {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Textos Hero */
.hero-label {
    display: block;
    color: var(--color-gold); 
    letter-spacing: 4px;
    text-transform: uppercase; 
    font-size: 0.85rem; 
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-title {
    font-family: 'Montserrat', sans-serif;
    /* Reducimos un poco el tamaño máximo para balancear */
    font-size: clamp(2.5rem, 5vw, 4rem); 
    line-height: 1.1; 
    margin-bottom: 1.5rem; 
    color: #ffffff;
    text-shadow: 0 5px 20px rgba(0,0,0,0.8); /* Sombra fuerte para leerse */
    font-weight: 800;
}

.text-gold-glow {
    color: var(--color-gold);
    text-shadow: 0 0 25px rgba(212, 175, 55, 0.5);
    font-style: italic;
    display: block; /* Poner en otra línea si es necesario, o inline */
}

.hero-desc {
    font-size: 1.1rem; 
    color: #e2e8f0; 
    margin-bottom: -0.1rem; 
    max-width: 650px; 
    font-weight: 400;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
    line-height: 1.6;
}

/* BOTÓN "VER LA CARTA" (Mejorado) */
.btn-hero-menu {
    display: inline-block;
    padding: 14px 45px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    
    /* Estilo Sólido Dorado para que destaque sobre lo oscuro */
    color: #000;
    background: var(--color-gold);
    border: 1px solid var(--color-gold);
    
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
    margin-top: -80px;
}

.btn-hero-menu:hover {
    background: #fff;
    border-color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.4);
}

/* =========================================
   2. CONCEPTO
   ========================================= */
.concept-section { padding: 100px 0; }
.concept-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.concept-img { position: relative; }
.img-main {
    width: 100%; border-radius: 20px;
    box-shadow: 20px 20px 0 rgba(212, 175, 55, 0.1);
}
.img-badge {
    position: absolute; bottom: -20px; right: -20px;
    background: var(--color-gold); color: #000;
    padding: 15px 25px; border-radius: 12px; text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.img-badge span { display: block; font-size: 0.7rem; text-transform: uppercase; }
.img-badge strong { display: block; font-size: 1.5rem; line-height: 1; }

.section-title { font-family: 'Montserrat', sans-serif; font-size: 2.5rem; margin-bottom: 1.5rem; color: #fff; }
.text-gold { color: var(--color-gold); font-style: italic; }
.concept-text p { color: #a0aec0; margin-bottom: 1.5rem; line-height: 1.7; }

.signature-box {
    border-left: 3px solid var(--color-gold);
    padding-left: 20px; margin-top: 2rem;
}
.sig-label { text-transform: uppercase; font-size: 0.7rem; color: var(--color-gold); letter-spacing: 1px; }
.signature-box h4 { font-family: 'Montserrat', sans-serif; font-size: 1.2rem; margin: 5px 0; color: #fff; }

/* =========================================
   3. MENÚ CARTA
   ========================================= */
.menu-section { padding: 100px 0; background: #10141d; }
.section-header-center { text-align: center; margin-bottom: 3rem; }
.section-header-center h3 { font-family: 'Montserrat', sans-serif; font-size: 2.5rem; margin-top: 10px; color: #fff; }
.sub-title { color: var(--color-gold); letter-spacing: 2px; text-transform: uppercase; font-size: 0.8rem; font-weight: 700; }

.menu-tabs { display: flex; justify-content: center; gap: 15px; margin-bottom: 50px; flex-wrap: wrap; }
.tab-btn {
    background: transparent; border: 1px solid rgba(255,255,255,0.1);
    color: #888; padding: 12px 35px; border-radius: 50px;
    cursor: pointer; font-family: 'Montserrat', sans-serif; font-weight: 600; text-transform: uppercase; font-size: 0.8rem;
    transition: all 0.3s;
}
.tab-btn:hover { color: #fff; border-color: #fff; }
.tab-btn.active { background: var(--color-gold); color: #000; border-color: var(--color-gold); }

.menu-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px; animation: fadeIn 0.5s ease-in-out;
}
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* TARJETA DE MENÚ CON FOTO */
.terrazas-bg .menu-item {
    background: rgba(255,255,255,0.03); 
    padding: 15px; 
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.05); 
    transition: transform 0.3s;
    display: flex; align-items: center; gap: 20px;
}
.terrazas-bg .menu-item:hover { 
    transform: translateY(-5px); 
    background: rgba(255,255,255,0.06); 
    border-color: rgba(212, 175, 55, 0.2); 
}
.terrazas-bg .menu-item.highlight { border-color: rgba(212, 175, 55, 0.4); background: rgba(212, 175, 55, 0.05); }

.terrazas-bg .menu-img {
    width: 90px; height: 90px; border-radius: 12px; overflow: hidden; flex-shrink: 0;
    border: 1px solid rgba(255,255,255,0.1);
}
.terrazas-bg .menu-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.terrazas-bg .menu-item:hover .menu-img img { transform: scale(1.1); }

.terrazas-bg .menu-info { flex-grow: 1; }
.terrazas-bg .item-header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 5px; }
.terrazas-bg .item-header h4 { margin: 0; font-family: 'Montserrat', sans-serif; font-size: 1.1rem; color: #fff; font-weight: 700; }
.terrazas-bg .item-desc { color: #a0aec0; font-size: 0.9rem; margin: 0; font-style: italic; line-height: 1.5; }

/* =========================================
   4. RESERVATION CTA
   ========================================= */
.reservation-cta { position: relative; padding: 140px 0; overflow: hidden; border-top: 1px solid rgba(212, 175, 55, 0.3); }
.cta-bg { position: absolute; inset: 0; background-size: cover; background-position: center; background-attachment: fixed; z-index: 0; filter: brightness(0.6); }
.cta-overlay { position: absolute; inset: 0; background: radial-gradient(circle, rgba(0,0,0,0.4) 0%, rgba(11, 14, 20, 0.9) 100%); z-index: 1; }
.relative-z { position: relative; z-index: 2; display: flex; justify-content: center; }

.cta-glass-card {
    background: rgba(255, 255, 255, 0.05); backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 20px;
    padding: 60px 40px; max-width: 700px; text-align: center;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.cta-label { display: block; color: var(--color-gold); font-size: 0.8rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 15px; }
.res-title { font-family: 'Montserrat', sans-serif; font-size: 3rem; line-height: 1.1; margin-bottom: 20px; color: #fff; text-shadow: 0 5px 15px rgba(0,0,0,0.5); }
.res-desc { color: #e2e8f0; font-size: 1.1rem; line-height: 1.6; margin-bottom: 40px; }

.res-buttons { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }

.btn-cta-gold {
    display: inline-flex; align-items: center; gap: 10px; background: var(--color-gold); color: #000;
    padding: 15px 35px; border-radius: 50px; font-weight: 700; text-transform: uppercase; text-decoration: none; font-size: 0.9rem; letter-spacing: 1px; transition: all 0.3s ease; box-shadow: 0 5px 20px rgba(212, 175, 55, 0.3);
}
.btn-cta-gold:hover { background: #fff; transform: translateY(-3px); box-shadow: 0 10px 30px rgba(212, 175, 55, 0.5); }

.btn-cta-outline {
    display: inline-block; padding: 15px 35px; border: 1px solid rgba(255,255,255,0.3); color: #fff;
    border-radius: 50px; font-weight: 600; text-transform: uppercase; text-decoration: none; font-size: 0.9rem; letter-spacing: 1px; transition: all 0.3s ease;
}
.btn-cta-outline:hover { border-color: var(--color-gold); color: var(--color-gold); background: rgba(0,0,0,0.2); }

/* RESPONSIVE */
@media (max-width: 900px) {
    .terrazas-hero { 
        height: auto; 
        min-height: 100vh; 
        margin-top: 0; /* Reset del margin negativo */
        padding-top: 80px; /* Espacio para el header móvil */
        padding-bottom: 50px; 
    }
    .hero-title { font-size: 2rem; }
    .hero-desc { font-size: 1rem; }
    
    .terrazas-bg .hero-logo-glass {
        padding: 10px 25px;
    }
    .terrazas-bg .hero-logo-glass img {
        max-width: 150px;
    }
    
    .concept-grid { grid-template-columns: 1fr; gap: 2rem; }
    .concept-img { order: -1; margin-bottom: 20px; }
    .section-title { font-size: 1.8rem; }
    
    .menu-item { flex-direction: column; text-align: center; }
    .item-header { justify-content: center; flex-wrap: wrap; }
    .menu-img { width: 100%; height: 180px; margin-bottom: 15px; }
    
    .cta-bg { background-attachment: scroll; }
    .res-title { font-size: 2rem; }
    .cta-glass-card { padding: 40px 20px; }
    .res-buttons { flex-direction: column; align-items: center; }
}