/* VARIABLES Y BASE */
:root {
    --sage-bg: rgb(43, 56, 51);
    --bg-warm: #FFF1D2; /* Marfil calido para contraste sobre el verde */
    --deep-earth: #1E1712;
    --gold-subtle: #D8A94A; /* Dorado suave para resaltar */
    --clay: #B87945;
    --white: #FFF8EA;
    --text-soft: #D8CCB5;
    --text-muted: #BCAF98;
    --transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, opacity 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--sage-bg);
    background-image: linear-gradient(rgba(24, 32, 29, 0.82), rgba(24, 32, 29, 0.9)), url('img/fondo/fondo2-optimized.jpg');
    background-size: cover; /* Asegura que la imagen de fondo cubra todo */
    background-position: center;
    color: var(--white);
    font-family: 'Roboto Mono', monospace;
    line-height: 1.6;
    overflow-x: hidden;
}

/* OCULTAR ELEMENTOS DE GOOGLE TRANSLATE (UX MICHELIN) */
.goog-te-banner-frame, 
.goog-te-balloon-frame, 
#goog-gt-tt, 
.goog-te-balloon-frame:hover, 
.goog-text-highlight {
    display: none !important;
}

body {
    top: 0 !important;
}

/* PRELOADER */
#preloader {
    position: fixed;
    top: 0;
    left: 0; /* Corregido: left debe ser 0 */
    width: 100%;
    height: 100%;
    background-color: var(--deep-earth);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 1s ease, visibility 1s;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-logo {
    color: var(--gold-subtle);
    font-size: 1.2rem;
    letter-spacing: 0.8em;
    animation: pulse 2.5s infinite ease-in-out;
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; transform: scale(0.98); }
    50% { opacity: 1; transform: scale(1); }
}

/* NAVEGACIÓN */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 2.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

.logo a {
    text-decoration: none;
    color: inherit;
    font-weight: 700;
    letter-spacing: 0.5em;
}

.menu {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.menu a {
    text-decoration: none;
    color: inherit;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    margin-right: 0;
    transition: var(--transition);
    opacity: 0.82;
}

.menu a:hover {
    opacity: 1;
    color: var(--gold-subtle);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 1100;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 1px;
    background-color: currentColor;
    transition: var(--transition);
}

/* Animación Hamburguesa */
.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

#google_translate_element {
    display: none;
}

/* DROPDOWN MENU PARA WATYA */
.nav-item-with-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--deep-earth);
    border: 1px solid rgba(216, 169, 74, 0.2);
    padding: 1rem 0;
    display: none;
    flex-direction: column;
    min-width: 180px;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.nav-item-with-dropdown:hover .nav-dropdown-menu {
    display: flex;
}

.nav-dropdown-menu a {
    padding: 0.8rem 1.5rem;
    width: 100%;
}

/* Selector de Idiomas Desplegable */
.lang-dropdown {
    position: relative;
    cursor: pointer;
    padding: 0.5rem 0;
}

.lang-current {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    color: var(--text-soft);
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 4px;
}

.lang-options {
    position: absolute; /* Corregido: position debe ser absolute */
    top: 100%;
    right: 0;
    background: var(--bg-warm); /* Asegúrate de que este sea el color correcto si se cambió */
    border: 1px solid rgba(46, 29, 14, 0.05);
    padding: 1.2rem 1rem;
    display: none;
    flex-direction: column;
    gap: 0.8rem;
    min-width: 60px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
    z-index: 2000;
}

.lang-options a {
    text-decoration: none;
    color: var(--deep-earth); /* Corregido: Usar color tierra para contraste sobre fondo claro */
    font-size: 0.65rem;
    opacity: 0.5;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 4px;
}

.lang-options a:hover {
    opacity: 1;
    color: var(--gold-subtle);
}

.lang-dropdown:hover .lang-options {
    display: flex;
}

/* Ajuste para fondo oscuro (Home) */
.hero-nav .lang-options {
    background: #282A25; /* Fondo oscuro para el menú de idioma en el hero */
    border-color: rgba(255,255,255,0.1);
}

.hero-nav .lang-options a {
    color: var(--white); /* Color de texto blanco para el menú de idioma en el hero */
}

.hamburger.active span {
    background-color: var(--bg-warm);
}

.nav-btn {
    border: 1px solid currentColor;
    padding: 0.5rem 1.2rem;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.nav-btn:hover {
    background: var(--gold-subtle); /* Botón de navegación hover dorado */
    color: var(--deep-earth) !important; /* Texto oscuro en hover */
}

/* RESPONSIVE NAVIGATION */
@media (max-width: 992px) {
    .hamburger {
        display: flex;
    }

    nav {
        padding: 1.5rem 5%;
        flex-direction: row;
        justify-content: space-between;
    }

    .hero nav {
        background: transparent;
    }

    .menu {
        display: none; /* Se oculta por defecto en móvil para usar el overlay */
    }

    .menu {
        position: fixed;
        top: 0;
        right: -100%; /* Corregido: right debe ser -100% */
        width: 100%;
        height: 100vh;
        background: var(--deep-earth);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        transition: var(--transition);
        z-index: 1050;
        display: flex;
    }

    .nav-item-with-dropdown {
        flex-direction: column;
        gap: 1.2rem;
    }

    .nav-dropdown-menu {
        position: static;
        display: flex;
        flex-direction: column;
        background: transparent;
        border: none;
        padding: 0;
        align-items: center;
        gap: 1.2rem;
        min-width: auto;
        backdrop-filter: none;
    }

    .nav-dropdown-menu a {
        font-size: 0.9rem !important;
        opacity: 0.6;
    }

    .menu.active {
        right: 0;
    }

    .menu a {
        font-size: 1.2rem;
        margin: 0; /* Corregido: margin debe ser 0 */
        color: var(--bg-warm);
    }

    .nav-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.65rem;
    }
}

@media (max-width: 480px) {
    .logo img {
        height: 28px !important;
    }
}

/* COMPONENTES REUTILIZABLES */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10rem 2rem 5rem;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition);
}

main > section,
main > div,
main > article {
    content-visibility: auto;
    contain-intrinsic-size: 1px 700px;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

h1, h2, h3 {
    letter-spacing: 0.1em;
    font-weight: 400;
}

h1, h2 {
    color: var(--bg-warm);
}

h3 {
    color: var(--gold-subtle);
}

p {
    color: var(--text-soft);
}

header p,
.exp-card p,
.timeline-item-h p {
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .container {
        padding: 8rem 1.5rem 3rem;
    }
    h1 { font-size: 1.8rem !important; }
    h2 { font-size: 1.5rem !important; }
}

.btn-minimal {
    display: inline-block;
    padding: 1.2rem 2.5rem;
    border: 1px solid var(--gold-subtle); /* Borde dorado para botones minimalistas */
    background: rgba(30, 23, 18, 0.38);
    text-decoration: none;
    color: var(--bg-warm); /* Texto calido para botones minimalistas */
    font-family: 'Roboto Mono', monospace;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    transition: var(--transition); /* Corregido: transition debe ser var(--transition) */
    margin-top: 2rem;
    cursor: pointer;
}

button.btn-minimal {
    appearance: none;
    -webkit-appearance: none;
}

.btn-minimal:hover {
    background: var(--gold-subtle);
    color: var(--deep-earth);
}

.btn-minimal:focus-visible {
    outline: 2px solid var(--bg-warm);
    outline-offset: 4px;
}

/* HERO (HOME) */
.hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-image: linear-gradient(rgba(0,0,0,0.38), rgba(0,0,0,0.38)), url('img/fondo/fondoprincipal.jpeg');
    background-size: cover;
    background-position: center;
    color: var(--white);
}

/* TIMELINE (CHEF) */
.timeline {
    position: relative;
    padding-left: 3rem;
    border-left: 1px solid rgba(46, 29, 14, 0.1);
    margin: 4rem 0;
}

.timeline-item {
    margin-bottom: 5rem;
    position: relative;
}

@media (max-width: 768px) {
    .timeline {
        padding-left: 1.5rem;
    }
    .timeline-item::before {
        left: -1.85rem;
    }
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -3.35rem;
    top: 5px;
    width: 10px;
    height: 10px;
    background: var(--gold-subtle);
    border-radius: 50%;
}

/* TARJETAS (EXPERIENCIA) */
.exp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.exp-card {
    padding: 0;
    border: none;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 1.2rem;
}

.exp-card:hover {
    border-color: transparent;
    transform: translateY(-10px);
    box-shadow: none;
}

.exp-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    margin-bottom: 1.5rem;
    transition: var(--transition);
    filter: brightness(0.9);
}

.exp-card:hover img {
    transform: scale(1.03);
    filter: brightness(1);
}

.exp-tag {
    font-size: 0.65rem;
    color: var(--gold-subtle);
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
    display: block;
}

.exp-card h3 {
    color: var(--gold-subtle);
    font-size: 1.05rem;
    letter-spacing: 0.05em; /* Reducido de 0.3em para una lectura más natural */
    line-height: 1.3;
}

/* Ajuste para el título principal dentro del artículo individual */
main.container h1 {
    color: var(--gold-subtle);
    letter-spacing: 0.05em;
    line-height: 1.2;
}

.exp-card .exp-tag {
    color: var(--gold-subtle);
}

.exp-list {
    list-style: none;
    margin: 1.5rem 0;
    font-size: 0.85rem;
    opacity: 0.8;
}

.exp-list li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.exp-list li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--gold-subtle);
}

/* SLIDER PARA EXPERIENCIAS */
.exp-slider {
    display: flex;
    overflow-x: auto;
    gap: 2rem;
    padding: 1rem 1rem 3rem 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--gold-subtle) transparent;
}

.exp-slider .exp-card {
    min-width: 360px;
    flex: 0 0 360px;
    scroll-snap-align: start;
}

.exp-slider::-webkit-scrollbar {
    height: 3px;
}

.exp-slider::-webkit-scrollbar-thumb {
    background: var(--gold-subtle);
}

/* GALLERY (RESTAURANTE) */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    grid-auto-rows: 350px;
    gap: 20px;
    grid-auto-flow: dense;
}

.gallery-item {
    position: relative;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    filter: grayscale(40%);
}

.gallery-item:hover img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0.8rem;
}

.social-grid a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 48px;
    padding: 0.8rem 1rem;
    color: var(--bg-warm);
    text-decoration: none;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    background: rgba(30, 23, 18, 0.42);
    border: 1px solid rgba(244, 232, 208, 0.14);
    transition: var(--transition);
}

.social-grid a:hover {
    color: var(--deep-earth);
    background: var(--gold-subtle);
    border-color: var(--gold-subtle);
    transform: translateY(-3px);
}

.social-grid i {
    width: 18px;
    font-size: 1rem;
    text-align: center;
}

.tall { grid-row: span 2; }
.wide { grid-column: span 2; }

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 300px;
    }
    .tall, .wide { grid-row: span 1; grid-column: span 1; }
}

/* ESTILOS CHEF */
.chef-portrait {
    width: 100%;
    max-width: 500px;
    filter: sepia(10%);
}

/* RESERVAS */
.reserva-container {
    display: flex;
    gap: 4rem;
    margin-top: 2rem;
}

.reserva-block {
    flex: 1;
    padding: 4rem;
    background: rgba(30, 23, 18, 0.58);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(244, 232, 208, 0.16);
    transition: var(--transition);
}

.reserva-sales-card {
    width: 320px;
    align-self: flex-start;
    padding: 3rem 2rem;
    background: rgba(30, 23, 18, 0.72);
    border: 1px solid rgba(224, 180, 90, 0.24);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.reserva-block h3 {
    margin-bottom: 1.5rem;
    color: var(--gold-subtle);
    font-size: 1.1rem;
}

.reserva-sales-card h3 {
    margin-bottom: 1rem;
    color: var(--bg-warm);
    font-size: 1rem;
}

.reserva-sales-card p {
    font-size: 0.82rem;
    line-height: 1.8;
}

.reserva-sales-card .btn-minimal {
    width: 100%;
    margin-top: 1rem;
    padding: 1rem 1.1rem;
    text-align: center;
    letter-spacing: 0.16em;
}

.reserva-sales-meta {
    margin-top: 1.5rem;
    color: var(--gold-subtle);
    font-size: 0.72rem !important;
}

@media (max-width: 768px) {
    .reserva-container {
        flex-direction: column;
        gap: 2rem;
    }
    .reserva-block {
        padding: 2.5rem;
    }
    .reserva-sales-card {
        width: 100%;
    }
}

/* ANIMACIÓN DE PULSACIÓN PARA BOTONES */
@keyframes btnPulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(197, 160, 89, 0.2); }
    50% { transform: scale(1.03); box-shadow: 0 0 15px 5px rgba(197, 160, 89, 0.1); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(197, 160, 89, 0.2); }
}

.btn-pulse {
    animation: btnPulse 2.5s infinite ease-in-out;
}

/* HORIZONTAL TIMELINE SLIDER */
.timeline-slider {
    display: flex;
    overflow-x: auto;
    gap: 3rem;
    padding: 2rem 0 4rem;
    scrollbar-width: thin;
    scrollbar-color: var(--gold-subtle) transparent;
    scroll-snap-type: x mandatory;
}

.timeline-slider::-webkit-scrollbar {
    height: 3px;
}

.timeline-slider::-webkit-scrollbar-thumb {
    background: var(--gold-subtle);
}

.timeline-item-h {
    flex: 0 0 300px;
    scroll-snap-align: start;
    border-top: 1px solid rgba(244, 232, 208, 0.16);
    padding-top: 2rem;
    padding-left: 1rem;
    background: rgba(30, 23, 18, 0.32);
    backdrop-filter: blur(5px);
    position: relative;
}

.timeline-item-h::before {
    content: '';
    position: absolute;
    top: -5.5px;
    left: 0;
    width: 10px;
    height: 10px;
    background: var(--gold-subtle);
    border-radius: 50%;
}

.timeline-item-h .year { font-size: 0.8rem; opacity: 0.6; display: block; margin-bottom: 0.5rem; }
.timeline-item-h h4 { font-size: 1.1rem; margin-bottom: 1rem; color: var(--gold-subtle); }
.timeline-item-h p { font-size: 0.85rem; line-height: 1.6; opacity: 0.8; }

/* MODAL PARA CARTAS PDF */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 3000;
    backdrop-filter: blur(10px);
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--white);
    width: 90%;
    max-width: 900px;
    height: 85vh;
    position: relative; /* Corregido: position debe ser relative */
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
}

.close-modal {
    position: absolute;
    top: 0.5rem;
    right: 1.5rem;
    font-size: 2.5rem; /* Corregido: font-size debe ser 2.5rem */
    color: var(--deep-earth);
    cursor: pointer;
}

.close-modal:hover {
    color: var(--gold-subtle);
}

/* ESTILOS DEL FORMULARIO DE RESERVA */
.reserva-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.reserva-form .full-width { grid-column: span 2; }

.reserva-form label {
    display: block;
    font-size: 0.7rem;
    color: var(--gold-subtle);
    margin-bottom: 0.5rem;
    letter-spacing: 0.1em;
}

.reserva-form input, 
.reserva-form select, 
.reserva-form textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.8rem;
    color: var(--white);
    font-family: 'Roboto Mono', monospace;
    transition: var(--transition);
}

.reserva-form input:focus, 
.reserva-form select:focus {
    outline: none;
    border-bottom-color: var(--gold-subtle);
    background: rgba(255, 255, 255, 0.1);
}

/* Asegurar visibilidad de las opciones en los desplegables del formulario */
.reserva-form option {
    background-color: var(--deep-earth);
    color: var(--white);
}

.hero-title h1,
.hero-title p {
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.82), 0 1px 4px rgba(0, 0, 0, 0.75);
}

.hero-animated-title {
    animation: heroTitleGlow 3.5s ease-in-out infinite;
}

@keyframes heroTitleGlow {
    0%, 100% {
        opacity: 0.88;
        transform: translateY(0);
        text-shadow: 0 4px 18px rgba(0, 0, 0, 0.82), 0 1px 4px rgba(0, 0, 0, 0.75);
    }
    50% {
        opacity: 1;
        transform: translateY(-4px);
        text-shadow: 0 6px 24px rgba(0, 0, 0, 0.9), 0 0 18px rgba(224, 180, 90, 0.35);
    }
}

.reserva-confirmacion {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.68);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 4000;
}

.reserva-confirmacion.active {
    display: flex;
}

.reserva-confirmacion-card {
    width: min(560px, 100%);
    padding: 3rem 2.4rem;
    text-align: center;
    background: rgba(30, 23, 18, 0.96);
    border: 1px solid rgba(224, 180, 90, 0.45);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.38);
}

.reserva-confirmacion-card h3 {
    margin: 0.8rem 0 1rem;
    font-size: 1.15rem;
}

.reserva-confirmacion-card p {
    max-width: 440px;
    margin: 0 auto;
    font-size: 0.85rem;
    line-height: 1.8;
}

.reserva-confirmacion-card .btn-minimal {
    margin-top: 0;
}

.reserva-confirmacion-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.reserva-confirmacion-actions .btn-minimal {
    flex: 1;
    padding: 1rem 1.2rem;
    letter-spacing: 0.18em;
}

.developer-credit {
    font-size: 0.65rem;
    letter-spacing: 0.18em;
    opacity: 0.72;
    margin-top: 1rem;
}

.developer-credit a {
    color: var(--gold-subtle);
    text-decoration: none;
    border-bottom: 1px solid currentColor;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}

@media (max-width: 560px) {
    .reserva-confirmacion-actions {
        flex-direction: column;
    }

/* PERSONALIZACIÓN DE QUILL PARA ADMIN */
.ql-toolbar.ql-snow {
    background: rgba(216, 169, 74, 0.05);
    border: 1px solid rgba(216, 169, 74, 0.2) !important;
    border-bottom: none !important;
}
.ql-container.ql-snow {
    border: 1px solid rgba(216, 169, 74, 0.2) !important;
    background: rgba(255, 255, 255, 0.02);
    color: var(--white);
    font-family: 'Roboto Mono', monospace !important;
    font-size: 0.9rem;
    min-height: 300px;
}
.ql-editor.ql-blank::before { color: rgba(255,255,255,0.2) !important; }
.ql-snow .ql-stroke { stroke: var(--gold-subtle) !important; }
.ql-snow .ql-fill { fill: var(--gold-subtle) !important; }
.ql-snow .ql-picker { color: var(--gold-subtle) !important; }
.ql-snow.ql-toolbar button:hover .ql-stroke, .ql-snow.ql-toolbar button.ql-active .ql-stroke {
    stroke: var(--white) !important;
}

/* ESTILOS PARA LA BARRA DE PROGRESO DE IMAGEN EN QUILL */
.image-upload-progress {
    position: relative;
    height: 8px;
    background-color: rgba(216, 169, 74, 0.1); /* Fondo sutil */
    margin-top: 10px;
    border-radius: 4px;
    overflow: hidden;
}

.image-upload-progress-bar {
    height: 100%;
    width: 0%;
    background-color: var(--gold-subtle); /* Barra dorada */
    transition: width 0.1s ease-out;
}

/* PAGINACIÓN */
.pagination {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 4rem;
    flex-wrap: wrap;
}
.pagination a, .pagination span {
    padding: 0.8rem 1.2rem;
    border: 1px solid rgba(216, 169, 74, 0.2);
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.7rem;
    transition: var(--transition);
}
.pagination a:hover, .pagination .current {
    background: var(--gold-subtle);
    color: var(--deep-earth);
    border-color: var(--gold-subtle);
}

/* SECCIÓN DE LIKES Y RECOMENDACIONES */
.like-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 1.2rem;
    margin: 4rem 0;
    padding: 2rem;
    border-top: 1px solid rgba(216, 169, 74, 0.1);
}

.like-btn,
.share-btn {
    background: transparent;
    border: 1px solid var(--gold-subtle);
    color: var(--gold-subtle);
    padding: 0.8rem 1.5rem;
    cursor: pointer;
    font-family: 'Roboto Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
}

.like-btn:hover,
.share-btn:hover {
    background: var(--gold-subtle);
    color: var(--deep-earth);
}

.recommendations-title {
    text-align: center;
    margin: 6rem 0 3rem;
    font-size: 0.8rem;
}

/* POPULAR ARTICLES SLIDER */
.popular-slider-section {
    padding: 6rem 0 2rem;
    overflow: hidden;
}

.slider-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
}

.slider-track {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-item {
    min-width: 100%;
    padding: 0 1rem;
}

.slide-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    background: rgba(30, 23, 18, 0.4);
    border: 1px solid rgba(216, 169, 74, 0.2);
    padding: 2.5rem;
    backdrop-filter: blur(10px);
}

.slide-image {
    flex: 1;
    height: 350px;
    object-fit: cover;
    border: 1px solid rgba(216, 169, 74, 0.1);
}

.slide-info {
    flex: 1;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2.5rem;
}

.dot {
    width: 8px;
    height: 8px;
    border: 1px solid var(--gold-subtle);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--gold-subtle);
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .slide-content { flex-direction: column; gap: 1.5rem; padding: 1.5rem; }
    .slide-image { height: 200px; width: 100%; }
    .slide-info { text-align: center; }
}

/* COLORES POR CATEGORÍA */
.tag-gastronomia { color: #D8A94A !important; } /* Dorado */
.tag-cultura-andina { color: #B87945 !important; } /* Arcilla */
.tag-cocina-de-territorio { color: #7DA082 !important; } /* Verde Musgo */
.tag-ingredientes-altura { color: #8FA6B2 !important; } /* Azul Glaciar */
.tag-experiencias { color: #C4A484 !important; } /* Arena */
.tag-eventos-noticias { color: #A8A8A8 !important; } /* Gris Piedra */
.tag-chef-equipo { color: #9BB8CD !important; } /* Celeste Humo */
.tag-cocteleria-maridaje { color: #C28E8E !important; } /* Uva/Vino */

/* JOURNAL FILTER SELECT */
select[name="cat"] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23D8A94A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.8rem center;
    padding-right: 2.5rem !important;
}

select[name="cat"] option {
    background: var(--deep-earth);
    color: var(--white);
    padding: 10px;
}

/* RESALTE DE BÚSQUEDA */
.highlight {
    background-color: var(--gold-subtle);
    color: var(--deep-earth);
    padding: 0 2px;
    border-radius: 2px;
}

/* PESTAÑAS DE NAVEGACIÓN INTERNA (WATYA SECTION) */
.sub-tabs {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 4rem;
    border-bottom: 1px solid rgba(216, 169, 74, 0.1);
}

.tab-btn {
    background: none;
    border: none;
    padding: 1rem 0;
    color: var(--white);
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Roboto Mono', monospace;
    border-bottom: 1px solid transparent;
    opacity: 0.6;
}

.tab-btn:hover {
    opacity: 1;
    color: var(--gold-subtle);
}

.tab-btn.active {
    opacity: 1;
    color: var(--gold-subtle);
    border-bottom-color: var(--gold-subtle);
    font-weight: 500;
}

.tab-content { display: none; }
.tab-content.active { 
    display: block; 
    animation: fadeInTab 0.6s ease forwards;
}

@keyframes fadeInTab {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}
