:root {
    --brand-ochre: #b48a3d;
    --brand-carbon: #0f0f0f;
    --text-white: #ffffff;
    --text-grey: #9ca3af;
    --border-grey: rgba(255, 255, 255, 0.1);
    --shadow-premium: 0 20px 50px rgba(0, 0, 0, 0.5);
    --glass: rgba(15, 15, 15, 0.85);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    width: 100%;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--brand-carbon);
    color: var(--text-white);
    line-height: 1.6;
    -webkit-text-size-adjust: 100%;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

img, video, iframe {
    max-width: 100%;
    height: auto;
    display: block;
}

@media (min-width: 768px) {
    .container { padding: 0 4rem; }
}

/* Header */
#header {
    background: #000000;
    border-bottom: 1px solid var(--border-grey);
    position: fixed;
    top: 0;
    left: 0;
    width: 100% !important;
    z-index: 1000;
    padding: 0.8rem 0;
    transition: all 0.3s ease;
}

#header.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.nav-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-wrap {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-nanobanana {
    width: 50px;
    height: 50px;
    background: #000;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--brand-ochre);
}

.logo-nanobanana img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

.brand-info h1 {
    font-size: 1.1rem;
    color: var(--text-white);
    letter-spacing: 1px;
    margin: 0;
}

.brand-info span {
    font-size: 0.55rem;
    color: var(--brand-ochre);
    text-transform: uppercase;
    font-weight: 800;
}

@media (min-width: 768px) {
    .brand-info h1 { font-size: 1.5rem; }
}

/* Menu Toggle */
.menu-btn {
    display: flex;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
    padding: 5px;
}

.menu-btn span {
    width: 25px;
    height: 2px;
    background: var(--brand-ochre);
    transition: all 0.3s ease;
}

@media (min-width: 968px) {
    .menu-btn { display: none; }
}

.nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: #000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    list-style: none;
    z-index: 1000;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}

.nav-links.active {
    right: 0;
    visibility: visible;
    opacity: 1;
    pointer-events: all;
}

@media (min-width: 968px) {
    .nav-links {
        position: static;
        width: auto;
        height: auto;
        flex-direction: row;
        background: transparent;
        gap: 2.5rem;
        box-shadow: none;
        visibility: visible;
        opacity: 1;
        pointer-events: all;
    }
}

.nav-links a {
    text-decoration: none;
    color: var(--text-white);
    font-weight: 600;
}

@media (min-width: 968px) {
    .nav-links a { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; }
}

.btn-ochre {
    background: var(--brand-ochre);
    color: #000 !important;
    padding: 1rem 2rem;
    border-radius: 4px;
    font-weight: 800 !important;
    text-transform: uppercase;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Hero */
#hero {
    min-height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('assets/fachada trtts.jpg') center/cover;
    display: flex;
    align-items: center;
    padding-top: 120px;
    padding-bottom: 4rem;
}

.hero-text h2 {
    font-size: 2.22rem;
    font-weight: 900;
    line-height: 1.1;
    margin: 1.5rem 0;
}

@media (min-width: 768px) {
    .hero-text h2 { font-size: 5rem; }
}

.ochre { color: var(--brand-ochre); }

.hero-text p {
    font-size: 1.1rem;
    color: var(--text-grey);
    margin-bottom: 3rem;
}

.hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

@media (max-width: 480px) {
    .hero-btns a { width: 100%; text-align: center; }
}

/* Menu Grid */
.menu-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .menu-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 968px) {
    .menu-grid { grid-template-columns: repeat(4, 1fr); }
}

/* Reviews */
.reviews-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .reviews-grid { grid-template-columns: repeat(3, 1fr); }
}

.review-card {
    background: #080808;
    padding: 2.5rem;
    border: 1px solid var(--border-grey);
}

/* Footer */
#contacto { padding: 4rem 0; border-top: 1px solid var(--border-grey); }

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 768px) {
    .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
}

.footer-col h4 {
    color: var(--brand-ochre);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 1rem;
}

.footer-col ul a {
    color: var(--text-grey);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links { display: flex; gap: 1.5rem; margin-top: 2rem; }
.social-links a { 
    color: var(--brand-ochre); 
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}
.social-links a:hover { transform: translateY(-5px); }

/* Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Sections & Utility */
.py-lg { padding: 5rem 0; }
@media (min-width: 768px) { .py-lg { padding: 10rem 0; } }

.section-head { text-align: center; margin-bottom: 5rem; }
.section-head h3 { font-size: 2.5rem; font-weight: 900; margin-top: 1rem; }
@media (min-width: 768px) { .section-head h3 { font-size: 4rem; } }

/* Food Cards */
.food-card {
    background: #141414;
    border: 1px solid var(--border-grey);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.food-card:hover { transform: translateY(-10px); }

.food-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.food-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.food-card:hover .food-img img { transform: scale(1.1); }

.food-info { padding: 1.5rem; }
.food-info h4 { color: var(--brand-ochre); margin-bottom: 0.5rem; font-size: 1.2rem; }
.food-info p { font-size: 0.9rem; color: var(--text-grey); }

/* Rooms Carousel */
.rooms-swiper-container {
    width: 100%;
    max-width: 800px;
    height: 500px;
    max-height: 70vh;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-premium);
    background: #000;
    position: relative;
}

.habitacionesSwiper {
    width: 100%;
    height: 100%;
}

.habitacionesSwiper .swiper-slide {
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.habitacionesSwiper .swiper-slide img,
.habitacionesSwiper .swiper-slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.habitacionesSwiper .swiper-button-next,
.habitacionesSwiper .swiper-button-prev {
    color: var(--brand-ochre);
    transform: scale(0.6);
    background: rgba(10, 10, 10, 0.7);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid var(--brand-ochre);
    transition: all 0.3s ease;
    z-index: 10;
    pointer-events: auto;
}

.habitacionesSwiper .swiper-button-next:hover,
.habitacionesSwiper .swiper-button-prev:hover {
    background: var(--brand-ochre);
    color: #000;
}

.habitacionesSwiper .swiper-button-next:after,
.habitacionesSwiper .swiper-button-prev:after {
    font-weight: 900;
}

.habitacionesSwiper .swiper-pagination-bullet {
    background: var(--text-white);
    opacity: 0.6;
}

.habitacionesSwiper .swiper-pagination-bullet-active {
    background: var(--brand-ochre);
    opacity: 1;
}

/* Decor Grid (Events) */
.decor-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .decor-grid { grid-template-columns: repeat(3, 1fr); }
}

.decor-grid img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 8px;
    max-height: 350px;
}

/* Location Grid */
.location-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    background: #0a0a0a;
    border: 1px solid var(--border-grey);
    border-radius: 15px;
    overflow: hidden;
}

@media (min-width: 968px) {
    .location-grid { grid-template-columns: 1.2fr 1fr; align-items: center; }
}

.location-visual { position: relative; height: 350px; }
@media (min-width: 968px) { .location-visual { height: 450px; } }

.location-visual img { width: 100%; height: 100%; object-fit: cover; }

.maps-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.location-visual:hover .maps-overlay { opacity: 1; }

.maps-overlay a {
    background: var(--brand-ochre);
    color: #000;
    padding: 1rem 2rem;
    text-decoration: none;
    font-weight: 800;
    border-radius: 4px;
    text-transform: uppercase;
}

.location-details { padding: 3rem; }
@media (min-width: 768px) { .location-details { padding: 5rem; } }

/* Additional Footer Classes */
.footer-contact i { color: var(--brand-ochre); margin-right: 10px; }
.btn-outline-ochre {
    border: 2px solid var(--brand-ochre);
    color: var(--brand-ochre);
    padding: 1rem 2rem;
    border-radius: 4px;
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
}
.btn-outline-ochre:hover {
    background: var(--brand-ochre);
    color: #000;
}
