/* ==========================================================================
   CSS Variables & Resets
   ========================================================================== */
:root {
    /* Brand Colors */
    --color-primary: #c1272d; /* Red from logo */
    --color-primary-dark: #a11e24;
    --color-secondary: #1a9c4d; /* Green from logo */
    --color-secondary-dark: #147a3c;
    --color-dark: #454545; /* Dark grey from GIANNONE text */
    --color-darker: #2a2a2a;
    
    /* Neutral Colors */
    --color-white: #ffffff;
    --color-light: #f8f9fa;
    --color-grey: #6c757d;
    --color-grey-light: #e9ecef;
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Layout */
    --max-width: 1200px;
    --border-radius: 8px;
    --border-radius-lg: 16px;
    --transition: all 0.3s ease;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.12);
    --shadow-lg: 0 16px 40px rgba(0,0,0,0.16);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-dark);
    line-height: 1.6;
    background-color: var(--color-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-darker);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--color-light);
}

/* ==========================================================================
   Typography & Utilities
   ========================================================================== */
.text-center {
    text-align: center;
}

.section-header {
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background-color: rgba(193, 39, 45, 0.1);
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 30px;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: 36px;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--color-grey);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: var(--border-radius);
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    gap: 8px;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
}

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

.btn-secondary {
    background-color: var(--color-white);
    color: var(--color-dark);
}

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

.btn-outline {
    background-color: transparent;
    border-color: var(--color-white);
    color: var(--color-white);
}

.btn-outline:hover {
    background-color: var(--color-white);
    color: var(--color-dark);
}

.btn-large {
    padding: 16px 36px;
    font-size: 18px;
    border-radius: 50px;
}

/* ==========================================================================
   Navbar
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.navbar.scrolled {
    box-shadow: var(--shadow-sm);
    padding: 10px 0;
}

.nav-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    height: 90px;
    transition: height 0.3s ease;
}

.navbar.scrolled .nav-container {
    height: 80px;
}

.logo {
    justify-self: start;
}

.logo img {
    height: 55px;
    object-fit: contain;
    transition: var(--transition);
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--color-dark);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-actions {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 20px;
}

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
}

.lang-btn {
    background: none;
    border: none;
    color: var(--color-grey);
    cursor: pointer;
    transition: var(--transition);
    padding: 4px;
}

.lang-btn:hover {
    color: var(--color-primary);
}

.lang-btn.active {
    color: var(--color-primary);
    border-bottom: 2px solid var(--color-primary);
}

.lang-sep {
    color: var(--color-grey-light);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--color-dark);
    cursor: pointer;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    color: var(--color-white);
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg-anim {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    animation: zoomPan 25s ease-in-out infinite alternate;
    z-index: 0;
}

@keyframes zoomPan {
    0% { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.15) translate(-1%, -1%); }
}

.snow-particles {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: 
        radial-gradient(3px 3px at 100px 50px, rgba(255,255,255,0.8), transparent),
        radial-gradient(4px 4px at 200px 150px, rgba(255,255,255,0.6), transparent),
        radial-gradient(2px 2px at 300px 250px, rgba(255,255,255,0.9), transparent),
        radial-gradient(3px 3px at 400px 350px, rgba(255,255,255,0.7), transparent),
        radial-gradient(5px 5px at 500px 100px, rgba(255,255,255,0.8), transparent),
        radial-gradient(2px 2px at 50px 200px, rgba(255,255,255,0.6), transparent),
        radial-gradient(3px 3px at 150px 300px, rgba(255,255,255,0.9), transparent),
        radial-gradient(4px 4px at 250px 400px, rgba(255,255,255,0.5), transparent),
        radial-gradient(2px 2px at 350px 500px, rgba(255,255,255,0.8), transparent);
    background-size: 600px 600px;
    animation: snowAnim 20s linear infinite;
    opacity: 0.5;
    z-index: 0;
}

@keyframes snowAnim {
    0% { background-position: 0px 0px; }
    100% { background-position: 100px 600px; }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.8) 0%, rgba(69, 69, 69, 0.4) 100%);
    z-index: 0;
}

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

.hero h1 {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--color-white);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.hero h1 span.highlight {
    color: var(--color-white);
    position: relative;
    display: inline-block;
}

.hero p {
    font-size: 20px;
    margin: 0 auto 40px auto;
    opacity: 0.9;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 140px;
    right: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--color-white);
    opacity: 0.8;
    z-index: 10;
    transition: var(--transition);
}

.scroll-indicator:hover {
    opacity: 1;
    color: var(--color-white);
}

/* Hero Ticker */
:root {
    --ticker-item-width: 450px;
}

.hero-ticker {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 16px 0;
    overflow: hidden;
    z-index: 10;
}

.hero-ticker-track {
    display: flex;
    width: calc(var(--ticker-item-width) * 14);
    animation: tickerScroll 35s linear infinite;
}

.hero-ticker-track:hover {
    animation-play-state: paused;
}

.ticker-item {
    flex-shrink: 0;
    width: var(--ticker-item-width);
    display: flex;
    align-items: center;
    gap: 20px;
    color: var(--color-white);
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 18px;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0 24px;
    box-sizing: border-box;
}

.ticker-item img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.85);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease;
}

.ticker-item:hover img {
    transform: scale(1.08);
}

@keyframes tickerScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(var(--ticker-item-width) * -7));
    }
}

@media (max-width: 768px) {
    :root {
        --ticker-item-width: 280px;
    }
    .hero-ticker {
        padding: 10px 0;
    }
    .ticker-item {
        gap: 12px;
        font-size: 14px;
        padding: 0 15px;
    }
    .ticker-item img {
        width: 44px;
        height: 44px;
        border-width: 2px;
    }
    .scroll-indicator {
        bottom: 95px;
        right: 20px;
    }
}



.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--color-white);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background-color: var(--color-white);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
    0% { top: 6px; opacity: 1; }
    100% { top: 20px; opacity: 0; }
}

.scroll-indicator i {
    font-size: 14px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-5px); }
    60% { transform: translateY(-3px); }
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 40px;
    margin-bottom: 24px;
}

.about-text p {
    color: var(--color-grey);
    margin-bottom: 20px;
    font-size: 17px;
}

.about-features {
    margin-top: 32px;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 18px;
}

.about-features i {
    color: var(--color-secondary);
    font-size: 20px;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background-color: var(--color-primary);
    color: var(--color-white);
    width: 140px;
    height: 140px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    border: 8px solid var(--color-white);
}

.experience-badge .number {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
}

.experience-badge .text {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ==========================================================================
   Products Section
   ========================================================================== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-card {
    background-color: var(--color-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.product-img {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-img img {
    transform: scale(1.1);
}

.product-img .badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.product-info {
    padding: 30px;
}

.product-info h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

.product-info p {
    color: var(--color-grey);
    margin-bottom: 20px;
}

.learn-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-primary);
    font-weight: 600;
    font-family: var(--font-heading);
}

.learn-more:hover {
    color: var(--color-primary-dark);
}

.learn-more i {
    transition: transform 0.3s ease;
}

.learn-more:hover i {
    transform: translateX(4px);
}

/* ==========================================================================
   Tomato Pulp Highlight Banner
   ========================================================================== */
.tomato-highlight-banner {
    position: relative;
    padding: 100px 0;
    color: var(--color-white);
    background-color: var(--color-primary);
    overflow: hidden;
}

.tomato-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(193, 39, 45, 0.95) 0%, rgba(161, 30, 36, 0.85) 100%);
    z-index: 1;
}

.tomato-banner-container {
    position: relative;
    z-index: 3;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.tomato-banner-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.tomato-banner-image-box {
    position: relative;
}

.tomato-banner-main-img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: var(--border-radius-lg);
    border: 6px solid rgba(255, 255, 255, 0.15);
    box-shadow: var(--shadow-lg);
    transition: transform 0.5s ease, border-color 0.5s ease;
}

.tomato-banner-main-img:hover {
    transform: scale(1.03);
    border-color: rgba(255, 255, 255, 0.3);
}

.tomato-banner-text-box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.tomato-banner-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background-color: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    margin-bottom: 24px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.brazil-flag-icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.tomato-banner-text-box h2 {
    font-size: 38px;
    font-weight: 800;
    color: var(--color-white);
    margin-bottom: 20px;
    line-height: 1.25;
    text-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.tomato-banner-text-box p {
    font-size: 18px;
    opacity: 0.9;
    font-weight: 300;
    line-height: 1.6;
}

@media (max-width: 992px) {
    .tomato-banner-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .tomato-banner-text-box {
        align-items: center;
    }
    .tomato-banner-main-img {
        height: 300px;
        max-width: 480px;
        margin: 0 auto;
    }
}

/* ==========================================================================
   Product Category Tabs
   ========================================================================== */
.product-tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.tab-btn {
    background-color: var(--color-white);
    color: var(--color-dark);
    border: 1px solid var(--color-grey-light);
    padding: 10px 24px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 15px;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
}

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

.tab-btn.active {
    background-color: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
    box-shadow: 0 4px 12px rgba(193, 39, 45, 0.25);
}

/* Product Card Filter Animate */
.product-card {
    transition: opacity 0.4s ease, transform 0.4s ease, box-shadow var(--transition);
}

.product-card.hide {
    display: none;
    opacity: 0;
    transform: scale(0.9);
}

.product-card.show {
    display: block;
    animation: fadeInScale 0.4s ease forwards;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* ==========================================================================
   Features Section
   ========================================================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-box {
    text-align: center;
    padding: 40px 30px;
    background-color: var(--color-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--color-light);
}

.feature-box:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(26, 156, 77, 0.1);
    color: var(--color-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 24px;
    transition: var(--transition);
}

.feature-box:hover .feature-icon {
    background-color: var(--color-secondary);
    color: var(--color-white);
    transform: rotateY(180deg);
}

.feature-box h3 {
    font-size: 22px;
    margin-bottom: 16px;
}

.feature-box p {
    color: var(--color-grey);
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.cta-section {
    background: linear-gradient(135deg, var(--color-darker) 0%, var(--color-dark) 100%);
    padding: 100px 0;
    color: var(--color-white);
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--color-white);
    font-size: 40px;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: #1a1a1a;
    color: var(--color-white);
    padding-top: 80px;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    height: 50px;
    margin-bottom: 20px;
    background-color: var(--color-white);
    padding: 8px 15px;
    border-radius: 8px;
    object-fit: contain;
}

.footer-brand p {
    color: #a0a0a0;
    margin-bottom: 24px;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--color-white);
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--color-primary);
    transform: translateY(-3px);
}

.footer h3 {
    color: var(--color-white);
    font-size: 20px;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}

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

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: #a0a0a0;
}

.footer-links ul li a:hover {
    color: var(--color-primary);
    padding-left: 8px;
}

.footer-contact ul li {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    color: #a0a0a0;
    align-items: flex-start;
}

.footer-contact ul li i {
    color: var(--color-primary);
    margin-top: 5px;
}

.footer-bottom {
    background-color: #111;
    text-align: center;
    padding: 24px 0;
    color: #666;
    font-size: 14px;
}

/* ==========================================================================
   Animations
   ========================================================================== */
.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 992px) {
    .about-container {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
    
    .products-grid,
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
    
    .hero h1 {
        font-size: 48px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-links,
    .nav-contact-btn {
        display: none;
    }
    
    /* Mobile Menu Active State */
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--color-white);
        padding: 20px;
        box-shadow: var(--shadow-md);
        gap: 20px;
    }
    
    .products-grid,
    .features-grid,
    .footer-container {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .experience-badge {
        bottom: -15px;
        right: -15px;
        width: 100px;
        height: 100px;
    }
    
    .experience-badge .number {
        font-size: 20px;
    }
}
