/* ========== RESET GENERAL ========== */
*,
*::before,
*::after {
margin: 0;
padding: 0;
box-sizing: border-box;
}

body {
font-family: Georgia, 'Times New Roman', Times, serif;
background-color: #cbb799;
min-height: 100vh;
}

/* ========== NAVBAR ========== */
.navbar {
display: flex;
align-items: center;
justify-content: center;
height: 50px;
width: 100%;
position: sticky;
top: 0;
background-color: #3d211a;
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
z-index: 999;
}

.navbar-container {
display: flex;
align-items: center;
justify-content: space-between;
width: 90%;
max-width: 1200px;
}

.navbar-logo {
font-size: 2rem;
font-weight: 600;
color: #fff;
text-decoration: none;
}

.navbar-menu {
display: flex;
gap: 1.5rem;
list-style: none;
}

.navbar-menu li a {
text-decoration: none;
color: whitesmoke;
font-size: 1rem;
padding: 6px 16px;
border-radius: 20px;
transition: all 0.1s ease;
border: 2px solid transparent;
}

.navbar-menu li a:hover,
.navbar-menu li a.active {
color: #162530;
background: rgba(188, 212, 229, 0.8);
border: 2px solid #3d211a;
}

/* ========== TOGGLE BUTTON (RESPONSIVE) ========== */
.navbar-toggle {
display: none;
background: transparent;
border: none;
cursor: pointer;
z-index: 1000;
}

.bar {
display: block;
width: 25px;
height: 3px;
margin: 5px auto;
background: whitesmoke;
transition: all 0.3s ease-in-out;
}

/* ========== CONTENIDO CENTRADO ========== */
.contenido {
display: flex;
flex-direction: column;
align-items: center;
padding: 2rem 1rem;
max-width: 1200px;
margin: 0 auto;
}


/* ========== CONTENIDO CENTRADO ========== */
.contenido {
display: flex;
flex-direction: column;
align-items: center;
padding: 2rem 1rem;
max-width: 1200px;
margin: 0 auto;
}

/* ---------------- HORARIOS / CARDS ---------------- */
.Horarios {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem;
    width: 100%;
    max-width: 1200px;
    margin: auto;
}

.card {
    background: #ece7e4;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card:hover {
    transform: scale(1.03);
}

.card img {
    width: 50%;
    height: auto;
    max-height: 250px;
    object-fit: cover;
    border-bottom: 4px solid #3d211a;
}

.intro {
    padding: 1rem;
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 880px) {
.navbar-menu {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.7rem !important;
    position: absolute;
    top: 0px;
    right: 0;
    width: 250px;
    padding: 2rem;
    backdrop-filter: blur(200px);    
    box-shadow: 0 10px 20px rgba(0, 0, 0, 10);
    
}

    .navbar-menu.active {
        display: flex;
    }

    .navbar-toggle {
        display: block;
    }

    /* Animación hamburguesa */
    .navbar-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    .navbar-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .navbar-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

@media (max-width: 480px) {
    .navbar-logo {
        font-size: 1.4rem;
    }

    .navbar-menu li a {
        font-size: 1rem;
    }
}


