/* ==========================================================================
   DISEÑO VISUAL PREMIUM - SAL & PIMIENTA CON DIOS
   ========================================================================== */

/* Variables CSS - Paleta de colores curada */
:root {
    --bg-dark: hsl(24, 12%, 6%);
    --bg-card: hsl(24, 10%, 10%);
    --bg-card-hover: hsl(24, 10%, 13%);
    --primary: hsl(22, 90%, 55%);      /* Naranja Fuego */
    --primary-hover: hsl(22, 95%, 48%);
    --secondary: hsl(40, 95%, 55%);    /* Amarillo Mostaza */
    --secondary-hover: hsl(40, 95%, 48%);
    --text-main: hsl(0, 0%, 96%);
    --text-muted: hsl(24, 10%, 65%);
    --border-color: hsl(24, 10%, 16%);
    --border-highlight: hsl(22, 90%, 35%);
    --glass-bg: rgba(18, 14, 12, 0.75);
    --glass-border: rgba(255, 107, 38, 0.15);
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 12px 28px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 20px 48px rgba(0, 0, 0, 0.7);
    --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

/* Reset y Estilos Globales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-dark);
    color: var(--text-main);
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Tipografías */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

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

/* Botones Premium */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #000;
    box-shadow: 0 4px 20px rgba(255, 107, 38, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 107, 38, 0.5);
    background: linear-gradient(135deg, var(--primary-hover), var(--secondary-hover));
}

.btn-secondary {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-main);
}

.btn-secondary:hover {
    background-color: var(--bg-card-hover);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: #000;
    box-shadow: 0 4px 15px rgba(255, 107, 38, 0.3);
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-whatsapp {
    background-color: #25D366;
    color: #fff;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    font-weight: 700;
}

.btn-whatsapp:hover {
    background-color: #20ba5a;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
    transform: translateY(-2px);
}

.icon {
    width: 1.25rem;
    height: 1.25rem;
}

/* ==========================================================================
   Header / Navbar
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.main-header.scrolled {
    padding: 0.5rem 0;
    background-color: rgba(10, 8, 7, 0.95);
    box-shadow: var(--shadow-sm);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img {
    height: 72px;
    width: 72px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--primary);
    box-shadow: 0 0 10px rgba(255, 107, 38, 0.3);
    transition: var(--transition-smooth);
}

.main-header.scrolled .logo-img {
    height: 52px;
    width: 52px;
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.4rem;
    background: linear-gradient(135deg, #fff, var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-menu ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-main);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: var(--transition-smooth);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-main);
    cursor: pointer;
    width: 32px;
    height: 32px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    padding-top: 120px;
    padding-bottom: 80px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 80% 20%, rgba(255, 107, 38, 0.12) 0%, rgba(0, 0, 0, 0) 60%),
                radial-gradient(circle at 10% 80%, rgba(255, 203, 38, 0.05) 0%, rgba(0, 0, 0, 0) 50%);
    z-index: 1;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text-main) 60%, var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-badge {
    background: rgba(255, 107, 38, 0.15);
    border: 1px solid rgba(255, 107, 38, 0.3);
    color: var(--primary);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 550px;
}

.hero-actions {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    background-color: var(--bg-card);
}

.hero-image {
    width: 100%;
    height: 480px;
    object-fit: cover;
    filter: brightness(0.9);
    transition: var(--transition-smooth);
}

.hero-image-wrapper:hover .hero-image {
    transform: scale(1.03);
    filter: brightness(1);
}

.floating-card {
    position: absolute;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    padding: 1rem 1.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.location-card {
    bottom: 24px;
    left: -24px;
    z-index: 3;
}

.location-card .dot {
    width: 12px;
    height: 12px;
    background-color: var(--secondary);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 10px var(--secondary);
    animation: pulse 2s infinite;
}

.location-card h4 {
    font-size: 0.95rem;
    font-weight: 700;
}

.location-card p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ==========================================================================
   Especialidades Section
   ========================================================================== */
.especialidades-section {
    padding: 100px 0;
    position: relative;
    background: linear-gradient(180deg, var(--bg-dark), hsl(24, 10%, 8%));
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem auto;
}

.section-subtitle {
    color: var(--primary);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
    display: inline-block;
}

.section-header h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.especialidades-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.specialty-card {
    background-color: var(--bg-card);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.specialty-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-highlight);
    box-shadow: var(--shadow-lg);
}

.card-img-wrapper {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.specialty-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.specialty-card:hover .specialty-img {
    transform: scale(1.05);
}

.card-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--primary);
    color: #000;
    font-weight: 800;
    font-size: 0.75rem;
    text-transform: uppercase;
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
}

.card-tag.tag-healthy {
    background-color: #25D366;
    color: #fff;
}

.card-body {
    padding: 1.75rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-body h3 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
}

.card-body p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--border-color);
    padding-top: 1.25rem;
}

.price {
    font-size: 1.35rem;
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--secondary);
}

/* ==========================================================================
   Menú Interactivo
   ========================================================================== */
.menu-section {
    padding: 100px 0;
    background-color: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.menu-decor-overlay {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 107, 38, 0.05) 0%, rgba(0,0,0,0) 70%);
    bottom: -100px;
    left: -100px;
    z-index: 1;
}

.interactive-panel {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: start;
    position: relative;
    z-index: 2;
}

/* Explorador de Menú */
.menu-explorer {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

.menu-categories {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.25rem;
    flex-wrap: wrap;
}

.category-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    padding: 0.6rem 1.2rem;
    cursor: pointer;
    border-radius: 50px;
    transition: var(--transition-smooth);
}

.category-btn:hover {
    color: var(--text-main);
    background-color: var(--border-color);
}

.category-btn.active {
    background-color: var(--primary);
    color: #000;
    box-shadow: 0 4px 15px rgba(255, 107, 38, 0.3);
}

.menu-products-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.product-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    padding: 1.25rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.product-item:hover {
    border-color: rgba(255, 107, 38, 0.3);
    background-color: var(--bg-card-hover);
    transform: translateX(4px);
}

.product-info h3 {
    font-size: 1.15rem;
    margin-bottom: 0.35rem;
}

.product-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    max-width: 450px;
}

.product-price {
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--secondary);
    font-size: 1.1rem;
}

.product-item.hide {
    display: none;
}

/* Carrito de Compra */
.cart-container {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 100px;
    min-height: 400px;
    display: flex;
    flex-direction: column;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.cart-header h3 {
    font-size: 1.3rem;
}

.cart-count {
    background-color: rgba(255, 107, 38, 0.15);
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
}

.cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    text-align: center;
    color: var(--text-muted);
    gap: 1rem;
    padding: 2rem 0;
}

.cart-empty svg {
    width: 64px;
    height: 64px;
    stroke-width: 1.5;
    color: var(--border-color);
}

.cart-empty p {
    font-size: 0.9rem;
    max-width: 200px;
}

.cart-items-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 1.5rem;
    padding-right: 0.5rem;
}

/* Scrollbar personalizado para el carrito */
.cart-items-list::-webkit-scrollbar {
    width: 6px;
}
.cart-items-list::-webkit-scrollbar-track {
    background: transparent;
}
.cart-items-list::-webkit-scrollbar-thumb {
    background-color: var(--border-color);
    border-radius: 10px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    animation: slideIn 0.3s forwards;
}

.cart-item-name {
    font-size: 0.9rem;
    font-weight: 600;
}

.cart-item-price {
    font-size: 0.85rem;
    color: var(--secondary);
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.qty-btn {
    background-color: var(--border-color);
    border: none;
    color: var(--text-main);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.qty-btn:hover {
    background-color: var(--primary);
    color: #000;
}

.cart-summary {
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.summary-line.highlight {
    font-size: 1.25rem;
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--text-main);
    border-bottom: 2px dashed var(--border-color);
    padding-bottom: 0.75rem;
    margin-bottom: 0.5rem;
}

.order-recipient-selector {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.order-recipient-selector label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
}

.order-recipient-selector select {
    background-color: var(--bg-dark);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 0.6rem;
    border-radius: 8px;
    font-family: var(--font-body);
    outline: none;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.order-recipient-selector select:focus {
    border-color: var(--primary);
}

.cart-items-list.hide,
.cart-summary.hide {
    display: none;
}

/* ==========================================================================
   Ubicación Section
   ========================================================================== */
.ubicacion-section {
    padding: 100px 0;
    background: linear-gradient(180deg, hsl(24, 10%, 8%), var(--bg-dark));
}

.ubicacion-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.locales-info {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.local-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
}

.local-card:hover {
    border-color: rgba(255, 107, 38, 0.4);
    transform: translateY(-2px);
}

.local-card.active {
    border-color: var(--primary);
    box-shadow: 0 4px 20px rgba(255, 107, 38, 0.1);
}

.local-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    background-color: rgba(255, 107, 38, 0.15);
    color: var(--primary);
}

.local-badge.badge-event {
    background-color: rgba(255, 203, 38, 0.15);
    color: var(--secondary);
}

.local-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    padding-right: 6rem;
}

.local-card .address {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
}

.local-card .schedule {
    font-size: 0.85rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
    display: flex;
    flex-direction: column;
}

.local-card .schedule strong {
    color: var(--text-main);
    margin-bottom: 0.25rem;
}

.local-card .schedule span {
    color: var(--text-muted);
}

.link-map {
    display: inline-block;
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 700;
}

.link-map:hover {
    text-decoration: underline;
}

.status-live {
    display: inline-block;
    margin-top: 1rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--secondary);
}

.map-visualizer {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    height: 420px;
    box-shadow: var(--shadow-lg);
}

.map-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.location-img-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.map-overlay-info {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    right: 1.5rem;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    padding: 1rem 1.5rem;
    border-radius: 16px;
    text-align: center;
}

.map-overlay-info span {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-main);
}

/* ==========================================================================
   Eventos / Catering Section
   ========================================================================== */
.eventos-section {
    padding: 100px 0;
    position: relative;
    background-color: var(--bg-dark);
}

.eventos-bg-overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle at 70% 50%, rgba(255, 107, 38, 0.08) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: 1;
}

.eventos-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.eventos-content h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}

.eventos-content p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.feature-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: rgba(37, 211, 102, 0.15);
    color: #25D366;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 0.9rem;
}

.feature-item span:last-child {
    font-size: 0.95rem;
    font-weight: 600;
}

.eventos-form-container {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
}

.eventos-form-container h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.75rem;
}

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

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background-color: var(--bg-dark);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 0.85rem 1.25rem;
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 107, 38, 0.15);
}

/* ==========================================================================
   Galería Section
   ========================================================================== */
.gallery-section {
    padding: 80px 0;
    background-color: hsl(24, 10%, 8%);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 280px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(10, 8, 7, 0.8) 0%, rgba(0, 0, 0, 0) 50%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    transition: var(--transition-smooth);
}

.gallery-overlay span {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: #fff;
    transform: translateY(10px);
    transition: var(--transition-smooth);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

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

/* ==========================================================================
   Footer
   ========================================================================== */
.main-footer {
    background-color: #070605;
    border-top: 1px solid var(--border-color);
    padding: 5rem 0 2rem 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.footer-logo {
    height: 90px;
    width: 90px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--primary);
    box-shadow: 0 0 15px rgba(255, 107, 38, 0.2);
}

.footer-brand-text h3 {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.footer-brand-text span {
    color: var(--secondary);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-links h4::after,
.footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary);
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
}

.footer-links a:hover {
    color: var(--text-main);
    padding-left: 4px;
}

.footer-contact ul li {
    font-size: 0.9rem;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.footer-contact ul li strong {
    color: var(--text-main);
}

.footer-contact a {
    color: var(--primary);
    font-weight: 700;
}

.footer-contact a:hover {
    text-decoration: underline;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem 0 1.5rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ==========================================================================
   Animaciones & Responsividad
   ========================================================================== */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 203, 38, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(255, 203, 38, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 203, 38, 0); }
}

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

/* Animaciones al hacer Scroll */
.animate-fade-in {
    opacity: 0;
    animation: slideIn 0.8s forwards ease-out;
}

.animate-slide-up {
    opacity: 0;
    transform: translateY(30px);
    animation: slideIn 0.8s forwards ease-out;
}

.delay-100 { animation-delay: 0.15s; }
.delay-200 { animation-delay: 0.3s; }

/* Media Queries Responsivos */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-visual {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .location-card {
        left: 20px;
    }
    
    .interactive-panel {
        grid-template-columns: 1fr;
    }
    
    .cart-container {
        position: static;
        min-height: auto;
    }
    
    .ubicacion-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .map-visualizer {
        height: 350px;
    }
    
    .eventos-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .footer-brand {
        align-items: center;
    }
    
    .footer-links h4::after,
    .footer-contact h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
    
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .main-header {
        padding: 0.5rem 0;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: rgba(10, 8, 7, 0.98);
        backdrop-filter: blur(15px);
        padding: 3rem 2rem;
        transition: var(--transition-smooth);
        z-index: 999;
        border-top: 1px solid var(--border-color);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu ul {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
    }
    
    .nav-link {
        font-size: 1.25rem;
    }
    
    .header-actions .btn {
        display: none; /* Se oculta para simplificar en móvil */
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
}
