@font-face {
    font-family: 'Tangerine';
    src: url(fonts/Tangerine/Tangerine-Regular.ttf);
}

@font-face {
    font-family: 'TangerineBold';
    src: url(fonts/Tangerine/Tangerine-Bold.ttf);
}

@font-face {
    font-family: 'Figtree';
    src: url(fonts/Figtree/Figtree-VariableFont_wght.ttf);
}

:root {
    /* Colors - OKLCH for perceptual uniformity */
    --bg-dark: oklch(12% 0.01 160);
    --bg-card: oklch(15% 0.01 160); /* New darker gray for layers */
    --accent: oklch(60% 0.15 160);  /* Emerald Green */
    --text-light: oklch(95% 0.01 160);
    --text-muted: oklch(75% 0.01 160);
    --white: oklch(100% 0 0);
    
    /* Radius Scale (Powers of 2) */
    --radius-2: 2px;
    --radius-4: 4px;
    --radius-8: 8px;
    --radius-16: 16px;
    --radius-32: 32px;
    --radius-64: 64px;

    /* Fluid Typography - clamp(min, val, max) */
    --fs-h1: clamp(4rem, 15vw, 12rem);
    --fs-h2: clamp(2.5rem, 8vw, 6rem);
    --fs-h3: clamp(1.75rem, 5vw, 3.5rem);
    --fs-h4: clamp(1.25rem, 3vw, 2rem);
    --fs-body: clamp(1rem, 0.9rem + 0.5vw, 1.25rem);
    --fs-ui: clamp(0.75rem, 0.7rem + 0.2vw, 0.875rem);

    /* Easing */
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
    
    font-family: 'Figtree', system-ui, sans-serif;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border: none; /* Force removal of all borders */
    outline: none;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-size: var(--fs-body);
    overflow-x: hidden;
    min-height: 100vh;
}

/* CANVAS BACKGROUND */
#hero-lightpass {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.6;
}

/* TYPOGRAPHY */
h1, h2, h3, h4 {
    font-family: 'Figtree', sans-serif;
    font-weight: 900;
    letter-spacing: -0.05em; /* Updated from -0.04em */
    text-transform: uppercase;
    line-height: 0.9;
}

.main-title {
    font-size: var(--fs-h1);
    margin-bottom: 2rem;
}

.section-subtitle {
    font-size: var(--fs-h2);
    color: var(--accent);
    margin-bottom: 1.5rem;
}

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

.script-text {
    font-family: 'Tangerine', cursive;
    text-transform: none;
    font-weight: 400;
    color: var(--accent);
    font-size: 1.5em;
    vertical-align: middle;
}

p {
    max-width: 65ch;
    margin-bottom: 1.5rem;
    opacity: 0.85;
}

/* HEADER */
.main__header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 4%;
    z-index: 1000;
    background: transparent;
    backdrop-filter: blur(12px); /* Glassmorphism without border */
}

.logo img {
    border-radius: var(--radius-32); /* Radius Scale */
    background-color: transparent;
    height: 5dvh;
    filter: invert(1);
}

.reservar__header {
    background: var(--accent);
    color: var(--bg-dark);
    padding: 0.75rem 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    font-size: var(--fs-ui);
    cursor: pointer;
    border-radius: var(--radius-64);
    transition: all 0.4s var(--ease-out);
}

.reservar__header:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* MENU SIDE */
.menu-btn {
    width: 30px;
    height: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 1100;
    mix-blend-mode: difference;
}

.menu-btn span {
    height: 2px;
    width: 100%;
    background: var(--white);
    transition: transform 0.4s var(--ease-out);
}

.menu-checkbox {
    display: none;
}

.menu-side {
    position: fixed;
    top: 0;
    right: 0;
    width: 100vw;
    height: 100vh;
    background: var(--bg-dark);
    clip-path: circle(0% at 95% 4%);
    transition: clip-path 0.8s var(--ease-in-out);
    z-index: 1050;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
}

.menu-checkbox:checked~.menu-side {
    clip-path: circle(150% at 95% 4%);
    pointer-events: auto;
}

.menu-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
}

.menu-links a {
    text-decoration: none;
    color: var(--text-light);
    font-size: clamp(3rem, 10vh, 6rem);
    font-weight: 900;
    line-height: 0.8;
    text-transform: uppercase;
    transition: color 0.3s var(--ease-out);
}

.menu-links a:hover {
    color: var(--accent);
}

.menu-checkbox:checked~.menu-btn span:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
}

.menu-checkbox:checked~.menu-btn span:nth-child(2) {
    transform: scaleX(0);
}

.menu-checkbox:checked~.menu-btn span:nth-child(3) {
    transform: translateY(-5px) rotate(-45deg);
}

/* SECTIONS */
section {
    padding: clamp(5rem, 15vh, 12rem) 5%;
    position: relative;
    z-index: 1;
}

.section--dark {
    background: var(--bg-dark);
}

.section--light {
    background: oklch(15% 0.01 160); /* Dark gray instead of light */
    color: var(--text-light);
}

/* HERO */
.hero__principal {
    height: 180vh;
    padding: 0;
    background: transparent;
}

.hero__logo {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 5%;
}

.hero__logo h1 {
    font-size: var(--fs-h1);
    color: var(--white);
    text-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    margin-bottom: 0.5rem;
}

.hero__logo p {
    font-size: var(--fs-h3);
    font-weight: 800;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 1;
}

/* BLOG & MENU GRID */
.recipe,
.menu__group,
.destacados__group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(clamp(250px, 25vw, 350px), 1fr));
    gap: clamp(1.5rem, 4vw, 3rem);
}

.recipe_article,
.menu__card,
.destacados__card {
    background: var(--bg-card);
    padding: clamp(1rem, 3vw, 2rem);
    border-radius: var(--radius-32);
    transition: all 0.5s var(--ease-out);
}

.recipe_article:hover,
.menu__card:hover,
.destacados__card:hover {
    background: oklch(18% 0.01 160); /* Slightly lighter on hover */
    transform: translateY(-8px);
}

.recipe__img,
.menu__img,
.destacados__img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: var(--radius-8);
    filter: grayscale(0.8) contrast(1.1);
    transition: all 0.6s var(--ease-out);
}

.recipe_article:hover .recipe__img,
.menu__card:hover .menu__img,
.destacados__card:hover .destacados__img {
    filter: grayscale(0) contrast(1);
    transform: scale(1.02);
}

.recipe__enlace,
.menu__cta,
.destacados__link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
    font-size: var(--fs-ui);
    margin-top: 1.5rem;
    display: inline-block;
    letter-spacing: 0.1em;
    position: relative;
}

.recipe__enlace::after,
.menu__cta::after,
.destacados__link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width 0.3s var(--ease-out);
}

.recipe__enlace:hover::after,
.menu__cta:hover::after,
.destacados__link:hover::after {
    width: 100%;
}

/* GRID EXPERIENCE */
.gridexperiencie__container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: center;
}

.gridexperiencie__image {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: var(--radius-8);
    transition: transform 0.5s var(--ease-out);
}

.gridexperiencie__image:nth-child(2) {
    aspect-ratio: 4/5;
}

.gridexperiencie__image:hover {
    transform: scale(1.05);
    z-index: 2;
}

.gridexperiencie__cta {
    grid-column: span 1;
    font-family: 'TangerineBold';
    font-size: 4rem;
    line-height: 0.9;
    color: var(--accent);
    text-align: center;
    padding: 2rem;
}

/* TEAM */
.team__persona {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 8vw, 6rem);
    margin-bottom: 8rem;
    align-items: center;
}

.team__persona:nth-child(even) {
    direction: rtl;
}

.team__persona:nth-child(even) .team__textos {
    direction: ltr;
}

.team__img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    border-radius: var(--radius-32);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.team__name {
    font-size: clamp(3rem, 6vw, 5rem);
    color: var(--accent);
    font-family: 'TangerineBold';
    display: block;
    line-height: 0.8;
    margin-bottom: 1rem;
}

.team__cargo {
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: var(--fs-h4);
    margin-bottom: 1.5rem;
}

/* HISTORIA */
.historia {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.historia__h2 {
    font-size: var(--fs-h2);
    margin-bottom: 2rem;
}

.historia__p {
    font-size: var(--fs-body);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.historia__img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: var(--radius-16);
}

/* EVENTOS */
.eventos__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.eventos__container {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-16);
    aspect-ratio: 16/10;
}

.eventos__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out);
}

.eventos__container:hover .eventos__img {
    transform: scale(1.1);
}

.eventos__p {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    z-index: 2;
    font-weight: 900;
    color: var(--white);
    text-transform: uppercase;
}

.eventos__container::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 50%, transparent);
}

/* FORMS & LAYOUTS */
.pedido-container,
.formulario {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
}

.pedido__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-32);
}

.reserva__cont,
.formulario__cont,
.total__cont,
.pedido__form {
    background: var(--bg-card);
    padding: clamp(1.5rem, 5vw, 4rem);
    border-radius: var(--radius-32);
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    font-weight: 800;
    text-transform: uppercase;
    font-size: var(--fs-ui);
    margin-bottom: 0.75rem;
    color: var(--accent);
    letter-spacing: 0.1em;
}

input,
select,
textarea {
    width: 100%;
    padding: 1.25rem;
    background: oklch(10% 0.01 160);
    color: var(--white);
    border-radius: var(--radius-8);
    font-family: inherit;
    font-size: var(--fs-body);
    transition: all 0.4s var(--ease-out);
}

input:focus,
select:focus {
    background: oklch(12% 0.02 160);
    box-shadow: 0 0 0 2px var(--accent); /* Use shadow instead of border */
}

button {
    background: var(--accent);
    color: var(--bg-dark);
    padding: 1.5rem;
    font-weight: 900;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: var(--radius-16);
    width: 100%;
    font-size: var(--fs-ui);
    letter-spacing: 0.15em;
    transition: all 0.4s var(--ease-out);
}

button:hover {
    transform: scale(1.02);
    filter: brightness(1.1);
    box-shadow: 0 10px 40px rgba(0, 255, 85, 0.2);
}

/* CONTACTO */
.somos {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
}

.somos__map {
    flex: 1 1 500px;
    filter: grayscale(1) invert(0.9) contrast(1.2);
    border-radius: var(--radius-32);
    overflow: hidden;
}

.somos__horario {
    flex: 1 1 400px;
    padding: clamp(1.5rem, 5vw, 4rem);
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-32);
}

.horario-list li {
    display: flex;
    justify-content: space-between;
    padding: 1.25rem 0;
    list-style: none;
    font-weight: 600;
}

/* CARRITO SPECIFICS */
.progreso {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4rem;
    padding-bottom: 2rem;
}

.cart-list {
    list-style: none;
}

.item__carrito {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
}

.total-final {
    display: flex;
    justify-content: space-between;
    font-size: var(--fs-h3);
    font-weight: 900;
    color: var(--accent);
    margin-top: 3rem;
    text-transform: uppercase;
}

/* FOOTER */
.footer {
    padding: clamp(5rem, 15vh, 10rem) 5%;
    text-align: center;
    background: var(--bg-dark);
}

.footer span {
    font-size: var(--fs-h1);
    font-weight: 900;
    color: var(--accent);
    line-height: 0.8;
    display: block;
    margin: 2rem 0;
    letter-spacing: -0.05em;
}

.footer p {
    margin: 0.5rem auto;
}

@media (max-width: 900px) {
    .team__persona,
    .formulario,
    .pedido-container,
    .historia {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .gridexperiencie__container {
        grid-template-columns: 1fr 1fr;
    }

    .gridexperiencie__cta {
        grid-column: span 2;
        font-size: 3rem;
    }

    .team__persona:nth-child(even) {
        direction: ltr;
    }

    .main-title {
        font-size: 18vw;
    }
}