/* Estilos CSS Base - CanMex */

:root {
    --primary-color: #ff7230ff;
    --secondary-color: #1e1e1e;

    --green-main: #80bc00;
    --green-dark: #118900;
    --green-sec: #77B616;

    --purple: #870064;
    --pink: #ff5a99;
    --yellow: #ffb000;
    --cream: #fffcf5;
    --peach: #ffca8a;
    --blue: #00a3efff;
    --blue-dark: #001f9cff;

    --white-soft: #fffcf5;
    --gray-dark: #1e1e1e;
    --gray-mid: #6f6e73;
    --gray-light: #F0F0F0;

    --font-primary: 'Urbanist', sans-serif;
    --font-special: 'Kalam', cursive;
    --font-deco: 'Caveat', cursive;
}

body {
    font-family: var(--font-primary);
    color: var(--secondary-color);
    font-size: 18px;
    line-height: 29.25px;
    letter-spacing: 0;
    font-weight: 400;
    background-color: var(--white-soft);
}

p {
    font-size: 18px;
    line-height: 29.25px;
    font-weight: 400;
}

/* Tipografía */
body h1 {
    font-size: 75px;
    font-weight: 700;
}

body h2 {
    font-size: 40px;
    font-weight: 700;
}

body h3 {
    font-size: 35px;
    font-weight: 700;
}

body h4 {
    font-size: 30px;
    font-weight: 700;
}

body h5 {
    font-size: 24px;
    font-weight: 700;
}

body h6 {
    font-size: 18px;
    font-weight: 700;
}

@media (max-width: 768px) {
    h4 {
        font-size: 25px;
    }

    h5 {
        font-size: 20px;
    }

    h6 {
        font-size: 16px;
    }
}

.kalam-text {
    font-family: var(--font-special);
    font-weight: 700;
    font-size: 1.3rem;
}

.font-caveat {
    font-family: var(--font-deco);
}

.text-nano {
    font-size: 14px;
    line-height: 1.5em;
}

/* Colores de Texto Utilidades */
.text-green {
    color: var(--green-main);
}

.text-green-2 {
    color: var(--green-third);
}

.text-orange {
    color: var(--primary-color);
}

.text-gray-1 {
    color: var(--gray-mid);
}

.text-gray-2 {
    color: var(--gray-dark);
}

.text-white {
    color: var(--white-soft);
}

/* Botones */
#principal-button {
    background-color: var(--primary-color);
    color: #ffffff;
    border-radius: 50px;
    padding: 15px 30px;
    font-weight: bold;
    transition: all 0.3s ease;
    display: inline-block;
}

#principal-button:hover {
    background-color: #f8b810;
}

.contact-button {
    background-color: var(--primary-color);
    color: white;
    border-radius: 50px;
    padding: 15px 30px;
    width: 100%;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.contact-button:hover {
    background-color: #f8b810;
}

/* Componentes */
.product-item,
.product-item-2 {
    background: #ffffff;
    border-radius: 16px;
    padding: 10px;
    transform: rotate(-3deg);
    transition: all 0.3s ease-in-out;
}

.product-item-2 {
    transform: rotate(2deg);
}

.product-item:hover,
.product-item-2:hover {
    background: var(--primary-color);
    color: #ffffff;
    transform: rotate(0deg);
}

.product-item:hover h5,
.product-item-2:hover h5,
.product-item:hover p,
.product-item-2:hover p {
    color: #ffffff;
}

.contact-icon {
    background: #ffffff;
    color: var(--primary-color);
    border-radius: 100px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Navbar */
nav {
    background: #ffffff;
    box-shadow: 0 8px 30px 0 rgba(128, 157, 121, 0.16);
    border-radius: 50px;
    padding: 5px 30px;
    z-index: 1000;
}

@media (max-width: 991px) {
    nav {
        border-radius: 0;
        width: 100%;
        top: 0;
        left: 0;
        margin: 0 !important;
    }
}

/* Utilities Layout */
.section-padding {
    padding: 4rem 0;
}

.hero-padding {
    padding-top: 20vh;
    padding-bottom: 5vh;
}

::selection {
    background: #c46220;
    color: white;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.animate-fade-in-up {
    animation-name: fadeInUp;
    animation-duration: 0.8s;
    animation-fill-mode: forwards;
}

/* Marquee Animation */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
        /* Move by 50% of the total width (which is one full set of items) */
    }
}

@keyframes scroll-reverse {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

.animate-marquee {
    animation: scroll 40s linear infinite;
    display: flex;
    /* Ensure it stays in a row */
    width: fit-content;
    /* Allow content to dictate width */
}

.animate-marquee-reverse {
    animation: scroll-reverse 40s linear infinite;
    display: flex;
    /* Ensure it stays in a row */
    width: fit-content;
    /* Allow content to dictate width */
}

/* Grass Divider Style for Contact Section */
.grass-section {
    padding-bottom: 50px;
    position: relative;
    background-image: url('../media/images/grass-1.png');
    background-repeat: repeat-x;
    background-position: bottom center;
    background-size: 7% auto;
    /* Increased repetition */
    z-index: 1;
}

.grass-section-2 {
    padding-bottom: 50px;
    position: relative;
    background-image: url('../media/images/grass-2.png');
    background-repeat: repeat-x;
    background-position: bottom center;
    background-size: 7% auto;
    z-index: 1;
}

@media (max-width: 768px) {

    .grass-section,
    .grass-section-2 {
        background-size: 25% auto;
    }
}

/* --- Consolidated Styles from HTML Files --- */

/* Text Shadow */
.text-shadow-sm {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

/* Mask Image (from Index) */
.mask-image-bottom {
    -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
}

/* Play Button Overlay (from Galleries) */
.play-overlay {
    background: rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.group:hover .play-overlay {
    background: rgba(0, 0, 0, 0.1);
}

/* Sticky Nav Shadows (for Galleries and Products) */
#gallery-nav,
#product-nav {
    box-shadow: none;
}

/* Applied when sticky */
#gallery-nav.shadow-stuck,
#product-nav.shadow-stuck {
    box-shadow: 0 4px 12px 0 rgba(128, 157, 121, 0.1);
}