
/* Colores y tipografía inspirados en las imágenes */
:root {
    --color-fondo-claro: #f5f3ec; /* Beige muy claro, casi crema */
    --color-texto-oscuro: #514b43; /* Marrón oscuro para textos principales */
    --color-texto-secundario: #887e74; /* Tono más suave para descripciones */
    --color-acento-principal: #d0b08b; /* Tostado/bronceado suave */
    --color-acento-secundario: #a38c75; /* Marrón más profundo */
    --color-resaltado: #e09f3e; /* Naranja/dorado para líneas y botones */

    /* Fuentes de Google Fonts */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Raleway', sans-serif;

    /* Colores para las líneas de ubicación */
    --color-linea-1: #5d9a9b; /* Teal */
    --color-linea-2: #e09f3e; /* Naranja */
    --color-linea-3: #9b5a5a; /* Rojo ladrillo */
    --color-linea-4: #8b6e99; /* Púrpura */
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: var(--color-fondo-claro);
    color: var(--color-texto-oscuro);
    box-sizing: border-box; /* Asegura que el padding no cause overflow */
}

/* --- Header --- */
header {
    background-color: var(--color-fondo-claro);
    padding: 1.5em 5%;
    border-bottom: 1px solid rgba(0,0,0,0.05); /* Línea sutil */
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-logo img {
    filter: brightness(0.5); /* Oscurece el logo para que combine con el texto */
	width: 120px;   /* ajusta el ancho del logo */
    height: auto; 
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.8em;
    font-weight: 700;
    color: var(--color-texto-oscuro);
    letter-spacing: 1px;
}

/* Icono login */
.header-login img {
    width: 30px;
    height: 30px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.header-login img:hover {
    transform: scale(1.1); /* efecto zoom */
}

header nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 25px;
}

.tab-link {
    background: none;
    border: none;
    color: var(--color-texto-oscuro);
    font-family: var(--font-body);
    font-size: 1em;
    font-weight: 500;
    cursor: pointer;
    padding: 5px 0;
    position: relative;
    transition: color 0.3s ease;
}

.tab-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 2px;
    background-color: var(--color-resaltado);
    transition: width 0.3s ease;
}

.tab-link:hover::after,
.tab-link.active::after {
    width: 100%;
}

.tab-link:hover {
    color: var(--color-resaltado);
}

.tab-link.active {
    color: var(--color-resaltado);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons img {
    filter: brightness(0.5); /* Oscurece los iconos */
    transition: filter 0.3s ease;
}

.social-icons img:hover {
    filter: brightness(0); /* Más oscuro al pasar el ratón */
}

/* --- Main Content Sections --- */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2em 20px;
}

.tab-content {
    display: none;
    padding: 2em 0;
}

.tab-content.active {
    display: block;
}

h2, h3 {
    font-family: var(--font-heading);
    color: var(--color-texto-oscuro);
    text-align: center;
    margin-bottom: 1em;
    font-weight: 700;
}

h2 { font-size: 3em; }
h3 { font-size: 2em; }

p {
    color: var(--color-texto-secundario);
    line-height: 1.8;
}

/* --- Hero Carousel Section (Inicio) --- */
.hero-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-bottom: 4em;
}

.carousel-item {
    display: none; /* Oculta todos por defecto */
    position: relative;
    transition: opacity 0.5s ease;
}

.carousel-item.active {
    display: block; /* Muestra solo el activo */
    opacity: 1;
}

.carousel-item img {
    width: 100%;
    height: 500px; /* Altura fija para el carrusel */
    object-fit: cover; /* Asegura que la imagen cubra el área */
    display: block;
}

.carousel-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(0,0,0,0.3); /* Capa semi-transparente */
    color: white;
    text-align: center;
    padding: 2em;
}

.carousel-text h2 {
    font-family: var(--font-heading);
    font-size: 3.5em;
    margin-bottom: 0.5em;
    color: white;
}

.carousel-text p {
    font-size: 1.2em;
    max-width: 700px;
    color: rgba(255,255,255,0.9);
}

.prev-btn, .next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 15px;
    cursor: pointer;
    font-size: 2em;
    z-index: 100;
    border-radius: 5px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.prev-btn:hover, .next-btn:hover {
    opacity: 1;
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

.carousel-nav {
    text-align: center;
    position: absolute;
    bottom: 20px;
    width: 100%;
}

.dot {
    height: 10px;
    width: 10px;
    margin: 0 5px;
    background-color: rgba(255,255,255,0.5);
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
    cursor: pointer;
}

.dot.active {
    background-color: white;
}

/* --- Intro Section ("Somos de Guatemala") --- */
.intro-section {
    text-align: center;
    margin-bottom: 4em;
}

.intro-section p {
    max-width: 700px;
    margin: 1em auto 2.5em;
    font-size: 1.1em;
}

.icon-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap; /* Permite que los iconos se envuelvan en pantallas pequeñas */
}

.icon-item {
    text-align: center;
}

.icon-item img {
    width: 80px;
    height: 80px;
    border: 1px solid var(--color-acento-principal);
    border-radius: 50%;
    padding: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    filter: brightness(0.6); /* Iconos más sutiles */
}

/* --- Restaurants Section --- */
.restaurants-section {
    text-align: center;
    margin-bottom: 4em;
}

.restaurant-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 2em;
}

.restaurant-gallery img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.restaurant-gallery img:hover {
    transform: translateY(-5px);
}

/* --- Salones Section --- */
.salones-hero {
    position: relative;
    width: 100%;
    height: 450px; /* Altura para el banner */
    overflow: hidden;
    margin-bottom: 4em;
}

.salones-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.salones-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(0,0,0,0.4);
    color: white;
    text-align: center;
    padding: 2em;
}

.salones-overlay h2 {
    font-family: var(--font-heading);
    font-size: 3.5em;
    margin-bottom: 1em;
    color: white;
}

.testimonial-section {
    margin-bottom: 4em;
}

.testimonial-content {
    display: flex;
    flex-direction: column; /* Columna por defecto para móvil */
    gap: 3em;
    align-items: center;
}

.testimonial-content img {
    width: 100%;
    max-width: 600px;
    height: auto;
    object-fit: cover;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.testimonial-text {
    text-align: center;
    font-style: italic;
    font-size: 1.1em;
    max-width: 600px;
}

.testimonial-text .quote {
    margin-bottom: 1em;
    color: var(--color-texto-secundario);
}

.testimonial-text .author {
    font-weight: 500;
    color: var(--color-texto-oscuro);
}

/* --- Ubicaciones Section --- */
.locations-section {
    margin-bottom: 4em;
}

.location-banner {
    position: relative;
    height: 250px; /* Altura del banner */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    margin-bottom: 3em;
}

.location-banner img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7); /* Oscurece la imagen de fondo */
    z-index: -1;
}

.location-banner h2 {
    font-family: var(--font-heading);
    font-size: 3em;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    z-index: 1;
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    text-align: left;
}

.location-item {
    padding-top: 1.5em;
    position: relative;
}

/* Líneas de colores */
.location-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 60px; /* Ancho de la línea */
    height: 3px;
}

.location-item .line-1 { background-color: var(--color-linea-1); }
.location-item .line-2 { background-color: var(--color-linea-2); }
.location-item .line-3 { background-color: var(--color-linea-3); }
.location-item .line-4 { background-color: var(--color-linea-4); }

.location-item h4 {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.2em;
    color: var(--color-texto-oscuro);
    margin: 0.5em 0 0.8em;
}

.location-item p {
    font-size: 0.9em;
    line-height: 1.6;
    margin: 0;
    color: var(--color-texto-secundario);
}

.location-item a {
    font-size: 0.9em;
    color: var(--color-acento-principal);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.location-item a:hover {
    color: var(--color-resaltado);
}

/* --- Menu Section --- */
.menu-category {
    margin-bottom: 3em;
}

.menu-category h3 {
    text-align: left;
    border-bottom: 2px solid var(--color-resaltado);
    padding-bottom: 0.5em;
    margin-bottom: 1.5em;
}

.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px dashed var(--color-acento-principal);
    padding-bottom: 1em;
    margin-bottom: 1em;
}

.menu-item h4 {
    font-size: 1.1em;
    font-weight: 700;
    color: var(--color-texto-oscuro);
    margin: 0;
}

.menu-item p {
    flex: 1;
    margin: 0 1em;
    color: var(--color-texto-secundario);
    line-height: 1.4;
    font-size: 0.9em;
}

.menu-item span {
    font-weight: bold;
    color: var(--color-resaltado);
    white-space: nowrap; /* Evita que el precio se rompa en varias líneas */
}

/* --- Contacto Section --- */
.contact-form {
    max-width: 600px;
    margin: 0 auto 3em;
    padding: 2em;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.contact-form h3 {
    margin-bottom: 1.5em;
    text-align: center;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5em;
    font-weight: 500;
    color: var(--color-texto-oscuro);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 1.5em;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: var(--font-body);
}

.contact-form textarea {
    resize: vertical;
}

.btn-primary {
    display: inline-block;
    background-color: var(--color-resaltado);
    color: white;
    padding: 12px 24px;
    text-align: center;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
}

.btn-primary:hover {
    background-color: var(--color-acento-secundario);
}

.map-container {
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.map-container iframe {
    width: 100%;
    height: 450px;
    border: 0;
}

/* --- Footer --- */
.main-footer {
    background-color: var(--color-acento-secundario);
    color: rgba(255,255,255,0.8);
    padding: 2em 5%;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo img {
    filter: brightness(1.5); /* Aclara el logo para el fondo oscuro */
	width: 100px;   /* un poco más pequeño que el del header */
    height: auto;
}

.footer-logo .logo-text {
    color: white;
    font-size: 1.5em;
}

.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 25px;
}

.footer-nav a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: white;
}

.footer-social img {
    filter: brightness(1.5);
	width: 30px;     /* ajusta el tamaño horizontal */
    height: 30px;    /* ajusta el tamaño vertical */
    margin: 0 8px;   /* espacio entre iconos */
    border-radius: 50%; /* opcional: hace los iconos redondeados */
    transition: transform 0.2s ease;
}


.footer-social img:hover {
    filter: brightness(2);
	 transform: scale(1.2); /* efecto al pasar el mouse */
}

.copy-right {
    margin-top: 1.5em;
    font-size: 0.9em;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5em;
}

/* --- Media Queries para responsividad --- */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    header nav ul {
        justify-content: center;
        margin-top: 1em;
    }
    .social-icons {
        margin-top: 1em;
    }
    .carousel-item img {
        height: 350px;
    }
    .carousel-text h2 {
        font-size: 2.5em;
    }
    .testimonial-content {
        flex-direction: column;
    }
    .testimonial-content img {
        max-width: 100%;
    }
    .location-banner h2 {
        font-size: 2em;
    }
    .locations-grid {
        grid-template-columns: 1fr;
    }
    .footer-content {
        flex-direction: column;
    }
    .footer-nav ul {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    header {
        padding: 1em 5%;
    }
    .logo-text {
        font-size: 1.5em;
    }
    header nav ul {
        gap: 10px;
        font-size: 0.9em;
    }
    .hero-carousel {
        height: 250px;
    }
    .carousel-item img {
        height: 250px;
    }
    .carousel-text h2 {
        font-size: 2em;
    }
    .carousel-text p {
        font-size: 0.9em;
    }
    h2 { font-size: 2em; }
    h3 { font-size: 1.5em; }
    .icon-item img {
        width: 60px;
        height: 60px;
    }
}

.social-icons img {
    width: 30px;     /* ajusta el tamaño horizontal */
    height: 30px;    /* ajusta el tamaño vertical */
    margin: 0 8px;   /* espacio entre iconos */
    border-radius: 50%; /* opcional: hace los iconos redondeados */
    transition: transform 0.2s ease;
}

.social-icons img:hover {
    transform: scale(1.2); /* efecto al pasar el mouse */
}



.iniciosecion
{

    text-decoration: none;
    color: black;
    font-family: sans-serif;
}

.iniciosecion:hover{

    color: grey;
}




/* === SECCIÓN UBICACIONES === */
#ubicaciones {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 0;
  text-align: center;
  overflow: hidden;
}

#ubicaciones h2 {
  font-size: 2em;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

#ubicaciones img[alt="Fondo de hojas decorativas"] {
  max-width: 100rem;
  opacity: 0.4;
}

/* === CARRUSEL PRINCIPAL === */
.carousel {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
}

.carousel-track {
  position: relative;
  width: 100%;
}

.slide {
  display: none;
  opacity: 0;
  transition: opacity 0.6s ease;
  padding: 10px;
}

.slide.active {
  display: block;
  opacity: 1;
}

/* === TARJETA DE SUCURSAL === */
.card-sucursal {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  overflow: hidden;
  margin: 20px auto;
  max-width: 900px;
  text-align: left;
}

.card-media {
  position: relative;
}

.card-media img {
  width: 100%;
  height: 400px; /* tamaño uniforme */
  object-fit: cover;
  display: block;
  border-radius: 12px 12px 0 0;
}

/* Overlay con botones */
.media-actions {
  position: absolute;
  top:0; left:0;
  width:100%; height:100%;
  display:flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  opacity:0;
  transition: opacity 0.3s;
  background: rgba(0,0,0,0.4);
  border-radius: 12px 12px 0 0;
}
.card-media:hover .media-actions { opacity:1; }

.media-actions .btn {
  background:#b14b00;
  color:#fff;
  padding:12px 20px;
  border-radius:6px;
  text-decoration:none;
  font-weight:600;
  font-size:1em;
  transition:0.3s;
}
.media-actions .btn:hover {
  background:#d25d00;
  transform: scale(1.05);
}

/* Texto */
.card-body { padding:20px; }
.card-body h3 { margin-bottom:10px; color:#3b1e00; font-size:1.4em; }
.card-body p { margin:8px 0; color:#444; line-height:1.5em; }
.card-body ul { list-style:none; padding:0; margin:10px 0; }
.card-body ul li { padding:3px 0; }

/* Mensaje */
.mensaje {
  margin-top:15px;
  font-style: italic;
  color:#6a3b00;
}

/* === CONTROLES PRINCIPALES (‹ ›) === */
.carousel-prev,
.carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.4);
  color: #fff;
  border: none;
  font-size: 2em;
  cursor: pointer;
  padding: 5px 10px;
  border-radius: 50%;
  transition: 0.3s;
  z-index: 10;
}
.carousel-prev:hover,
.carousel-next:hover {
  background: rgba(0,0,0,0.7);
}
.carousel-prev { left: 10px; }
.carousel-next { right: 10px; }

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .card-media img { height: 250px; }
  .media-actions .btn { font-size:0.9em; padding:10px 16px; }
  .carousel-prev, .carousel-next { font-size: 1.5em; }
}

        .mesas-grid {
            display: grid;
            grid-template-columns: repeat(5, 1fr);
            gap: 10px;
            margin: 1em 0;
        }
        .mesa {
            background: var(--color-adobe-claro);
            border: 2px solid var(--color-adobe-oscuro);
            border-radius: 8px;
            padding: 1em;
            text-align: center;
            cursor: pointer;
            transition: 0.3s;
        }
        .mesa.ocupada {
            background: #ccc;
            cursor: not-allowed;
        }
        .mesa.seleccionada {
            background: var(--color-adobe-oscuro);
            color: white;
        }

        .event-form {
            margin-top: 1em;
        }

        .reservas-lista {
            border-top: 2px solid var(--color-adobe-oscuro);
            margin-top: 2em;
            padding-top: 1em;
        }

        .reserva-item {
            background: #fff;
            border: 1px solid var(--color-adobe-claro);
            border-radius: 8px;
            padding: 1em;
            margin-bottom: 1em;
        }

        .ocupacion-barra {
            background: #eee;
            border-radius: 10px;
            overflow: hidden;
            height: 15px;
            margin-top: 5px;
        }
        .ocupacion-barra span {
            display: block;
            height: 100%;
            background: var(--color-adobe-oscuro);
        }
