/* ========================================
   PREMIUM RESTAURANT DESIGN - FINE DINING
   Colors: #3C3F21 (base) | #FAEEDE (secondary)
   ======================================== */

:root {
    --color-primary: #3c3f21;
    --color-secondary: #FAEEDE;
    --font-light: 100;
    --font-thin: 200;
    --font-regular: 300;
}

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

body {
    background-color: var(--color-primary);
    color: var(--color-secondary);
    font-family: 'Poppins', 'Source Sans Pro', sans-serif;
    font-weight: var(--font-thin);
    overflow-x: hidden;
    line-height: 1.8;
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4, h5, h6 {
    font-weight: var(--font-thin);
    letter-spacing: 3px;
    text-transform: uppercase;
    line-height: 1.2;
}

h1 {
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 100;
}

h2 {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 100;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 200;
}

p {
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    font-weight: var(--font-regular);
    letter-spacing: 1px;
    line-height: 1.8;
}

.text-thin {
    font-weight: var(--font-thin);
}

.text-light {
    font-weight: var(--font-light);
}

/* ========== HAMBURGER MENU - LEFT SIDE ========== */
.premium-hamburger {
    position: fixed;
    left: 0;
    top: 0;
    width: 80px;
    height: 100vh;
    background-color: rgba(60, 63, 33, 0.95);
    backdrop-filter: blur(10px);
    z-index: 9999;
    border-right: 1px solid rgba(250, 238, 222, 0.1);
}

.hamburger-btn {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.hamburger-btn span {
    width: 30px;
    height: 1px;
    background-color: var(--color-secondary);
    transition: all 0.4s ease;
    display: block;
}

.hamburger-btn:hover span {
    background-color: #fff;
}

.hamburger-btn.active span:nth-child(1) {
    transform:rotate(45deg) translate(4px, 3px);
}

.hamburger-btn.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-btn.active span:nth-child(3) {
    transform:rotate(-45deg) translate(7px, -7px);
}

.premium-logo {
    position: absolute;
    left: 150px;
    top: 0px;
    transform: translateX(-50%);
    width: 170px;
    opacity: 0.9;
    transition: opacity 0.3s ease;
    cursor: pointer;
    /*z-index: 1;*/
}
@media (max-height:800px) {
    .premium-logo {
        position: absolute;
        left: 150px;
        top: 0px;
        transform: translateX(-50%);
        width: 100px;
        opacity: 0.9;
        transition: opacity 0.3s ease;
        cursor: pointer;
        /*z-index: 1;*/
    }
}
.premium-logo:hover {
    opacity: 1;
}

/* ========== VERTICAL MENU ========== */
.premium-nav {
    position: fixed;
    left: -400px;
    top: 0;
    width: 400px;
    height: 100vh;
    background-color: rgba(60, 63, 33, 0.98);
    backdrop-filter: blur(20px);
    z-index: 9998;
    padding: 100px 100px;
    transition: left 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    border-right: 1px solid rgba(250, 238, 222, 0.15);
}

.premium-nav.active {
    left: 0;
}

.premium-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.premium-nav ul li {
    margin-bottom: 35px;
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.5s ease;
}

.premium-nav.active ul li {
    opacity: 1;
    transform: translateX(0);
}

.premium-nav.active ul li:nth-child(1) { transition-delay: 0.1s; }
.premium-nav.active ul li:nth-child(2) { transition-delay: 0.2s; }
.premium-nav.active ul li:nth-child(3) { transition-delay: 0.3s; }
.premium-nav.active ul li:nth-child(4) { transition-delay: 0.4s; }
.premium-nav.active ul li:nth-child(5) { transition-delay: 0.5s; }
.premium-nav.active ul li:nth-child(6) { transition-delay: 0.6s; }

.premium-nav ul li a {
    color: var(--color-secondary);
    text-decoration: none;
    font-size: 1.8rem;
    font-weight: 100;
    letter-spacing: 4px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    display: block;
    position: relative;
    padding-left: 0;
}

.premium-nav ul li a::before {
    content: '';
    position: absolute;
    left: -30px;
    top: 50%;
    width: 0;
    height: 1px;
    background-color: var(--color-secondary);
    transition: width 0.4s ease;
}

.premium-nav ul li a:hover {
    color: #fff;
    padding-left: 20px;
}

.premium-nav ul li a:hover::before {
    width: 15px;
}

/* ========== HERO SECTION ========== */
.premium-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.premium-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(60,63,33,0.7) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 80px 0 0px;
    max-width: 1400px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.hero-logo {
    width: 70%;
    max-width: 800px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(2px 2px 20px rgba(0,0,0,0.5));
    animation: fadeIn 1.5s ease-in;
}

@media (max-width: 1023px) {
    /* Header horizontal tradicional para mobile */
    .premium-hamburger {
        width: 100vw;
        height: auto;
        left: 0;
        top: 0;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 5px;
        border-right: none;
        border-bottom: 1px solid rgba(250, 238, 222, 0.1);
    }
    
    .premium-logo {
        position: static;
        height: 75px;
        width: auto;
        transform: none;
        margin: 0;
    }
    
    .hamburger-btn {
        position: static;
        transform: none;
        margin: 0;
    }
    
    /* Ajustar contenido principal */
    .horizontal-scroll-container {
        padding-top: 90px;
    }
    
    .hero-logo {
        width: 80%;
        max-width: 500px;
    }
    
    .hero-content {
        padding: 0 40px;
        width: 100%;
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .hero-logo {
        width: 85%;
        max-width: 400px;
    }
    
    .hero-content {
        padding: 0 20px;
    }
}

.hero-title {
    font-size: clamp(4rem, 10vw, 9rem);
    font-weight: 100;
    letter-spacing: 15px;
    margin-bottom: 30px;
    color: var(--color-secondary);
    text-shadow: 2px 2px 20px rgba(0,0,0,0.5);
    line-height: 0.9;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    font-weight: 200;
    letter-spacing: 8px;
    color: var(--color-secondary);
    opacity: 0.9;
    margin-top: 20px;
}

/* ========== HORIZONTAL SCROLL CONTAINER ========== */
.horizontal-scroll-wrapper {
    display: flex;
    flex-direction: row;
    width: fit-content;
    position: relative;
    /* padding-left: 80px; */
}

.scroll-section {
    width: 100vw;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 80px 120px 80px 120px;
    position: relative;
}

/* SOLO DESKTOP - Scroll Horizontal */

@media (min-width: 1600px) {
    .content-block {
        max-width: 1500px!important;
        width: 100%;
    }
}


@media (min-width: 1024px) {
    .footer-index{display: none !important;}
    body {
        overflow: hidden;
    }

    .horizontal-scroll-container {
        position: relative;
        width: 100vw;
        height: 100vh;
        overflow: hidden;
    }

    .horizontal-scroll-wrapper {
        display: flex;
        flex-direction: row;
        height: 100vh;
        width: max-content;
        margin-left: 80px;
        will-change: transform;
        transition: transform 0.05s linear;
    }

    .horizontal-scroll-wrapper > section,
    .horizontal-scroll-wrapper > .scroll-section,
    .horizontal-scroll-wrapper section .scroll-section {
        width: calc(100vw - 80px);
        height: 100vh;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        padding: 80px 120px;
    }
}

/* Mobile - Scroll Vertical Normal */
@media (max-width: 1023px) {
    .horizontal-scroll-wrapper {
        flex-direction: column;
        width: 100%;
        padding-left: 0;
    }
    
    .scroll-section {
        width: 100%;
        height: auto;
        min-height: auto;
    }
}

/* ========== SCROLL INDICATOR - MOUSE ICON ========== */
.scroll-indicator {
    position: fixed;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.scroll-indicator:hover {
    opacity: 1;
}

.mouse-icon {
    width: 30px;
    height: 50px;
    border: 2px solid var(--color-secondary);
    border-radius: 15px;
    position: relative;
}

.mouse-wheel {
    width: 4px;
    height: 10px;
    background-color: var(--color-secondary);
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
    animation: scroll-down 2s infinite;
}

@keyframes scroll-down {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
}

.scroll-text {
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: var(--color-secondary);
    writing-mode: vertical-rl;
    text-orientation: mixed;
    text-transform: uppercase;
    font-weight: 200;
}

/* ========== CONTENT SECTIONS ========== */
.content-block {
    max-width: 1200px;
    width: 100%;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 5rem);
    font-weight: 100;
    letter-spacing: 8px;
    margin-bottom: 40px;
    color: var(--color-secondary);
    text-transform: uppercase;
}

.section-subtitle {
    font-size: clamp(1rem, 2vw, 1.5rem);
    font-weight: 200;
    letter-spacing: 3px;
    color: var(--color-secondary);
    opacity: 0.8;
    margin-bottom: 60px;
}

.section-description {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    font-weight: 300;
    line-height: 2;
    color: var(--color-secondary);
    opacity: 0.9;
    letter-spacing: 1px;
}

/* ========== IMAGE GRID ========== */
.premium-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    /*margin-top: 60px;*/
}

.grid-item {
    position: relative;
    overflow: hidden;
    /*aspect-ratio: 4/5;*/
    cursor: pointer;
    transition: transform 0.5s ease;
}

.grid-item:hover {
    transform: scale(1.02);
}

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

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

.grid-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(60,63,33,0.9), transparent);
    padding: 30px;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.grid-item:hover .grid-overlay {
    transform: translateY(0);
}

.grid-title {
    font-size:2.5rem;
    font-weight: 200;
    letter-spacing: 3px;
    color: var(--color-secondary);
}

/* ========== BUTTONS ========== */
.btn-premium {
    display: inline-block;
    padding: 18px 50px;
    background-color: transparent;
    color: var(--color-secondary);
    border: 1px solid var(--color-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 200;
    letter-spacing: 3px;
    text-transform: uppercase;
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: var(--color-secondary);
    transition: left 0.4s ease;
    z-index: -1;
}

.btn-premium:hover {
    color: var(--color-primary);
    border-color: var(--color-secondary);
}

.btn-premium:hover::before {
    left: 0;
}

/* ========== DIVIDER ========== */
.premium-divider {
    width: 110px;
    height: 1px;
    background-color: var(--color-secondary);
    margin: 30px 0;
    opacity: 0.5;
}

/* ========== CONTACT SECTION ========== */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 60px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    border: 1px solid var(--color-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-secondary);
    font-size: 1.2rem;
}

.contact-text {
    font-size: 1.1rem;
    font-weight: 200;
    letter-spacing: 2px;
    color: var(--color-secondary);
}

/* ========== LOGO RESERVE CIRCULAR ========== */
.reserve-logo {
    position: fixed;
    bottom: 50px;
    right: 50px;
    width: 150px;
    height: 150px;
    z-index: 999;
    cursor: pointer;
    animation: rotate 20s linear infinite;
    transition: all 0.3s ease;
    border-radius: 50%;
    background-color: rgba(60, 63, 33, 0.7);
}

.reserve-logo:hover {
    animation-play-state: paused;
    background-color: rgba(0, 0, 0, 0.5);
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(-360deg);
    }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .horizontal-scroll-wrapper {
        flex-direction: column;
        width: 100%;
        padding-left: 0;
    }
    
    .scroll-section {
        width: 100%;
        padding: 60px 40px;
        min-height: auto;
    }
    
    .premium-hamburger {
        /* width: 60px; */
        padding: 20px 0;
    }
    
    .hero-content {
        padding: 0 40px;
    }
    
    .scroll-indicator {
        display: none !important;
    }
    
    .reserve-logo {
        width: 70px;
        height: 70px;
        bottom: 20px;
        left: 20px;
        right: auto;
        opacity: 0.85;
    }
    
    .premium-hero {
        min-height: 70vh;
    }
}

@media (max-width: 768px) {
    .premium-nav {
        width: 100%;
        left: -100%;
        padding: 80px 40px;
    }
    
    .premium-nav ul li a {
        font-size: 1.5rem;
        letter-spacing: 2px;
    }
    
    .hero-title {
        letter-spacing: 8px;
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        letter-spacing: 4px;
    }
    
    .section-title {
        letter-spacing: 4px;
        font-size: 2rem;
    }
    
    .premium-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .scroll-section {
        padding: 40px 20px;
    }
    
    .premium-hamburger {
        padding: 15px 20px !important;
        /* width: 50px; */
    }
    
    .hamburger-btn {
        width: 35px;
        height: 35px;
        gap: 5px;
    }
    
    .hamburger-btn span {
        width: 25px;
    }
    
    .premium-logo {
        /* width: 40px; */
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
        letter-spacing: 4px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .btn-premium {
        padding: 15px 35px;
        font-size: 0.8rem;
    }
}

/* ========== ANIMATIONS ========== */
.fade-in {
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-in-left {
    animation: slideInLeft 0.8s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-right {
    animation: slideInRight 0.8s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ========== SMOOTH SCROLLING ========== */
html {
    scroll-behavior: smooth;
}

/* Hide default scrollbar but keep functionality */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-primary);
}

::-webkit-scrollbar-thumb {
    background: rgba(250, 238, 222, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(250, 238, 222, 0.5);
}

/* ========== OVERLAY MENU BACKGROUND ========== */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9997;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ========== BOOTSTRAP COMPATIBILITY ========== */
.container, .container-fluid {
    padding-left: 15px;
    padding-right: 15px;
}

.row {
    margin-left: -15px;
    margin-right: -15px;
}

/* Modal Premium Style */
.modal-content {
    background-color: var(--color-primary);
    border: 1px solid rgba(250, 238, 222, 0.2);
    border-radius: 0;
}

.modal-header {
    border-bottom: 1px solid rgba(250, 238, 222, 0.1);
}

.modal-body {
    color: var(--color-secondary);
}

.modal-title {
    color: var(--color-secondary);
    font-weight: 200;
    letter-spacing: 3px;
}

.close {
    color: var(--color-secondary);
    opacity: 0.8;
    text-shadow: none;
}

.close:hover {
    color: #fff;
    opacity: 1;
}

/* Form Elements Premium Style */
input, textarea, select {
    background-color: rgba(250, 238, 222, 0.05);
    border: 1px solid rgba(250, 238, 222, 0.2);
    color: var(--color-secondary);
    font-weight: 200;
    letter-spacing: 1px;
    padding: 12px 20px;
    transition: all 0.3s ease;
}

input:focus, textarea:focus, select:focus {
    background-color: rgba(250, 238, 222, 0.08);
    border-color: var(--color-secondary);
    outline: none;
    box-shadow: none;
}

input::placeholder, textarea::placeholder {
    color: rgba(250, 238, 222, 0.5);
    font-weight: 200;
}

/* ========== UTILITY CLASSES ========== */
.bg-primary-dark {
    background-color: var(--color-primary);
}

.bg-secondary-light {
    background-color: var(--color-secondary);
}

.text-primary-color {
    color: var(--color-primary);
}

.text-secondary-color {
    color: var(--color-secondary);
}

/* ========== LOADING SPINNER (if needed) ========== */
#loader {
    background-color: var(--color-primary);
}

#loader .path {
    stroke: var(--color-secondary);
}

/* ========== HIDE OLD NAVBAR ========== */
#header, 
#headerbase,
.home-slider,
#toTop {
    display: none !important;
}

/* Show premium navigation only */
body {
    padding-top: 0 !important;
}

/* ========== SMOOTH TRANSITIONS ========== */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/*img {*/
/*    image-rendering: -webkit-optimize-contrast;*/
/*    image-rendering: crisp-edges;*/
/*}*/

/* ========== PREMIUM FOOTER ADJUSTMENTS ========== */
footer {
    background-color: rgba(30, 32, 15, 0.98);
    border-top: 1px solid rgba(250, 238, 222, 0.1);
    padding: 60px 0 30px;
}

footer * {
    color: var(--color-secondary);
}

footer a:hover {
    color: #fff;
}

/* ========== ADDITIONAL PREMIUM ELEMENTS ========== */
.premium-accent {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-secondary), transparent);
    margin: 20px 0;
}

.premium-section-number {
    font-size: 8rem;
    font-weight: 100;
    opacity: 0.05;
    position: absolute;
    top: -40px;
    left: 0;
    z-index: 0;
    pointer-events: none;
}

.content-block {
    position: relative;
    z-index: 1;
}

/* ========== LINK STYLES ========== */
a {
    color: var(--color-secondary);
    transition: all 0.3s ease;
}

a:hover {
    color: #fff;
    text-decoration: none;
}

/* ========== ACCESSIBILITY ========== */
:focus-visible {
    outline: 2px solid var(--color-secondary);
    outline-offset: 4px;
}

button:focus,
a:focus {
    outline: 2px solid rgba(250, 238, 222, 0.5);
    outline-offset: 2px;
}

/* ========== PRINT STYLES ========== */
@media print {
    .premium-hamburger,
    .premium-nav,
    .scroll-indicator,
    .reserve-logo,
    .menu-overlay {
        display: none !important;
    }
    
    body {
        background-color: white;
        color: black;
    }
}

/* ========== NAVBAR CUSTOM LAYOUT ========== */
#header .row {
    width: 100%;
}

#nav-menu-left .nav-menu,
#nav-menu-right .nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

#nav-menu-left .nav-menu li,
#nav-menu-right .nav-menu li {
    display: inline-block;
}

#logo {
    z-index: 100;
}

/* ========== BOTÓN RESERVAR AHORA ========== */
.btn-reservar {
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    text-transform: uppercase;
    font-size: 12px;
    white-space: nowrap;
}

.btn-reservar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #3C3F21;
    transition: all 0.4s ease;
    z-index: -1;
}

.btn-reservar:hover {
    color: #FAEEDE !important;
    border-color: #3C3F21 !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(60, 63, 33, 0.6);
}

.btn-reservar:hover::before {
    left: 0;
}

.btn-reservar:active {
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(60, 63, 33, 0.4);
}

/* Animación sutil de brillo */
@keyframes shine {
    0% {
        box-shadow: 0 0 5px rgba(60, 63, 33, 0.2);
    }
    50% {
        box-shadow: 0 0 20px rgba(60, 63, 33, 0.5);
    }
    100% {
        box-shadow: 0 0 5px rgba(60, 63, 33, 0.2);
    }
}

.btn-reservar {
    animation: shine 3s infinite;
}

/* ========== RESPONSIVE ADJUSTMENTS ========== */
@media (max-width: 991px) {
    #logo {
        text-align: center;
        width: 100%;
    }
}
