/* Variables de color */
:root {
    --bg-dark: #0a0a0a;
    --bg-light: #1a1a1a;
    --gold: #d4af37;
    --gold-hover: #f0c950;
    --text-light: #f5f5f5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
}

h1, h2, h3, .logo-text {
    font-family: 'Cinzel', serif;
    color: var(--gold);
    text-transform: uppercase;
}

/* Navegación */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    padding: 10px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    height: 80px; /* Altura fija para evitar que el logo la agrande */
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    height: 100%;
}

/* FIX DEL LOGO GIGANTE */
.navbar .logo img#site-logo {
    height: 55px !important;    /* Forzamos el tamaño */
    width: auto !important;     /* Mantenemos proporción */
    max-height: 55px;
    object-fit: contain;
    display: block;
}

.logo-text {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.menu-toggle {
    display: none;
    color: var(--gold);
    font-size: 1.8rem;
    cursor: pointer;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--gold);
}

/* Estilo para la ubicación */
.contact-location {
    margin-bottom: 30px;
}

.contact-location a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s;
}

.contact-location i {
    color: var(--gold);
    margin-right: 10px;
}

.contact-location a:hover {
    color: var(--gold);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(10,10,10,0.7), rgba(10,10,10,0.9)), url('./img/back.jpg') center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    text-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.btn-gold {
    display: inline-block;
    padding: 15px 40px;
    background-color: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 2px;
    transition: all 0.3s;
}

.btn-gold:hover {
    background-color: var(--gold);
    color: var(--bg-dark);
}

/* Secciones */
.section {
    padding: 100px 20px;
    text-align: center;
}

.section h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.dark-bg {
    background-color: var(--bg-light);
}

.spacer { height: 120px; width: 100%; }
.layer1 { background: linear-gradient(to bottom, var(--bg-dark), var(--bg-light)); }
.layer2 { background: linear-gradient(to bottom, var(--bg-light), var(--bg-dark)); }

/* Horarios Grid */
.grid-horarios {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.card-horario {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 40px;
    border-radius: 5px;
    min-width: 280px;
    transition: transform 0.3s;
}

.card-horario:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
}

/* Carrusel */
.carousel-container {
    position: relative;
    max-width: 900px;
    height: 500px;
    margin: 0 auto;
    overflow: hidden;
    border: 2px solid var(--gold);
    border-radius: 5px;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.carousel-slide.active { opacity: 1; }

/* Redes Sociales */
.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.social-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--gold);
    color: var(--gold);
    text-decoration: none;
    transition: all 0.3s;
}

.social-icon:hover {
    background: var(--gold);
    color: var(--bg-dark);
    transform: scale(1.1);
}

footer {
    background-color: #000;
    text-align: center;
    padding: 30px 20px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

/* ========================================= */
/* MÓVILES (Menú prolijo y mejorado)         */
/* ========================================= */
@media screen and (max-width: 768px) {
    .navbar {
        padding: 10px 20px; /* Reducimos el padding lateral para que respire mejor */
    }
    
    .logo-text {
        font-size: 1rem; /* Un poco más pequeño para que no apriete al botón del menú */
    }

    .menu-toggle { display: block; }

    .nav-links {
        position: absolute;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px); /* Hace que el menú ocupe toda la pantalla hacia abajo */
        background: rgba(10, 10, 10, 0.98);
        flex-direction: column;
        align-items: center; /* Centra los enlaces horizontalmente */
        justify-content: flex-start;
        padding-top: 40px; /* Da un margen superior agradable */
        transition: left 0.4s ease-in-out; /* Transición más fluida */
        border-top: 1px solid rgba(212, 175, 55, 0.2); /* Línea dorada sutil arriba */
    }

    .nav-links.active { left: 0; }

    .nav-links li {
        width: 100%;
        text-align: center;
        margin: 15px 0; /* Mayor espacio vertical entre los links */
    }

    .nav-links a {
        display: inline-block;
        font-size: 1.2rem; /* Letra más grande para facilitar el toque (Touch Target) */
        padding: 10px 20px;
    }

    .hero-content h1 { font-size: 2.5rem; }
}