/* ==================== VARIABLES ==================== */
:root {
    --primary: #B68D40;       /* Dorado elegante */
    --primary-dark: #9A7635;
    --bg-color: #FAF9F6;      /* Blanco roto/Beige muy sutil */
    --surface: #FFFFFF;
    --text-main: #2C2C2C;     /* Gris oscuro para contraste suave */
    --text-light: #666666;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    display: block;
}

/* ==================== TYPOGRAPHY ==================== */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.2;
    color: var(--text-main);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 4rem;
}

/* ==================== COMPONENTS ==================== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    border: 1px solid var(--primary);
    background: transparent;
    color: var(--primary);
    transition: var(--transition);
}

.btn:hover {
    background: var(--primary);
    color: var(--surface);
}

.btn-solid {
    background: var(--primary);
    color: var(--surface);
}

.btn-solid:hover {
    background: transparent;
    color: var(--primary);
}

section {
    padding: 100px 5%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* ==================== NAVBAR ==================== */
header.nav-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: var(--transition);
    background: transparent;
}

header.nav-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
    padding: 15px 5%;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--surface);
    transition: var(--transition);
}

header.nav-header.scrolled .logo {
    color: var(--text-main);
}

header.nav-header .logo-scrolled {
    display: none;
}

header.nav-header.scrolled .logo-default {
    display: none;
}

header.nav-header.scrolled .logo-scrolled {
    display: block;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--surface);
    font-weight: 400;
}

header.nav-header.scrolled .nav-links a {
    color: var(--text-main);
}

.nav-links a:hover {
    color: var(--primary);
}

header.nav-header .nav-links a.btn-nav {
    padding: 8px 24px;
    color: var(--surface);
    border: 1px solid var(--primary);
}

header.nav-header.scrolled .nav-links a.btn-nav {
    color: var(--surface);
}

header.nav-header .nav-links a.btn-nav:hover {
    color: var(--primary);
    background: transparent;
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--surface);
}

header.nav-header.scrolled .hamburger {
    color: var(--text-main);
}

/* ==================== HERO SECTION ==================== */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 0 20px;
    overflow: hidden;
}

.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 2s ease-in-out, transform 10s linear;
    transform: scale(1);
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1.05);
}

.hero::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    color: var(--surface);
}

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 1rem;
    color: var(--surface);
}

.hero-content p {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 2.5rem;
    letter-spacing: 1px;
}

/* ==================== LA EXPERIENCIA ==================== */
.experiencia {
    background-color: var(--surface);
    text-align: center;
}

.experiencia-text {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.2rem;
    color: var(--text-light);
    line-height: 2;
}

/* ==================== CARTA DIGITAL ==================== */
.carta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.dish-card {
    background: var(--surface);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: var(--transition);
}

.dish-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
}

.dish-img-wrapper {
    height: 250px;
    overflow: hidden;
}

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

.dish-card:hover .dish-img-wrapper img {
    transform: scale(1.05);
}

.dish-info {
    padding: 2rem;
    text-align: center;
}

.dish-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.dish-info p {
    font-size: 0.95rem;
    color: var(--text-light);
}

.btn-container {
    text-align: center;
}

/* ==================== GALERÍA ==================== */
.galeria {
    background-color: var(--surface);
}

.galeria-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.galeria-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    height: 350px;
}

.galeria-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.galeria-item::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.2);
    opacity: 0;
    transition: var(--transition);
}

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

.galeria-item:hover::after {
    opacity: 1;
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

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

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition);
}

.lightbox-close:hover {
    color: var(--primary);
}

/* ==================== RESEÑAS ==================== */
.resenas {
    background-color: #111;
    background-image: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%23222222" fill-opacity="0.6"%3E%3Cpath d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
    color: var(--surface);
    padding: 80px 5%;
}

.resenas .section-title {
    margin-bottom: 3rem;
    color: var(--surface);
}

.reviews-container {
    display: flex;
    align-items: center;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.reviews-summary {
    text-align: center;
    min-width: 200px;
}

.reviews-summary h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    font-family: var(--font-body);
    font-weight: 700;
}

.reviews-summary .stars {
    color: #FBBC05;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.reviews-summary p {
    font-size: 0.9rem;
    color: #ccc;
    margin-bottom: 1rem;
}

.reviews-summary .google-logo {
    width: 90px;
    margin: 0 auto;
}

.reviews-slider {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding-bottom: 1rem;
    flex-grow: 1;
    scrollbar-width: thin;
    scrollbar-color: #333 transparent;
}

.reviews-slider::-webkit-scrollbar {
    height: 6px;
}

.reviews-slider::-webkit-scrollbar-thumb {
    background-color: #333;
    border-radius: 10px;
}

.review-card {
    background: #1a1a1a;
    border-radius: 8px;
    padding: 1.5rem;
    min-width: 320px;
    flex: 1;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
    border: 1px solid #2a2a2a;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.reviewer-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.reviewer-info h4 {
    font-family: var(--font-body);
    font-size: 0.95rem;
    margin-bottom: 0;
    font-weight: 600;
}

.reviewer-info span {
    font-size: 0.8rem;
    color: #999;
}

.g-icon {
    width: 20px;
}

.review-stars {
    color: #FBBC05;
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 4px;
}

.verified-icon {
    color: #4285F4;
    margin-left: 5px;
    font-size: 0.85rem;
}

.review-text {
    font-size: 0.9rem;
    color: #ddd;
    line-height: 1.5;
}

.read-more {
    display: inline-block;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: #999;
    text-decoration: underline;
}

.slider-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #999;
    font-size: 1.5rem;
    transition: var(--transition);
}

.slider-nav:hover {
    color: var(--surface);
}

/* ==================== RESERVAS ==================== */
.reservas {
    background: url('https://images.unsplash.com/photo-1544025162-d76694265947?q=80&w=1920&auto=format&fit=crop') center/cover fixed;
    position: relative;
    color: var(--surface);
}

.reservas::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(26, 26, 26, 0.85);
}

.reservas .container {
    position: relative;
    z-index: 1;
}

.reservas .section-title, .reservas .section-subtitle {
    color: var(--surface);
}

.reservas .section-subtitle {
    color: #d1d1d1;
}

form {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group.full-width {
    grid-column: span 2;
}

input, select, textarea {
    width: 100%;
    padding: 15px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    color: var(--surface);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255,255,255,0.05);
}

input::placeholder, textarea::placeholder {
    color: rgba(255,255,255,0.6);
}

select option {
    background: var(--text-main);
    color: var(--surface);
}

.reservas .btn {
    grid-column: span 2;
    padding: 18px;
    font-size: 1rem;
}

/* ==================== FOOTER ==================== */
footer {
    background-color: #111;
    color: var(--surface);
    padding: 80px 5% 30px;
    text-align: center;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto 4rem;
    text-align: left;
}

.footer-col h4 {
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.footer-col p, .footer-col a {
    color: #999;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    display: block;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #333;
    border-radius: 50%;
    color: #fff;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.copyright {
    border-top: 1px solid #333;
    padding-top: 20px;
    color: #666;
    font-size: 0.85rem;
}

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

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

/* ==================== RESPONSIVE ==================== */
@media (max-width: 992px) {
    .hero-content h1 { font-size: 3.5rem; }
    .galeria-grid { grid-template-columns: repeat(2, 1fr); }
    .galeria-item { height: 250px; }
}

@media (max-width: 768px) {
    .hamburger { display: block; }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--surface);
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        transition: right 0.4s ease;
        box-shadow: -5px 0 20px rgba(0,0,0,0.1);
    }

    .nav-links.active { right: 0; }
    
    .nav-links a {
        color: var(--text-main) !important;
        font-size: 1.2rem;
    }

    .hero-content h1 { font-size: 2.8rem; }
    form { grid-template-columns: 1fr; }
    .form-group.full-width { grid-column: span 1; }
    .reservas .btn { grid-column: span 1; }
    .galeria-grid { grid-template-columns: 1fr; }
    .galeria-item { height: 300px; }
    
    .footer-content { text-align: center; }
    .social-links { justify-content: center; }
}

/* ==================== WHATSAPP FLOTANTE ==================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 70px;
    height: 70px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 42px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #1ebe57;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    color: #fff;
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 60px;
        height: 60px;
        font-size: 35px;
    }
}
