/* Global Styles */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #1b1b1b;
    color: white;
    margin: 0;
    padding: 0;
}

/* Navbar */
/* Logo en el Navbar */
.navbar-logo {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.navbar-logo:hover {
    transform: scale(1.1);
}

/* Navbar */
#menu {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    transition: background 0.3s ease;
}

#menu .nav-link {
    color: white;
    font-size: 1rem;
    padding: 10px 15px;
    transition: color 0.3s ease, border-bottom 0.3s ease;
}

/* NavBar */
.navbar-nav .nav-link {
    color: #fff;
    font-size: 1rem;
    position: relative;
    padding-bottom: 5px;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #f3a712;
}

/* Sección Activa */
.navbar-nav .nav-link.active {
    color: #f3a712; /* Amarillo para la sección activa */
    font-weight: bold;
}

.navbar-nav .nav-link.active::after {
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    background-color: #f3a712; /* Amarillo del subrayado */
    margin-top: 5px;
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
    width: 100%; /* Subrayado al hover */
}

.navbar-nav .nav-link:not(.active)::after {
    content: "";
    display: block;
    width: 0;
    height: 2px;
    background-color: #f3a712;
    transition: width 0.3s ease;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
    color: #f3a712;
}


/* Frase Animada */
.typewriter-section {
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('cervezas-bg.jpg') no-repeat center center/cover;
    position: relative;
}

.typewriter-section .overlay {
    background: rgba(0, 0, 0, 0.5);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.typewriter-section h2 {
    color: #f3a712;
    font-size: 2.5rem;
    text-align: center;
    margin: 0;
}

/* Animación para la frase */
#typewriter {
    animation: fade-in 3s ease-in-out;
}

.hero-section {
    position: relative;
    height: 100vh;
    background: url('hero-bg.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

/* Animación de fondo dinámico */
@keyframes slide-bg {
    0% {
        background-image: url('hero-bg1.jpg');
    }
    50% {
        background-image: url('hero-bg2.jpg');
    }
    100% {
        background-image: url('hero-bg3.jpg');
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

.hero-title {
    font-size: 4rem;
    font-weight: bold;
    color: #f3a712;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #f3f3f3;
    margin-bottom: 40px;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}

.btn {
    font-size: 1.3rem;
    font-weight: bold;
    padding: 10px 30px;
    border-radius: 30px;
    background: #f3a712;
    color: #1b1b1b;
    text-transform: uppercase;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.5);
    background: #cc8e10;
}

.scroll-indicator {
    position: absolute;
    bottom: 20px;
    animation: bounce 2s infinite;
    font-size: 2rem;
    color: #f3a712;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Animación clave */
@keyframes fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Header */
.header {
    background-color: #000;
    text-align: center;
    padding: 20px 0;
}

.header .title {
    font-size: 2.5rem;
    color: #f3a712;
}

/* Navbar */
.navbar {
    background-color: #292929;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
}

.navbar-nav .nav-link {
    color: #fff;
    font-weight: bold;
    padding: 10px 15px;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #f3a712;
}

/* Carousel */
.carousel-inner img {
    height: 500px;
    object-fit: cover;
}

/* Section Titles */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #f3a712;
    margin: 30px 0;
}

.section-title span {
    color: #f3f3f3;
}

/* Sección Cervezas */
.cervezas-section {
    background-color: #0d0d0d;
    color: white;
    padding: 70px 20px;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    color: #f3a712;
    margin-bottom: 40px;
}

.section-title span {
    color: white;
}

/* Grid de Cervezas */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    padding: 20px;
}

/* Tarjetas */
.card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: #292929;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.8);
}

/* Imagen de la cerveza */
.card-image {
    position: relative;
}

.card-image img {
    width: 100%;
    height: 250px;
    object-fit: contain;
    display: block;
    padding: 10px;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.card:hover .card-image img {
    transform: scale(1.05);
    filter: brightness(0.85);
}

/* Texto de "Ver Más" */
.card-image .card-icon {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7); /* Fondo oscuro translúcido */
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    transition: background 0.3s ease, transform 0.3s ease;
}

.card:hover .card-icon {
    background: rgba(255, 165, 0, 0.9); /* Fondo naranja al hover */
    transform: scale(1.1);
}

/* Overlay de información */
.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 10px;
    text-align: center;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.card:hover .card-overlay {
    transform: translateY(0);
}

/* Estilo de texto */
.card-overlay h3 {
    font-size: 1.3rem;
    color: #f3a712;
    margin-bottom: 5px;
}

.card-overlay p {
    font-size: 0.9rem;
    color: #ccc;
    margin: 2px 0;
}


.card:hover .card-image .card-icon {
    opacity: 1;
}

/* Overlay de información */
.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 10px;
    text-align: center;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.card:hover .card-overlay {
    transform: translateY(0);
}

/* Estilo de texto */
.card-overlay h3 {
    font-size: 1.3rem;
    color: #f3a712;
    margin-bottom: 5px;
}

.card-overlay p {
    font-size: 0.9rem;
    color: #ccc;
    margin: 2px 0;
}


/* Sección Platos */
.platos-section {
    background-color: #1a1a1a;
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.platos-section .section-title {
    font-size: 2.8rem;
    color: #f3a712;
    margin-bottom: 40px;
}

.platos-section .section-title span {
    color: white;
}

/* Grid de Platos */
.platos-grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 cartas por renglón */
    gap: 40px; /* Más separación entre las cartas */
    padding: 20px;
}

@media (max-width: 1024px) {
    .platos-grid-container {
        grid-template-columns: repeat(2, 1fr); /* 2 cartas en tablets */
    }
}

@media (max-width: 768px) {
    .platos-grid-container {
        grid-template-columns: repeat(1, 1fr); /* 1 carta en móviles */
    }
}

/* Tarjetas */
.platos-card {
    position: relative;
    overflow: hidden;
    border-radius: 15px; /* Bordes más redondeados */
    background: #292929;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.6);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.platos-card:hover {
    transform: translateY(-8px); /* Elevación al hacer hover */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.8);
}

/* Imagen del plato */
.platos-card-image img {
    width: 100%;
    height: 250px; /* Aumenta el tamaño de las imágenes */
    object-fit: cover; /* Asegura que las imágenes mantengan proporción */
    display: block;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.platos-card:hover .platos-card-image img {
    transform: scale(1.05); /* Efecto de zoom suave */
    filter: brightness(0.95);
}

/* Contenido del plato */
.platos-card-content {
    padding: 15px;
    text-align: center;
    background: rgba(0, 0, 0, 0.9); /* Fondo oscuro para el texto */
    color: white;
}

.platos-card-content h3 {
    font-size: 1.6rem; /* Tamaño del título más grande */
    color: #f3a712;
    margin-bottom: 10px;
}

.platos-card-content p {
    font-size: 1rem;
    color: #ccc;
    margin: 5px 0;
}



/* Sección Galería */
/* Sección Nuestro Local */
.galeria-section {
    background-color: #1a1a1a; /* Fondo oscuro */
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.galeria-section .section-title {
    font-size: 2.8rem;
    color: #f3a712;
    margin-bottom: 30px;
}

.galeria-section .section-title span {
    color: white;
}

/* Carrusel de Fotos */
.carousel-inner img {
    width: 100%;
    max-width: 1000px;
    height: auto;
    max-height: 500px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    border-radius: 10px;
}

/* Línea Separadora */
.linea-separadora {
    width: 80%;
    height: 2px;
    background-color: #f3a712; /* Amarillo */
    margin: 40px auto; /* Centrada con espacio */
    border-radius: 5px;
}

/* Ubicación */
/* Ubicación */
.ubicacion {
    margin: 20px auto;
    display: flex;
    align-items: flex-start; /* Ajusta la alineación vertical */
    justify-content: center;
    gap: 10px;
    font-size: 1.2rem;
    color: #ccc;
}

.ubicacion i {
    font-size: 1.5rem;
    color: #f3a712;
    position: relative;
    top: -2px; /* Mueve el ícono un poco hacia arriba */
    animation: bounce 1.5s infinite; /* Animación de rebote */
}

/* Animación de Rebote */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-5px);
    }
    60% {
        transform: translateY(-3px);
    }
}


/* Mapa */
.mapa-container {
    max-width: 1200px;
    margin: 40px auto; /* Espaciado con el resto */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5); /* Sombra */
    border-radius: 15px;
    overflow: hidden;
}

.mapa-container iframe {
    width: 100%;
    height: 450px;
    border: 0;
    border-radius: 15px;
}



/* Ajustes para pantallas pequeñas */
@media (max-width: 768px) {
    .carousel-inner img {
        max-width: 90%; /* Reduce el tamaño en pantallas pequeñas */
        max-height: 300px; /* Ajusta la altura en móviles */
    }
}




/* Sección Nosotros */
.nosotros-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
                url('img/fondo-nosotros.jpg') no-repeat center center/cover;
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.nosotros-content {
    max-width: 800px;
    margin: 0 auto;
}

.nosotros-section .section-title {
    font-size: 2.8rem;
    color: #f3a712;
    margin-bottom: 30px;
}

.nosotros-section .section-title span {
    color: white;
}

.nosotros-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #ccc;
}

.nosotros-text strong {
    color: #f3a712;
    font-weight: bold;
}

/* Contact Section */
#contacto {
    background: #1b1b1b;
    padding: 50px 20px;
    text-align: center;
}

#contacto h2 {
    color: #f3a712;
    margin-bottom: 20px;
}

#contacto form {
    max-width: 500px;
    margin: 0 auto;
}

#contacto input, #contacto textarea, #contacto button {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
}

#contacto button {
    background: #f3a712;
    color: #1b1b1b;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

#contacto button:hover {
    background: #cc8e10;
}

/* Footer */
.footer {
    background-color: #0d0d0d; /* Fondo oscuro */
    color: #fff;
    padding: 40px 20px;
    text-align: center;
    font-family: 'Arial', sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding-bottom: 20px;
}

/* Información del Footer */
.footer-info {
    text-align: left;
    flex: 1 1 40%;
}

.footer-info h3 {
    font-size: 1.5rem;
    color: #f3a712; /* Amarillo */
    margin-bottom: 10px;
}

.footer-info p {
    margin: 5px 0;
    font-size: 1rem;
    color: #ccc; /* Gris claro */
}

/* Redes Sociales */
.footer-social {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex: 1 1 20%;
}

.footer-social a {
    color: #f3a712; /* Amarillo */
    font-size: 1.8rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-social a:hover {
    color: #fff;
    transform: scale(1.2);
}

/* Línea Divisora */
.footer-line {
    width: 90%;
    height: 1px;
    background-color: #444;
    margin: 20px auto;
}

/* Derechos Reservados */
.footer-rights {
    text-align: center;
    font-size: 0.9rem;
    color: #ccc;
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-info, .footer-social {
        text-align: center;
        flex: 1 1 100%;
    }
}
