/* Reset & Base */
:root {
    --primary-color: #d33a3a;
    --primary-dark: #b02a2a;
    --highlight-yellow: #e8b931;
    --highlight-green: #4a8a4f;
    --bg-light: #fcfafa;
    --text-main: #1a1a1a;
    --text-secondary: #5a5a5a;
    --white: #ffffff;
    --border-color: #e5e5e5;
    --font-heading: 'Manrope', sans-serif;
    --font-body: 'Manrope', sans-serif;
    --max-width: 1280px;
    --header-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-light);
}

body {
    line-height: 1.5;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

/* Material Icons */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    vertical-align: middle;
}

/* Utilities */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1rem;
}

.section-padding {
    padding: 4rem 1rem;
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.grid-cols-1 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.grid-cols-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.grid-cols-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.grid-cols-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

/* Responsive Grid */
@media (max-width: 1024px) {
    .grid-cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-cols-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .grid-cols-4,
    .grid-cols-3,
    .grid-cols-2 {
        grid-template-columns: 1fr;
    }
}

/* Header */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--white);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    height: var(--header-height);
    display: flex;
    align-items: center;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-main);
}

.logo img {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-main);
}

.nav-link:hover {
    color: var(--primary-color);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    border: 2px solid var(--white);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--text-main);
}

/* Hero Section */
.hero {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 85vh;
    /* Increased height */
    color: var(--white);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}



.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Parallax Separator */
.parallax-separator {
    position: relative;
    padding: 8rem 1rem;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    text-align: center;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
}

.parallax-separator .parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(211, 58, 58, 0.8), rgba(0, 0, 0, 0.7));
    z-index: 1;
}

.parallax-separator .container {
    position: relative;
    z-index: 2;
}

.parallax-separator h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.parallax-separator p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.7));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 1rem;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--white);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
    letter-spacing: -1px;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.hero-subtitle {
    font-size: 1.35rem;
    font-weight: 500;
    line-height: 1.6;
    margin: 0 auto 2.5rem;
    opacity: 0;
    color: rgba(255, 255, 255, 0.95);
    max-width: 750px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* About Section */
.about {
    background-color: var(--white);
    position: relative;
    z-index: 2;
}

.about-cards-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.card {
    background-color: var(--white);
    border: none;
    border-radius: 1rem;
    padding: 2rem;
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.card p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.icon-box {
    display: inline-flex;
    padding: 1rem;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    background-color: var(--bg-light);
    transition: transform 0.3s ease;
}

.card:hover .icon-box {
    transform: scale(1.1) rotate(5deg);
}

.icon-flag {
    color: var(--highlight-green);
    background-color: rgba(74, 138, 79, 0.1);
}

.icon-vis {
    color: var(--highlight-yellow);
    background-color: rgba(232, 185, 49, 0.1);
}

.icon-hand {
    color: var(--primary-color);
    background-color: rgba(211, 58, 58, 0.1);
}

/* Products Section */
.products {
    background-color: var(--bg-light);
}

.product-card {
    background-color: var(--white);
    border-radius: 0.75rem;
    padding: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.product-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.product-image {
    width: 100%;
    aspect-ratio: 16/9;
    background-size: cover;
    background-position: center;
    border-radius: 0.5rem;
    overflow: hidden;
    position: relative;
    margin-bottom: 1rem;
}

.product-image-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s;
}

.product-card:hover .product-image-overlay {
    background-color: rgba(0, 0, 0, 0);
}

/* Contact Section */
.contact {
    background-color: var(--white);
    border-top: 1px solid var(--border-color);
}

.contact-info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.contact-icon-circle {
    min-width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bg-primary-light {
    background-color: rgba(211, 58, 58, 0.1);
    color: var(--primary-color);
}

.bg-yellow-light {
    background-color: rgba(232, 185, 49, 0.1);
    color: #b48500;
}

.bg-green-light {
    background-color: rgba(74, 138, 79, 0.1);
    color: var(--highlight-green);
}

/* Footer Redesign */
footer {
    background-color: #111;
    color: var(--white);
    padding: 4rem 1rem 2rem;
    border-top: 4px solid var(--primary-color);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 3rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

.footer-column h3 {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-desc {
    color: #999;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    max-width: 350px;
}

.footer-links-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links-list a {
    color: #ccc;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links-list a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    color: #ccc;
    font-size: 0.95rem;
}

.footer-contact-item .material-symbols-outlined {
    color: var(--primary-color);
    font-size: 20px;
    margin-top: 2px;
}

.footer-bottom {
    border-top: 1px solid #333;
    margin-top: 3rem;
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.875rem;
    color: #666;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3.5rem;
    height: 3.5rem;
    background-color: var(--highlight-green);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    z-index: 999;
    transition: transform 0.2s ease, background-color 0.2s;
}

.whatsapp-btn:hover {
    background-color: #3d7341;
    transform: scale(1.1);
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .header-container {
        padding: 0 1rem;
    }

    .mobile-menu-btn {
        display: block;
    }

    .nav-menu {
        position: absolute;
        top: var(--header-height);
        left: 0;
        right: 0;
        background-color: var(--white);
        flex-direction: column;
        padding: 2rem;
        border-bottom: 1px solid var(--border-color);
        transform: translateY(-150%);
        transition: transform 0.3s ease-in-out;
        z-index: 990;
        gap: 1.5rem;
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 1rem !important;
        width: 100%;
    }

    .nav-menu.active {
        transform: translateY(0);
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    }

    .hero-title {
        font-size: 2.75rem;
    }

    .hero-subtitle {
        font-size: 1.15rem;
        padding: 0 1rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}


/* History Section & Parallax */
.history-section {
    position: relative;
    padding: 6rem 1rem;
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('nossa-historia-bg.jpg');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    color: var(--white);
}

.history-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 3rem;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 3rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    color: var(--text-main);
}

.history-text {
    flex: 1;
}

.history-text h2 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.history-icon-large {
    font-size: 80px;
    color: var(--white);
    background: var(--primary-color);
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(211, 58, 58, 0.3);
    transform: rotate(-5deg);
}

@media (max-width: 768px) {
    .history-content {
        flex-direction: column-reverse;
        padding: 2rem;
        text-align: center;
        gap: 2rem;
    }

    .history-icon-large {
        transform: none;
        font-size: 60px;
        padding: 1rem;
    }

    .history-icon-large {
        transform: none;
        font-size: 60px;
        padding: 1rem;
    }

}

@media (max-width: 1024px) {

    /* Fix Parallax on Tablets & Mobile */
    .history-section,
    .parallax-separator {
        background-attachment: scroll;
    }
}

/* Badge - Static by default (Index behavior) */
#montesite-footer-badge {
    width: 100%;
    z-index: 10;
}