/* Reset y estilos básicos */
:root {
    --primary-color: #007bff;
    --text-color: rgb(253, 253, 253);
    --background-light: #424214;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
}

/* Animación de gradiente para header */
@keyframes gradientAnimation {
    0% {background-position: 0% 50%;}
    50% {background-position: 100% 50%;}
    100% {background-position: 0% 50%;}
}

/* Estilos de header */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    background: linear-gradient(45deg, #ca7e0b, #424214, #6b3a02);
    background-size: 200% 200%;
    animation: gradientAnimation 10s ease infinite;
    transition: all 0.3s ease;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    width: 100px;
    margin-right: 20px;
    transition: transform 0.3s ease;
    position: relative;
}

.logo:hover {
    transform: scale(1.05);
}

.social-links a {
    margin-left: 10px;
    color: var(--text-color);
    text-decoration: none;
    font-size: 30px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-color);
    transform: scale(1.2);
}

/* Estilos de navegación */
.nav-menu {
    display: flex;
    list-style: none;
    position: relative;
}

.nav-menu li {
    margin: 0 15px;
    position: relative;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: bold;
    position: relative;
    padding-bottom: 5px;
    transition: color 0.3s ease;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
    left: 0;
}

.nav-menu li:hover > .submenu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--background-light);
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    z-index: 10;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.submenu li {
    margin: 0;
}

.submenu a {
    display: block;
    padding: 15px 15px;
    color: var(--text-color);
}

.submenu a:hover {
    background-color: #f1f1f1;
}

/* Estilos de carrusel */
.carousel-container {
    position: relative;
    width: 100%;
    height: 500px; /* Altura fija para evitar saltos */
    overflow: hidden;
}

.carousel {
    display: flex;
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 15px;
    cursor: pointer;
    z-index: 2;
    transition: background-color 0.3s ease;
}

.carousel-prev:hover,
.carousel-next:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

.carousel-prev {
    left: 10px;
}

.carousel-next {
    right: 10px;
}

/* Responsive design */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
    }
    .nav-menu {
        flex-direction: column;
        align-items: center;
    }
    .nav-menu li {
        margin: 10px 0;
    }
    .carousel-container {
        height: 300px; /* Altura menor en móviles */
    }
    .carousel-prev,
    .carousel-next {
        padding: 10px;
    }
}

.data {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.data > p {
    font-size: 1.5rem;
}

.data > p > i {
    color: #ca7e0b;
    margin-right: 10px;
    font-size: 25px;
}

.links {
    display: flex;
    gap: 15px;
    font-size: 1rem;
}

.links > a {
    text-decoration: none;
    width: 40px;
    height: 40px;
    background: #ca7e0b;
    text-align: center;
    transition: .1s;
}

.links > a > i {
    color: #000;
    line-height: 40px;
    font-size: 20px;
}

form {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 15px;
}

.input-box {
    position: relative;
}

.input-box > input {
    width: 100%;
    height: 40px;
    padding: 0 10px;
    outline: none;
    border: 3px solid #ca7e0b;
    letter-spacing: 1px;
    transition: .3s;
    color: #000;
}

.input-box > input:focus, .input-box > textarea:focus {
    border-bottom: 3px solid #ca7e0b;
    animation: shake .2s;
}

.input-box > input::placeholder, .input-box > textarea::placeholder {
    color: #938e8e;
}

.input-box > input:focus::placeholder, .input-box > textarea:focus::placeholder {
    color: transparent;
}

.input-box > textarea {
    width: 100%;
    height: 130px;
    background: rgba(255, 255, 255, 0.921);
    border: 3px solid #ca7e0b;
    letter-spacing: 1px;
    transition: .3s;
    color: #000;
    padding: 10px;
    outline: none;
}

.input-box > i {
    color: rgba(255 255 255 / .3);
    position: absolute;
    top: 50%;
    transform: translate(-50%);
    right: 15px;
    transition: .3s;
}

.input-box > input:focus ~ i {
    color: #ca7e0b;
}

form > button {
    background: #ca7e0b;
    color: #000;
    border: none;
    outline: none;
    cursor: pointer;
    font-size: 1rem;
    padding: 10px;
    transition: .2s;
    position: relative;
}

form > button:hover, .links > a:hover {
    background: #eb981c;
}

@keyframes shake {
    0%, 100% {transform: translateX(0);}
    10%, 30%, 50%, 70%, 90% {transform: translateX(-10px);}
    20%, 40%, 60%, 80% {transform: translateX(10px);}
}

@media screen and (max-width:600px) {
    .container {
        width: 95%;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    .box-info {
        gap: 15px;
    }
    .box-info > h1 {
        font-size: 1.5rem
    }
}

:root {
    --primary-color: #23a6d5;
    --secondary-color: #e73c7e;
}

.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #ee7752, var(--secondary-color), var(--primary-color), #23d5ab);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    z-index: -1;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
        height: auto;
        width: 95%;
    }
    
    .contact-form-section, 
    .contact-info-section {
        padding: 15px;
    }
}
.whatsapp-icon {
    color: #25d366;
    font-size: 3rem;
    transition: color 0.3s ease;
    text-decoration: none;
}

.whatsapp-icon:hover {
    color: #128c7e;
}

:root {
    --primary-color: #3B82F6;
    --secondary-color: #F3F4F6;
}

.beer-card {
    transition: all 0.3s ease;
    cursor: pointer;
}

.beer-card:hover {
    transform: scale(1.05);
}

.beer-card.selected {
    transform: scale(1.3);
    z-index: 50;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.beer-description {
    display: none;
}

.beer-card.selected .beer-description {
    display: block;
    animation: fadeIn 0.3s ease;
}

.card-container {
    display: flex;
    grid-template-columns:repeat(2,50%);
    padding: 20px;
    gap: 10px;
    width: 100%;
    background-color: #fff;
}

.card {
    position: relative;
    width: 400px;
    height: 350px;
    margin: 20px;
}

.card .face {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 10px;
    overflow: hidden;
    transition: .5s;
}

.card .front {
    transform: perspective(600px) rotateY(0deg);
    box-shadow: 0 5px 10px #000;
}

.card .front img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card .front h3 {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 45px;
    line-height: 45px;
    color: #fff;
    background: rgba(0, 0, 0, .4);
    text-align: center;
}

.card .back {
    transform: perspective(600px) rotateY(180deg);
    background: rgb(3, 35, 54);
    padding: 15px;
    color: #f3f3f3;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    box-shadow: 0 5px #000;
}

.card .back .link {
    border-top: solid 1px #f3f3f3;
    height: 50px;
    line-height: 50px
}

.card .back .link a {
    color: #f3f3f3;
} 

.card .back h3 {
    font-size: 30px;
    margin-top: 20px;
    letter-spacing: 2px;
}

.card .back p {
    letter-spacing: 1px;
}

.card:hover .front {
    transform: perspective(600px) rotateY(180deg);
}

.card:hover .back {
    transform: perspective(600px) rotateY(360deg);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.footer {
    width: 100%;
    height: 50px;
    background-color: #1a1a1a;
    color: #ffffff;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.5s ease-in-out;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    padding: 0 20px;
}

.footer-text {
    font-size: 0.9rem;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-link {
    color: #ffffff;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #4CAF50; /* Color de hover, puedes cambiarlo */
}

/* Animación de scroll */
.footer.visible {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        justify-content: center;
        gap: 10px;
        padding: 10px;
    }

    .footer {
        height: auto;
        min-height: 50px;
    }
}
/* modificaciones*/

@media (max-width: 768px) {
    .carousel-container {
        height: 300px; /* Altura menor en móviles */
    }
    .carousel-prev,
    .carousel-next {
        padding: 10px;
    }
}
@media (max-width: 768px) {
    .carousel-container {
        height: 300px; /* Altura menor en móviles */
    }
    .carousel-prev,
    .carousel-next {
        padding: 10px;
    }
}
@media screen and (max-width:600px) {
    .container {
        width: 95%;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    .box-info {
        gap: 15px;
    }
    .box-info > h1 {
        font-size: 1.5rem
    }
}
@media (max-width: 768px) {
    .card-container {
        flex-direction: column;
        align-items: center;
    }
    .card {
        width: 90%;
        margin: 10px 0;
    }
}
html {
    font-size: 16px; /* Base para rem */
}

@media (max-width: 768px) {
    html {
        font-size: 14px; /* Reduce tamaño de fuente */
    }
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: #000;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.nav-menu a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #888;
}

.logo {
    width: 100px;
    height: auto;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.1);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: #fff;
    font-size: 2.25rem; /* 50% larger than original 1.5rem */
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #888;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1000;
}

.hamburger span {
    height: 3px;
    width: 25px;
    background-color: #fff;
    margin: 4px 0;
    transition: 0.4s;
}

/* Mobile Styles */
@media screen and (max-width: 768px) {
    .header {
        flex-direction: column;
        position: relative;
    }

    .logo-container {
        width: 100%;
        justify-content: center;
        position: relative;
    }

    .hamburger {
        display: flex;
        position: absolute;
        left: 1rem;
        top: 50%;
        transform: translateY(-50%);
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: #000;
        padding: 1rem;
        z-index: 100;
    }

    .nav-menu li {
        margin-bottom: 1rem;
        text-align: center;
    }

    .nav-menu.active {
        display: flex;
    }

    .social-links {
        margin-top: 1rem;
        justify-content: center;
    }

    /* Hamburger Animation */
    .hamburger.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
}

.container {
    display: flex;
    width: 100%;
    max-width: 1100px; /* Reducí un poco el ancho máximo */
    margin: 0 auto; /* Esto centra el contenedor */
    padding: 20px;
    gap: 10px;
}

.box-info {
    flex: 1;
    background-color: #f4f4f4;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.box-info h1 {
    margin-bottom: 20px;
    text-align: center;
    color: #333;
    font-size: 2rem;
}

.data {
    margin-bottom: 20px;
}

.data p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.data p i {
    margin-right: 10px;
    color: #007bff;
}

.links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.links a {
    color: #007bff;
    font-size: 24px;
    text-decoration: none;
}

form {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.input-box {
    position: relative;
    margin-bottom: 20px;
}

.input-box input, 
.input-box textarea {
    width: 100%;
    padding: 10px 40px 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.input-box i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #ffd000;
}

button {
    padding: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #0056b3;
}

/* Estilos Responsive */
@media screen and (max-width: 768px) {
    .container {
        flex-direction: column;
        width: 90%; /* Reducir ancho en móviles */
        margin: 0 auto; /* Centrar en móviles */
    }
    
    .box-info, 
    form {
        padding: 15px;
    }
}

/* Para pantallas muy pequeñas */
@media screen and (max-width: 480px) {
    .container {
        width: 95%; /* Aún más estrecho en móviles muy pequeños */
    }
}

/* Estilos base */
.beer-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 1rem;
}

/* Responsive para tablets */
@media (min-width: 576px) {
    .beer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Responsive para escritorios */
@media (min-width: 768px) {
    .beer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 992px) {
    .beer-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (min-width: 1200px) {
    .beer-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

.beer-card {
    position: relative;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.beer-card:hover {
    transform: scale(1.05);
}

.beer-image {
    width: 100%;
    height: 200px;
    object-fit: contain;
}

.beer-name {
    text-align: center;
    font-weight: bold;
    padding: 0.5rem;
}

.beer-description-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255,255,255,0.95);
    transform: translateY(100%);
    transition: transform 0.3s ease;
    padding: 1rem;
    overflow: auto;
}

.beer-card:hover .beer-description-overlay {
    transform: translateY(0);
}

.beer-description-image {
    width: 100%;
    height: 150px;
    object-fit: contain;
    margin-bottom: 0.5rem;
}

.beer-description-name {
    text-align: center;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.beer-description-text {
    font-size: 0.875rem;
    color: #666;
}

.beer-card.selected .beer-description-overlay {
    transform: translateY(0);
}
