:root {
    --bg-white: #ffffff;
    --bg-black: #000000;
    --bg-green: #2B7E38;
    --bg-orange: #E26A07;
    --bg-gray: #343a40; /* Updated to a darker, more Bootstrap-like gray */
    --bg-yellow: #FFC300;
}

body {
    background-color: var(--bg-black);
    font-family: "Merriweather", serif;
    color: var(--bs-white); /* Use Bootstrap's white variable for better integration */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* --- Section and Title Styles --- */
.section-title-main {
    color: var(--bg-orange);
    font-weight: bold;
    font-size: 2.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.section-subtitle-h3 {
    color: var(--bg-green);
    font-size: 1.75rem;
    font-weight: 600;
    border-bottom: 2px solid var(--bg-green);
    display: inline-block;
    padding-bottom: 5px;
    margin-bottom: 1.5rem !important;
}

p, li {
    font-weight: 300;
}

/* --- Carrusel Custom --- */
        .carousel-container {
            position: relative;
            overflow: hidden;
            padding: 0 60px; /* Espacio para las flechas */
        }

        .carousel-track {
            display: flex;
            transition: transform 0.5s ease-in-out;
            gap: 1.5rem;
        }

        .carousel-card {
            flex: 0 0 calc(25% - 1.125rem); /* 25% para mostrar 4 cards, menos el gap */
            min-width: 250px;
        }

        .carousel-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: var(--bg-orange);
            border: none;
            border-radius: 50%;
            width: 50px;
            height: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.2rem;
            cursor: pointer;
            transition: all 0.3s ease;
            z-index: 10;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
        }

        .carousel-nav:hover {
            background: #e06610;
            transform: translateY(-50%) scale(1.1);
        }

        .carousel-nav:disabled {
            background: #ccc;
            cursor: not-allowed;
            opacity: 0.5;
        }

        .carousel-nav:disabled:hover {
            transform: translateY(-50%) scale(1);
        }

        .carousel-prev {
            left: 10px;
        }

        .carousel-next {
            right: 10px;
        }

        /* --- Product Card Styles --- */
        .card-product {
            background-color: var(--bg-gray);
            border: 1px solid var(--bg-green);
            border-radius: 0.5rem;
            overflow: hidden;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            cursor: pointer;
            height: 400px;
        }

        .card-product:hover {
            transform: translateY(-8px);
            box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
        }

        .card-product .card-img-top {
            height: 250px;
            object-fit: contain;
            padding: 1.5rem;
            background-color: var(--bg-white);
        }

        .card-product .card-title {
            color: var(--bg-yellow);
            font-size: 1.2rem;
            font-weight: bold;
            padding: 1rem;
        }

        /* Responsive */
        @media (max-width: 992px) {
            .carousel-card {
                flex: 0 0 calc(33.333% - 1rem); /* 3 cards en tablet */
            }
        }

        @media (max-width: 768px) {
            .carousel-card {
                flex: 0 0 calc(50% - 0.75rem); /* 2 cards en móvil */
            }
            .carousel-container {
                padding: 0 50px;
            }
        }

        @media (max-width: 576px) {
            .carousel-card {
                flex: 0 0 calc(100% - 0.5rem); /* 1 card en móviles pequeños */
            }
            .carousel-container {
                padding: 0 40px;
            }
        }

        /* Estilos adicionales para la sección */
        .section-title-main {
            font-size: 2.5rem;
            color: var(--bg-orange);
            font-weight: bold;
        }

        .section-subtitle-h3 {
            font-size: 1.8rem;
            color: var(--bg-green);
            font-weight: bold;
        }

/* --- Precios y Servicios Section --- */
/* --- Precios y Servicios Section --- */
.product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background-color: var(--bg-gray);
    border: 1px solid var(--bg-orange);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.6);
}

/* Info block - altura fija */
.info-block {
    background-color: var(--bg-black);
    color: var(--bg-white);
    border-radius: 10px 10px 0 0;
    position: relative;
    padding: 1rem 2rem;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    width: 100%;
    clip-path: polygon(0 0, 100% 0, 100% 80%, 50% 100%, 0 80%);
    flex-shrink: 0;
    min-height: 120px; /* Altura mínima fija */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.info-item {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-icon {
    width: 25px;
    height: auto;
    margin-right: 10px;
}

/* Contenedor de imagen - espacio flexible pero controlado */
.product-card .w-100.h-100.d-flex {
    flex: 1; /* Toma el espacio restante */
    min-height: 150px; /* Altura mínima para las imágenes */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem 0;
}

.content-product-img{
    height: 300px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-img {
    max-width: auto;
    max-height: 100%; 
    object-fit: contain; /* Mantiene proporción de la imagen */
    flex-shrink: 0;
}

#product-img {
    max-height: 60%;
}

/* Título del producto - altura fija */
.product-title {
    background-color: var(--bg-black);
    color: var(--bg-white);
    border-radius: 0 0 10px 10px;
    position: relative;
    padding: 1rem 2rem;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    width: 100%;
    clip-path: polygon(0 20%, 50% 0, 100% 20%, 100% 100%, 0 100%);
    flex-shrink: 0;
    min-height: 60px; /* Altura mínima fija */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Precio del producto - altura fija */
.product-price {
    background-color: var(--bg-orange);
    color: var(--bg-white);
    border-radius: 10px;
    position: relative;
    padding: 1rem 2rem;
    font-weight: bold;
    font-size: 1.5rem;
    text-transform: uppercase;
    text-align: center;
    width: 100%;
    flex-shrink: 0;
    min-height: 70px; /* Altura mínima fija */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- New: Servicio de Barra Section --- */

.services-section {
    border-radius: 10px;
    padding: 3rem;
}

.service-description {
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--bg-white);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.service-card {
    background-color: var(--bg-gray);
    border: 1px solid var(--bg-orange);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border-color: var(--bg-yellow);
}

.service-icon {
    width: 60px;
    height: auto;
}

.service-title {
    color: var(--bg-yellow);
    font-size: 1.1rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-top: 0.5rem;
}

.btn-service {
    background-color: var(--bg-orange);
    color: var(--bg-white);
    border: none;
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: bold;
    text-transform: uppercase;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-service:hover {
    background-color: var(--bg-yellow);
    color: var(--bg-black);
    transform: translateY(-2px);
}

/* --- New: Distribuye Nuestra Cerveza Section --- */

.distribute-section {
    color: var(--bg-white);
}

.distribute-intro {
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.distribute-card {
    background-color: var(--bg-gray);
    border: 1px solid var(--bg-orange);
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.distribute-card-title {
    color: var(--bg-yellow);
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
}

.distribute-list {
    list-style-type: none; /* Remove default bullet points */
    padding-left: 0;
}

.distribute-list li {
    position: relative;
    padding-left: 20px; /* Space for the custom bullet point */
    margin-bottom: 15px;
    font-size: 1rem;
}

/* Create a custom bullet point with a circle and an orange border */
.distribute-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    width: 8px;
    height: 8px;
    border: 2px solid var(--bg-orange);
    border-radius: 50%;
    background-color: transparent;
}

/* Media queries para responsive */
@media (max-width: 768px) {
    .product-card {
        min-height: 700px;
    }
    
    .product-card .d-flex.align-items-end {
        height: 450px;
    }
    
    .icon-wrapper svg {
        width: 20px;
    }
    
    .product-img {
        max-width: 220px; /* Imagen más grande en móvil también */
        max-height: 160px;
    }
}
/* --- Contact Section Styles --- */
.section-card {
    background-color: var(--bg-gray);
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.section-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.section-card h2 {
    color: var(--bg-yellow);
    margin-bottom: 1.5rem;
    font-size: 2rem;
    text-align: center;
}

.map-container {
    /* Required for a responsive aspect ratio */
    position: relative;
    width: 100%; /* Add this line */
    padding-bottom: 75%; /* 4:3 Aspect Ratio (adjust as needed) */
    height: 0;
    overflow: hidden;
    border-radius: 8px; /* Match card radius */
}

.map-container iframe {
    /* Required for iframe to fill the parent container */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; /* Add this line */
    height: 100%; /* Add this line */
    border: 0; /* Remove default iframe border */
}

.whatsapp-link {
    transition: transform 0.2s ease;
}

.whatsapp-link:hover {
    transform: scale(1.05);
}

.whatsapp-number {
    color: var(--bg-green);
    font-weight: bold;
    font-size: 1.25rem;
}

/* --- Modal Styles --- */
.modal-content {
    border: 1px solid var(--bg-green);
}

.modal-header {
    border-bottom: 1px solid var(--bg-green);
}

.modal-footer {
    border-top: 1px solid var(--bg-green);
}

.modal-title {
    color: var(--bg-orange);
    font-weight: bold;
}

.modal-image-small {
    max-width: 200px;
    height: auto;
    object-fit: contain;
    background-color: var(--bs-white);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid var(--bs-gray-500);
}

.modal-body h6 {
    color: var(--bg-green);
}

.modal-footer .btn-primary {
    background-color: var(--bg-orange);
    border-color: var(--bg-orange);
    font-weight: bold;
}

.modal-footer .btn-primary:hover {
    background-color: #c25805;
    border-color: #c25805;
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    .section-title-main {
        font-size: 2rem;
    }
    .section-subtitle-h3 {
        font-size: 1.5rem;
    }
}