/* General Styles */
body {
    font-family: 'Roboto', sans-serif;
    background-color: #ffffff;
    color: #333;
    margin: 0;
    padding: 0;
    text-align: center;
}

header {
    background-color: #f4a261;
    padding: 20px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header .logo {
    width: 100px;
}

header .main-title {
    color: #fff;
    font-size: 2.5em;
    margin: 0;
}

.nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px;
}

.nav-menu li a {
    color: #fff;
    font-size: 1.2em;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-menu li a:hover {
    color: #264653;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('hero-background.jpg') center/cover;
    padding: 100px 20px;
    color: #fff;
    text-align: center;
}

.hero-content {
    max-width: 600px;
    margin: auto;
}

.hero h2 {
    font-size: 3em;
    margin-bottom: 20px;
}

.hero .button {
    background-color: #e76f51;
    color: #fff;
    padding: 15px 30px;
    text-decoration: none;
    font-size: 1.2em;
    border-radius: 8px;
    transition: background-color 0.3s;
}

.hero .button:hover {
    background-color: #264653;
}

/* Menu Section */
.section-title {
    font-size: 2.5em;
    margin-top: 50px;
    color: #e76f51;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* Ajuste para mostrar 5 platos por fila en la página del menú */ /* Ajuste para mostrar 4 platos por fila */
    gap: 30px;
    padding: 40px;
}

.dish {
    background-color: #f4f4f4;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.dish:hover {
    transform: translateY(-5px);
}

.dish img {
    width: 100%;
    height: 240px;"  // Increase height by 20%
    }
  ]
}
    object-fit: cover;
}

.description-button {
    background-color: #e76f51;
    color: #fff;
    border: none;
    padding: 10px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s;
}

.description-button:hover {
    background-color: #264653;
}

.description {
    padding: 20px;
    color: #333;
    display: none;
    text-align: left;
}

/* Footer Section */
footer {
    background-color: #264653;
    color: #fff;
    padding: 20px;
}

.footer-content {
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.social-media {
    display: flex;
    gap: 15px;
}

.social-icon {
    color: #fff;
    font-size: 1.5em;
    text-decoration: none;
    transition: color 0.3s;
}

.social-icon:hover {
    color: #f4a261;
}

/* Slideshow Section */
.slideshow {
    
    pos
position: relative;
    max-width: 100%;
    margin: auto;
    overflow: hidden;
}

.slideshow img {
    width: 100%;
    
 
display: none;
}

.slideshow img.active {
    display: block;
}



/* Media Queries for Mobile Devices */
@media (max-width: 768px) {

    /* Header */
    header {
        flex-direction: column;
        padding: 10px;
    }

    header .logo {
        width: 80px; /* Reduce el tamaño del logo para móviles */
    }

    header .main-title {
        font-size: 2em; /* Reduce el tamaño del título */
    }

    .nav-menu {
        flex-direction: column; /* Coloca el menú en una columna */
        gap: 10px;
        margin-top: 15px;
    }

    /* Hero Section */
    .hero {
        padding: 50px 20px; /* Reduce el relleno */
    }

    .hero h2 {
        font-size: 2em; /* Reduce el tamaño del texto */

    }

    .hero .button {
        font-size: 1em; /* Ajusta el tamaño de los botones */
        padding: 10px 20px; /* Ajusta el relleno de los botones */
    }

    /* Slideshow Section */
    .slideshow {
        margin: 20px auto; /* Reduce el margen para móvil */
    }

    /* Menu Section */
    .section-title {
        font-size: 2em; /* Reduce el tamaño del título de la sección */
    }

    .menu-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* Adapta para mostrar menos platos por fila */
        gap: 20px; /* Reduce el espacio entre platos */
    }

    .dish img {
        height: 180px; /* Reduce la altura de las imágenes */
    }

    /* Footer Section */
    .footer-content {
        flex-direction: column; /* Coloca el contenido del pie de página en columna */
        text-align: center;
        gap: 15px;
    }

    .social-media {
        margin-top: 15px; /* Añade un margen superior */
    }
}
/* Slideshow Section */
.slideshow {
    position: relative;             /* Mantiene la posición relativa dentro del contenedor principal */
    max-width: 40%;                 /* Reduce el tamaño a un 60% del ancho total */
    margin: 20px auto;              /* Centra el pase de diapositivas horizontalmente */
    overflow: hidden;               /* Oculta cualquier parte que se desborde del contenedor */
}

.slideshow img {
    width: 100%;                    /* Asegura que las imágenes ocupen todo el ancho del contenedor */
    display: none;                  /* Oculta todas las imágenes por defecto */
}

.slideshow img.active {
    display: block;                 /* Solo muestra la imagen que tiene la clase 'active' */
}
/* Shared Background for Header and Hero */
header, .hero {
    background: url('mosaico_mexicano.jpg') center/cover;
    background-attachment: fixed; /* Fija el fondo para que parezca continuo */
}

/* Header Section */
header {
    background-color: rgba(244, 162, 97, 0.8); /* Color de fondo con transparencia */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
/* Additional Styling for the Hero Section */
.hero {
    padding-top: 20px; /* Ajusta el espacio para que se vea bien junto al header */
    padding-bottom: 100px;
}




.text-mexico {
    font-family: 'Cinzel Decorative', optima; /* Puedes usar una fuente que tenga un estilo similar */
    color: black; /* Texto en negro */
    font-size: 5em; /* Ajusta el tamaño de la fuente según sea necesario */
    text-align: center; /* Centrado */
    
    
font-weight: bold;
    text-shadow: 
        -2px -2px 0 #fff,  
        2px -2px 0 #fff,
        -2px 2px 0 #fff,
        2px 2px 0 #fff; /* Crea un borde blanco alrededor del texto */
}


.nav-menu a {
    font-family: 'Cinzel Decorative', optima; /* Fuente con estilo similar */
    color: black; /* Texto en negro */
    font-size: 1.5em; /* Ajusta el tamaño según sea necesario */
    font-weight: bold;
    text-shadow: 
        -
  
2px -2px 0 #fff,  
        2px -2px 0 #fff,
        -2px 2px 0 #fff,
        2px 2px 0 #fff; /* Borde blanco alrededor del texto */
