/* ================== VARIABLES Y ESTILOS GLOBALES ================== */
:root {
    --primary-orange: #FF6600;
    --primary-turquoise: #3EC6D5;
    --dark-text: #333;
    --light-text: #555;
    --white: #FFFFFF;
    --light-gray-bg: #f9f9f9;
    --header-height: 70px;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Century Gothic Paneuropean', sans-serif;
    color: var(--dark-text);
    line-height: 1.6;
    background-color: var(--white);
}

h1, h2, h3 {
    margin-bottom: 1rem;
    font-weight: 650;
    line-height: 1.2;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; color: var(--primary-orange); }
h3 { font-size: 1.25rem; color: var(--primary-turquoise); }

p {
    margin-bottom: 1rem;
    color: var(--light-text);
}

a {
    text-decoration: none;
    color: var(--primary-orange);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-turquoise);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 5rem 0;
}

.section-alt {
    background-color: var(--light-gray-bg);
}

.text-center {
    text-align: center;
}

.grid-two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

/* ================== BOTONES ================== */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-orange);
    color: var(--white);
    border-color: var(--primary-orange);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-orange);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-orange);
}

.btn-large {
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
}

/* ================== HEADER Y NAVEGACIÓN ================== */
#header {
    width: 100%;
    height: var(--header-height);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    background-color: var(--white);
    transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

#header.sticky {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

#header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo img {
    height: 60px; /* Ajusta la altura de tu logo */
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--dark-text);
    font-weight: 500;
    padding: 0.5rem;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-turquoise);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-toggle {
    display: none; /* Oculto en escritorio */
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-orange);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* ================== HERO (INICIO) ================== */
.hero {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    color: var(--white);
    /* Imagen de fondo (reemplaza con la tuya) */
    background: url('assets/bg.svg') no-repeat center center/cover;
  
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3); /* Oscurece la imagen para legibilidad */
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 2rem;
    font-weight: 300;
}

.hero-buttons .btn {
    margin: 0 0.5rem;
}

/* ================== SOBRE NOSOTROS ================== */
.about-image img {
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* ================== MENÚ ================== */
#menu {
   background-color: beige;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.menu-item {
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.menu-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.menu-item h3 {
    padding: 1.5rem 1.5rem 0.5rem 1.5rem;
    margin: 0;
}

.menu-item p {
    padding: 0 1.5rem 1.5rem 1.5rem;
    margin: 0;
    font-size: 0.9rem;
}

/* ================== GALERÍA ================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 3rem;
}

.gallery-item {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* ================== CTA (RESERVACIONES) ================== */
.cta-section {
    padding: 5rem 0;
    background-color: var(--primary-turquoise);
    color: var(--white);
}

.cta-section h2 {
    color: var(--white);
    font-size: 2.5rem;
}

.cta-section p {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.cta-section .btn-primary {
    background-color: var(--white);
    color: var(--primary-turquoise);
    border-color: var(--white);
}

.cta-section .btn-primary:hover {
    background-color: transparent;
    color: var(--white);
}

/* ================== CONTACTO ================== */
.contact-map iframe {
    border-radius: 10px;
}

.contact-info p {
    font-size: 1.1rem;
}

.social-icons {
    margin-top: 2rem;
}

.social-icons a {
    display: inline-block;
    margin-right: 1.5rem;
    color: var(--dark-text);
}

.social-icons a:hover {
    color: var(--primary-turquoise);
}

.social-icons svg {
    width: 30px;
    height: 30px;
    stroke-width: 1.5;
}

/* ================== FOOTER ================== */
footer {
    background-color: beige;
    color: var(--dark-text);
    padding: 3rem 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer-logo img {
    height: 65px; /* Logo más pequeño */
}

.footer-links a {
    color: #333;
    margin: 0 0.5rem;
}

.footer-links a:hover {
    color: var(--primary-turquoise);
}

.footer-copy {
    font-size: 0.9rem;
}

/* ================== ANIMACIONES DE SCROLL ================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ================== DISEÑO RESPONSIVO (MEDIA QUERIES) ================== */

/* Tablets */
@media (max-width: 992px) {
    .grid-two-columns {
        grid-template-columns: 1fr;
    }
    .about-image {
        order: -1; /* Pone la imagen primero en "Sobre Nosotros" */
    }
    .contact-wrapper {
        gap: 2rem;
    }
    .contact-map {
        order: -1; /* Pone el mapa primero en "Contacto" */
    }
    
    h1 { font-size: 2.5rem; }
    .hero h1 { font-size: 3rem; }
    .hero p { font-size: 1.25rem; }
}

/* Móviles */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        right: -100%; /* Oculto fuera de la pantalla */
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2.5rem;
        transition: right 0.4s ease-in-out;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
    
    .nav-menu.active {
        right: 0; /* Lo muestra */
    }
    
    .nav-link {
        font-size: 1.25rem;
    }
    
    .nav-toggle {
        display: flex;
        z-index: 1001; /* Asegura que esté sobre el menú */
    }

    /* Animación de la hamburguesa a "X" */
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .hero {
        min-height: 500px;
        height: 80vh;
    }
    
    .hero h1 { font-size: 2.5rem; }
    .hero p { font-size: 1.1rem; }
    
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
}