/* Core Variables & Reset */
:root {
    --primary-red: #8B0000;
    /* Dark Red base */
    --primary-dark: #4a0000;
    --gold: #FFD700;
    --gold-dim: #D4AF37;
    --gold-glow: #FCE6C9;
    --text-light: #f5f5f5;
    --text-dim: #cccccc;
    --bg-dark: #0f0505;

    --font-heading: 'Cinzel', serif;
    --font-body: 'Outfit', sans-serif;

    --glass-bg: rgba(20, 5, 5, 0.7);
    --glass-border: rgba(255, 215, 0, 0.2);

    --transition-fast: 0.3s ease;
    --transition-smooth: 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    background: radial-gradient(circle at top center, #2a0a0a, #000000);
}

/* Typography */
h1,
h2,
h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.5rem;
    color: var(--gold);
}

h3 {
    font-size: 1.5rem;
    color: var(--gold-glow);
}

p {
    color: var(--text-dim);
    margin-bottom: 1.5rem;
}

.text-gold {
    color: var(--gold);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.subtitle {
    display: block;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.9rem;
    color: var(--gold-dim);
    margin-bottom: 1rem;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.separator-gold {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 1.5rem auto;
}

.separator-gold.left {
    margin: 1.5rem 0;
    background: linear-gradient(90deg, var(--gold), transparent);
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--gold), var(--gold-dim));
    color: var(--primary-dark);
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition-fast);
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--gold);
    border: 1px solid var(--gold);
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    margin-left: 1rem;
    transition: var(--transition-fast);
    cursor: pointer;
}

.btn-secondary:hover {
    background: rgba(255, 215, 0, 0.1);
}

.glow-effect {
    animation: glow-pulse 3s infinite;
}

@keyframes glow-pulse {
    0% {
        box-shadow: 0 0 5px rgba(255, 215, 0, 0.2);
    }

    50% {
        box-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
    }

    100% {
        box-shadow: 0 0 5px rgba(255, 215, 0, 0.2);
    }
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition-fast);
}

.navbar.scrolled {
    background: rgba(10, 0, 0, 0.95);
    padding: 1rem 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.nav-logo {
    height: 40px;
    width: auto;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--gold);
    font-weight: 700;
    letter-spacing: 2px;
}

.menu-items {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.menu-items a:not(.btn-primary) {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.menu-items a:not(.btn-primary):hover {
    color: var(--gold);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--gold);
    transition: 0.3s;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}

/* Video Background */
.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -2;
    background: #1a0505;
    /* Fallback color */
}

.video-background video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    /* Ensures video covers screen without distortion */
    z-index: -1;
    opacity: 0.15;
    /* Video barely visible */
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    /* Lighter overlay since video is faint */
    backdrop-filter: blur(2px);
    z-index: -1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 3rem;
}

.image-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
}

.image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    animation: float 6s ease-in-out infinite;
}

.floating-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: float 6s ease-in-out infinite reverse;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.7;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--gold);
    border-radius: 20px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: var(--gold);
    border-radius: 50%;
    animation: scroll-anim 2s infinite;
}

@keyframes scroll-anim {
    0% {
        top: 10px;
        opacity: 1;
    }

    100% {
        top: 30px;
        opacity: 0;
    }
}

/* Glass Panels */
.glass-panel {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    transition: 0.4s;
}

.glass-panel:hover {
    background: rgba(40, 10, 10, 0.8);
    border-color: var(--gold);

    transform: translateY(-5px);
}

/* Products Section */
.products-section {
    padding: 6rem 0;
    position: relative;
    z-index: 1;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.product-card {
    text-align: center;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.product-image {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.product-image img {
    max-height: 100%;
    max-width: 100%;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.5));
    transition: transform 0.3s;
    border-radius: 20px;
    /* Added rounding */
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.stars {
    color: var(--gold);
    margin: 0.5rem 0;
    font-size: 1.2rem;
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.9rem;
}

/* Feature Grid */
.benefits-section {
    padding: 6rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    text-align: center;
}

.icon-wrapper {
    color: var(--gold);
    margin-bottom: 1.5rem;
}

/* Parallax Split */
.parallax-divider {
    height: 400px;
    background-image: url('hero-product.png');
    /* Fallback or abstract BG */
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    background-color: #300;
    /* Tint */
    background-blend-mode: overlay;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.overlay-dark {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.parallax-text {
    position: relative;
    z-index: 2;
    color: var(--gold);
    font-size: 3rem;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

/* Tradition Section */
.tradition-section {
    padding: 6rem 0;
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.tradition-img-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.tradition-img {
    width: 100%;
    height: auto;
    border-radius: 30px;
    /* Increased rounding */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--gold);
    transition: transform 0.5s;
}

.tradition-img:hover {
    transform: scale(1.02);
}

/* Nutritional Section */
.nutritional-section {
    padding: 4rem 0;
}

.nutritional-content {
    display: block;
    padding: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.nutritional-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    text-align: left;
}

.nutritional-img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.nutritional-text h3 {
    color: var(--gold);
    margin-bottom: 1rem;
}

.benefit-list {
    list-style: none;
    margin-top: 1.5rem;
}

.benefit-list li {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .nutritional-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* Reseller Section */
.reseller-section {
    padding: 6rem 0;
    background: radial-gradient(circle at center, #1a0505, #000);
}

.highlight-text {
    color: var(--gold-dim);
    font-size: 0.9rem;
    margin-top: -10px;
}

.price-table {
    padding: 2rem;
}

.price-list {
    list-style: none;
    margin-top: 1.5rem;
}

.price-list li {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.price-list li:last-child {
    border-bottom: none;
}

.price-value {
    color: var(--gold);
    font-weight: 700;
}

.reseller-form-container {
    padding: 2rem;
}

.form-input {
    width: 100%;
    padding: 12px;
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: white;
}

.form-input:focus {
    border-color: var(--gold);
    outline: none;
}

.full-width {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
    margin-left: 0;
    /* Reset margin for full width buttons */
}

.form-divider {
    text-align: center;
    margin: 1.5rem 0;
    position: relative;
    color: var(--text-dim);
    font-size: 0.9rem;
}

.form-divider::before,
.form-divider::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 20%;
    height: 1px;
    background: var(--glass-border);
}

.form-divider::before {
    left: 0;
}

.form-divider::after {
    right: 0;
}


.btn-icon {
    width: 20px;
    height: 20px;
}

/* Footer Socials */
.footer-social-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Center horizontally in the grid cell */
    gap: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social img {
    width: 30px;
    height: 30px;
    transition: transform 0.3s;
}

.footer-social img:hover {
    transform: scale(1.2);
}

.footer-social img {
    width: 30px;
    height: 30px;
    transition: transform 0.3s;
}

.footer-social img:hover {
    transform: scale(1.2);
}

.footer-contact {
    text-align: center;
}

.footer-contact h4 {
    color: var(--gold);
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
}

.footer-contact p {
    color: var(--text-dim);
    font-size: 0.9rem;
    margin: 0;
}

/* Footer */
.main-footer {
    border-top: 1px solid var(--glass-border);
    padding: 4rem 0 2rem;
    background: #050202;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-links {
    text-align: center;
}

.footer-links h4 {
    color: var(--gold);
    /* Match Atendimento color */
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
}

.footer-logo h3 {
    color: var(--gold);
    /* Match Atendimento color */
}

.footer-links ul {
    list-style: none;
    margin-top: 1rem;
}

.footer-links a {
    color: var(--text-dim);
    text-decoration: none;
    line-height: 2;
}

.footer-links a:hover {
    color: var(--gold);
}

.copyright {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    font-size: 0.8rem;
    color: #666;
}

/* Animation Classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: 0.8s ease-out;
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: 0.8s ease-out;
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: 0.8s ease-out;
}

.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loader */
.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s;
}

.honey-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 215, 0, 0.3);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spin 1s infinite linear;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-btns {
        justify-content: center;
    }

    .nav-container .menu-items {
        display: none;
        /* simple hide for now, JS toggles */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: black;
        flex-direction: column;
        padding: 2rem;
    }

    .nav-container .menu-items.active {
        display: flex;
    }

    .mobile-toggle {
        display: flex;
    }

    .split-layout {
        grid-template-columns: 1fr;
    }

    .input-group {
        flex-direction: column;
    }

    .btn-secondary {
        margin-left: 0;
        margin-top: 10px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}