@font-face {
    font-family: 'MicrobrewFour';
    src: url('../fonts/microbrew/Microbrew Four.otf') format('opentype');
}

@font-face {
    font-family: 'ThirstyRoughReg';
    src: url('../fonts/thirsty-rough/ThirstyRoughRegular.otf') format('opentype');
}

:root {
    --primary-color: #0D632F;
    /* Deep Green */
    --secondary-color: #132545;
    /* Navy Blue */
    --accent-color: #BDD6CB;
    /* Sage Green */
    --light-bg: #FAFCEF;
    /* Off White */
    --white: #ffffff;
    --dark: #132545;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background-color: var(--light-bg);
}

/* Header Styles */
.header-main {
    background-image: url('../imagenes/header-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 20px 0;
    position: relative;
    border-bottom: 8px solid var(--primary-color);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-links {
    color: var(--white);
    font-size: 16px;
    font-weight: 600;
}

.top-links a {
    color: var(--white);
    text-decoration: none;
    margin-right: 15px;
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icons a {
    color: var(--accent-color);
    font-size: 18px;
    text-decoration: none;
    transition: var(--transition);
}

.social-icons a:hover {
    color: var(--white);
}

.header-slogan {
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
}

.header-slogan img {
    max-height: 180px;
    /* Ajuste basado en la imagen */
    width: auto;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.menu-toggle {
    color: var(--accent-color);
    font-size: 28px;
    cursor: pointer;
    transition: var(--transition);
}

.menu-toggle:hover {
    color: var(--white);
}

/* Philosophy Section Styles */
.philosophy-section {
    padding: 0;
    /* Quita separación con el slider */
    overflow: hidden;
}

.philosophy-title {
    font-family: 'MicrobrewFour', sans-serif;
    font-size: 70px;
    color: #333;
    line-height: 1.1;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.philosophy-text {
    column-count: 2;
    column-gap: 40px;
    color: var(--secondary-color);
    line-height: 1.6;
    text-align: justify;
}

.philosophy-right-col {
    background-image: url('../imagenes/home-right-bg.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 0;
    min-height: 400px;
    color: var(--white);
}

.ethics-banner {
    background-image: url('../imagenes/home-right-icons.png');
    background-color: var(--primary-color);
    background-repeat: no-repeat;
    background-position: left center;
    padding: 20px 20px 20px 80px;
    font-family: 'MicrobrewFour', sans-serif;
    font-size: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.testimonial-container {
    padding: 40px;
}

.testimonial-text {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-style: normal;
    /* Ajuste para que ocupe aprox 5 líneas */
    line-height: 1.6;
    margin-bottom: 20px;
    color: var(--white);
    max-width: 90%;
}

.testimonial-author {
    font-size: 16px;
    margin-bottom: 30px;
}

.btn-green-transparent {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 10px 20px;
    font-weight: 700;
    text-transform: uppercase;
    transition: var(--transition);
}

.btn-green-transparent:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}

.green-tagline-bar {
    background-color: var(--accent-color);
    padding: 60px 15%;
    /* Mucho más padding lateral y vertical */
    text-align: center;
}

.tagline-text {
    font-family: 'ThirstyRoughReg', cursive;
    color: var(--secondary-color);
    font-size: 32px;
    margin: 0;
    line-height: 1.3;
}

@media (max-width: 992px) {
    .philosophy-title {
        font-size: 50px;
    }

    .philosophy-text {
        column-count: 1;
    }

    .philosophy-right-col {
        margin-top: 40px;
    }
}

/* Overlay Menu Styles */
.overlay-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--secondary-color);
    z-index: 9999;
    display: none;
    padding: 80px 40px;
    overflow-y: auto;
}

/* Animaciones manejadas por jQuery slideDown/slideUp */

.close-menu {
    position: absolute;
    top: 30px;
    right: 40px;
    color: var(--white);
    font-size: 40px;
    cursor: pointer;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.menu-column h3 {
    color: var(--white);
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.menu-column ul {
    list-style: none;
    padding: 0;
}

.menu-column ul li {
    margin-bottom: 8px;
}

.menu-column ul li a {
    color: rgba(255, 255, 255, 0.824);
    text-decoration: none;
    font-size: 1rem;
    transition: var(--transition);
    font-weight: 400;
}

.menu-column ul li a:hover {
    color: var(--white);
    padding-left: 5px;
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
    }

    .top-links {
        display: none;
    }

    .menu-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Products Carousel Section */
.products-carousel-section {
    width: 100%;
    overflow: hidden;
    position: relative;
    background-color: #000;
}

.product-item {
    position: relative;
    outline: none;
}

.product-item img {
    width: 100%;
    height: auto;
    display: block;
}

.product-overlay {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    text-align: center;
}

.btn-learn-more {
    display: inline-block;
    color: var(--white);
    text-decoration: none;
    padding: 10px 25px;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    transition: var(--transition);
}

.btn-learn-more:hover {
    opacity: 0.8;
    color: var(--white);
}

/* Slick Arrows Customization */
.slick-prev,
.slick-next {
    position: absolute;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 100;
    background: transparent !important;
    border: none !important;
    color: var(--white) !important;
    font-size: 50px !important;
    cursor: pointer;
    transition: var(--transition);
    width: 60px;
    height: 60px;
}

.slick-prev {
    left: 20px !important;
}

.slick-next {
    right: 20px !important;
}

.slick-prev:before,
.slick-next:before {
    display: none !important;
}

.slick-prev:hover,
.slick-next:hover {
    color: var(--primary-color) !important;
}

/* Recipes Section Styles */
.section-title-alt {
    font-family: 'MicrobrewFour', sans-serif;
    font-size: 40px;
    color: #333;
    text-transform: uppercase;
}

.recipe-card {
    transition: var(--transition);
}

.recipe-card:hover {
    transform: translateY(-5px);
}

.recipe-img img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.recipe-name {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    color: #333;
    min-height: 48px;
}

.btn-green-solid {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 30px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
    text-transform: uppercase;
}

.btn-green-solid:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}

/* Footer Styles */
.pre-footer-social {
    background-image: url('../imagenes/header-bg.jpg');
    background-size: cover;
    background-position: center;
    border-top: 5px solid var(--primary-color);
}

.main-footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding-bottom: 40px;
}

.footer-link-head {
    display: block;
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 16px;
}

.footer-link-head:hover {
    color: var(--white);
    text-decoration: underline;
}

.footer-sublinks {
    margin-bottom: 25px;
}

.footer-sublinks li {
    margin-bottom: 5px;
}

.footer-sublinks li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 13px;
    transition: var(--transition);
}

.footer-sublinks li a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-info address {
    font-style: normal;
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 0;
}

.footer-info p {
    font-size: 13px;
}

.footer-info h3 {
    font-size: 24px;
    letter-spacing: 1px;
}

.copyright-text {
    font-size: 12px;
}

.copyright-text a {
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
}

.copyright-text a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .footer-links-grid>[class*="col-"] {
        margin-bottom: 30px;
        text-align: center;
    }

    .footer-info {
        text-align: center;
        margin-bottom: 40px;
    }

    .footer-info .footer-logo {
        display: flex;
        justify-content: center;
    }

    .copyright-text {
        text-align: center !important;
        width: 100%;
    }
}

/* Product Detail Styles */
.packages-text p {
    margin-bottom: 5px;
}

.calendar-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.month-box {
    transition: var(--transition);
}

.month-box:hover {
    transform: scale(1.05);
    z-index: 10;
}

.month-name {
    letter-spacing: 0.5px;
}

/* Product Gallery Styles */
.product-gallery-section {
    border-top: 1px solid #eee;
    padding-top: 30px;
    margin-top: 40px;
}

.gallery-title {
    font-family: 'MicrobrewFour', sans-serif;
    font-size: 30px;
    color: #60a511;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.gallery-item {
    display: block;
    margin-bottom: 30px;
    text-decoration: none;
}

.gallery-thumb-wrapper {
    position: relative;
    padding: 10px;
    background: #fff;
    border: 1px solid #eee;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    overflow: hidden;
}

.gallery-thumb-wrapper img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.gallery-item:hover .gallery-thumb-wrapper {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border-color: #60a511;
    transform: translateY(-5px);
}

.gallery-item:hover .gallery-thumb-wrapper img {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .gallery-thumb-wrapper img {
        height: 200px;
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    cursor: pointer;
    display: none;
    transition: var(--transition);
}

.back-to-top-circle {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.back-to-top-circle i {
    color: #00ADEF;
    /* Celeste */
    font-size: 28px;
}

.back-to-top:hover {
    transform: translateY(-8px);
}

.back-to-top:hover .back-to-top-circle {
    background-color: var(--secondary-color);
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 1000;
    text-decoration: none;
    transition: var(--transition);
}

.whatsapp-circle {
    width: 60px;
    height: 60px;
    background-color: #25D366;
    /* WhatsApp Green */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: pulse-green 2s infinite;
}

.whatsapp-circle i {
    color: #fff;
    font-size: 32px;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}