/* ===== BASE STYLES - ESTILOS COMPARTIDOS ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Sora:wght@100;200;300;400;500;600;700;800&display=swap');

/* ===== VARIABLES CSS ===== */
:root {
    /* Colores principales */
    --primary-color: #E7352C;
    --secondary-color: #1E1E1C;
    --background-color: #F2EFEB;
    --text-dark: #1E1E1C;
    --text-light: #F2EFEB;

    /* Tipografías de la marca */

    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-secondary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;


    /* Espaciados */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 4rem;

    /* Bordes */
    --border-width: 2px;
    --border-style: solid var(--secondary-color);
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 30px;

    /* Sombras */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 6px 24px rgba(0, 0, 0, 0.2);

    /* Transiciones */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.4s ease;
}

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

html {
    scroll-behavior: smooth;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-container a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-svg {
    height: 60px;
    /* Ajusta según necesites */
    width: auto;
    transition: transform 0.3s ease;
}

.logo-svg:hover {
    transform: scale(1.05);
}

/* Para móviles */
@media only screen and (max-width: 810px) {
    .logo-svg {
        height: 50px;
        margin-bottom: -17px;
        /* Más pequeño en móviles */
    }
}

.footer-logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo-svg {
    height: 120px;
    /* Más grande que en el header */
    width: auto;
    transition: transform 0.3s ease;
}

.footer-logo-svg:hover {
    transform: scale(1.05);
}

/* Para tablets */
@media only screen and (max-width: 1440px) {
    .footer-logo-svg {
        height: 80px;
    }
}

/* Para móviles */
@media only screen and (max-width: 810px) {
    .footer-logo-svg {
        height: 70px;
        margin: 15px 0;
    }
}

body {
    background-color: var(--background-color);
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    padding-top: 95px;
    /* Compensar por header fijo */
}

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

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

/* ===== TIPOGRAFÍA ===== */
@font-face {
    font-family: 'Coman';
    src: url('../Fonts/Coman.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Coolvetica';
    src: url('../Fonts/coolvetica.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

.text-primary {
    font-family: var(--font-primary);
}

.text-secondary {
    font-family: var(--font-secondary);
}

/* ===== UTILIDADES ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.flex {
    display: flex;
}

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

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

.flex-column {
    display: flex;
    flex-direction: column;
}

.grid {
    display: grid;
}

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

.hidden-mobile {
    display: block;
}

.hidden-desktop {
    display: none;
}

/* ===== COMPONENTES COMPARTIDOS ===== */

/* Botones */
.btn,
button {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: var(--border-radius-lg);
    background: var(--primary-color);
    overflow: hidden;
    cursor: pointer;
    border: none;
    transition: all var(--transition-medium);
    font-family: var(--font-primary);
    font-weight: 800;
    text-decoration: none;
}

.btn span,
button span {
    padding: 18px 25px;
    color: #F2EFEB;
    font-size: 1.5rem;
    z-index: 2;
    position: relative;
    transition: all var(--transition-medium);
    text-align: center;
    text-decoration: none;
    width: 100%;
}

.btn:hover span,
button:hover span {
    animation: scaleUp 0.3s ease-in-out;
}

.btn:active span,
button:active span {
    transform: scale(0.9);
}

@keyframes scaleUp {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(0.95);
    }

    100% {
        transform: scale(1);
    }
}

/* Enlaces con efecto underline */
.link-underline,
.nav-bar ul a,
.food a {
    position: relative;
    overflow: hidden;
    transition: color var(--transition-medium);
    text-decoration: none;
    color: var(--text-dark);
}

.link-underline::after,
.nav-bar ul a::after,
.food a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width var(--transition-medium);
    transform-origin: left;
}

.link-underline:hover::after,
.nav-bar ul a:hover::after,
.food a:hover::after {
    width: 100%;
}

/* ===== HEADER ===== */
header {
    background-color: var(--secondary-color);
    border-bottom: 1px solid #F2EFEB;
    padding: var(--spacing-md);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    max-width: 100%;
    height: 95px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    font-size: 4rem;
    font-weight: bold;
    transition: transform var(--transition-medium);
}

header h1:hover {
    transform: scale(1.05);
}

header h1 a {
    color: var(--text-dark);
    text-decoration: none;
}

header ul {
    display: flex;
    align-items: center;
    list-style: none;
    gap: clamp(2rem, 8vw, 10rem);
    font-size: 1.5rem;
}

header li a {
    text-decoration: none;
    color: var(--text-dark);
}

.ig {
    transition: transform var(--transition-medium);
}

.ig:hover {
    transform: scale(1.1);
}

.ig img {
    width: 70px;
    height: 70px;
    margin-right: 40px;
}

/* ===== SLIDER DE ADVERTENCIA ===== */
.slider {
    background-color: var(--primary-color);
    border-bottom: 1px solid #F2EFEB;
    overflow: hidden;
}

.warning {
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: scroll 40s linear infinite;
    -webkit-animation: scroll 40s linear infinite;
    width: calc(500px * 18);
}

.slider .slide {
    width: 300px;
    margin-right: 35px;
    flex-shrink: 0;
}

.slider .slide p {
    font-size: 2.5rem;
    font-weight: bold;
    white-space: nowrap;
    width: 100%;
}

@keyframes scroll {
    0% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }

    100% {
        -webkit-transform: translateX(calc(-300px * 7));
        transform: translateX(calc(-300px * 7));
    }
}

/* ===== FOOTER ===== */
footer {
    border-top: var(--border-width) var(--border-style);
    background-color: var(--secondary-color);
    width: 100%;
    height: 350px;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    text-align: center;
    align-items: center;
    padding: var(--spacing-lg);
}

footer h1 {
    font-size: clamp(4rem, 8vw, 8rem);
    color: #F2EFEB;
}

footer h4 {
    font-size: 1.6rem;
    letter-spacing: 3px;
    margin-bottom: var(--spacing-md);
    color: #F2EFEB;
}

footer p {
    margin: var(--spacing-xs) 0;
    line-height: 1.4;
    color: #F2EFEB;
}

.ig_footer a img {
    width: 70px;
    height: 70px;
    transition: transform var(--transition-medium);
    background-color: #F2EFEB;
    border-radius: 50%;
    margin: 0 auto;
}

.ig_footer a img:hover {
    transform: scale(1.1);
}

.contacto a {
    text-decoration:underline;
    color: #F2EFEB;
    transition: color var(--transition-medium);
}


.contacto img {
    width: 50px;
    height: 50px;
}

/* ===== ANIMACIONES Y EFECTOS ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeIn 0.8s ease forwards;
}

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

.scale-on-hover {
    transition: transform var(--transition-medium);
}

.scale-on-hover:hover {
    transform: scale(1.05);
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1440px) {
    header ul {
        font-size: 1.4rem;
        gap: 5rem;
        padding: 0;
    }

    footer h1 {
        font-size: 4rem;
    }

    .contacto {
        width: auto;
    }
}

@media (max-width: 810px) {
    :root {
        --spacing-md: 1rem;
        --spacing-lg: 1.5rem;
        --spacing-xl: 2rem;
        --spacing-xxl: 2.5rem;
    }

    .hidden-mobile {
        display: none;
    }

    .hidden-desktop {
        display: block;
    }

    header {
        flex-direction: column;
        height: auto;
        padding: var(--spacing-sm);
    }

    header h1 {
        margin-bottom: 10px;
        margin-top: 10px;
        font-size: 3rem;
    }

    header ul {
        font-size: 1.2rem;
        gap: 2rem;
        padding: 0;
    }

    .btn,
    button {
        margin-bottom: 15px;
    }

    footer {
        display: flex;
        flex-direction: column-reverse;
        height: auto;
        padding: var(--spacing-lg);
    }

    footer h1 {
        font-size: 3.5rem;
        margin: 0;
    }

    footer h4 {
        margin: 0;
        margin-top: 10px;
        margin-bottom: 10px;
        margin-left: 15px;
    }

    footer p {
        margin: 15px;
    }

    .ig_footer {
        display: none;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 2.5rem;
    }

    header ul {
        font-size: 1rem;
        gap: 1rem;
    }

    .btn span,
    button span {
        padding: 14px 20px;
        font-size: 1.2rem;
    }

    .slider .slide p {
        font-size: 1.8rem;
    }

    .warning {
        height: 40px;
    }
}

/* ===== ACCESIBILIDAD ===== */
.keyboard-navigation *:focus {
    outline: 2px solid var(--primary-color) !important;
    outline-offset: 2px !important;
}

/* ===== LOADING STATES ===== */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    100% {
        left: 100%;
    }
}

/* ===== UTILIDADES ADICIONALES ===== */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}