:root {
    --bg-dark: #0a0808;
    --bg-card: rgba(30, 25, 25, 0.4);
    --bg-nav: rgba(10, 8, 8, 0.7);
    --gold: #d4af37;
    --gold-glow: rgba(212, 175, 55, 0.3);
    --text-primary: #ffffff;
    --text-secondary: #aaaaaa;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 4rem auto 2rem;
    max-width: 1200px;
    padding: 0 2rem;
    flex-wrap: wrap;
}

.tab-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 1.5rem 2.5rem;
    background: rgba(30, 25, 25, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    border-radius: 16px;
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 600;
    transition: var(--transition);
    min-width: 200px;
    backdrop-filter: blur(10px);
}

.tab-icon {
    width: 32px;
    height: 32px;
    stroke: var(--text-secondary);
    transition: var(--transition);
}

.tab-btn:hover {
    background: rgba(212, 175, 55, 0.05);
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateY(-5px);
}

.tab-btn.active {
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold);
    border-color: var(--gold);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4), 0 0 20px var(--gold-glow);
}

.tab-btn.active .tab-icon {
    stroke: var(--gold);
    transform: scale(1.1);
}

.category-wrapper {
    transition: 0.5s ease;
    display: block;
}

.category-wrapper.hidden {
    display: none;
    opacity: 0;
}


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

html {
    scroll-behavior: smooth;
}

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

/* Typography */
h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 600;
}

/* Nav */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: var(--bg-nav);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    text-decoration: none;
    color: var(--text-primary);
    letter-spacing: 1px;
}

.logo span {
    color: var(--gold);
    font-weight: 400;
    margin: 0 4px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover {
    color: var(--gold);
}

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

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

/* Hero Section */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 10rem 2rem 6rem;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(10, 8, 8, 0.4), rgba(10, 8, 8, 0.8)), url('assets/factory_slider.png');
    background-size: cover;
    background-position: center;
    z-index: 1;
    animation: heroZoom 30s infinite alternate ease-in-out;
}

@keyframes heroZoom {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}

.hero::before {
    display: none;
}

.hero-content {
    max-width: 900px;
    text-align: center;
    z-index: 5;
    position: relative;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    text-shadow: 0 4px 30px rgba(0,0,0,0.9);
}

.btn-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #f5d76e, var(--gold));
    color: #000;
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
    border: 1px solid transparent;
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.5);
    background: transparent;
    color: var(--gold);
    border-color: var(--gold);
}

.hero-image-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-img {
    width: 100%;
    max-width: 500px;
    border-radius: 20px;
    z-index: 2;
    transform: perspective(1000px) rotateY(-10deg) rotateX(5deg);
    box-shadow: 20px 20px 60px rgba(0,0,0,0.8);
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.05);
}

.hero-image-wrapper:hover .hero-img {
    transform: perspective(1000px) rotateY(0) rotateX(0) scale(1.02);
}

.glow-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    max-width: 480px;
    border: 2px solid var(--gold);
    border-radius: 20px;
    z-index: 1;
    top: 20px;
    right: -20px;
    opacity: 0.3;
    transition: var(--transition);
}

.hero-image-wrapper:hover .glow-ring {
    top: 0;
    right: 0;
}

/* Products Section */
.products-section {
    max-width: 1200px;
    margin: 6rem auto;
    padding: 0 2rem;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.section-title p {
    color: var(--text-secondary);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 20px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 20px 40px rgba(0,0,0,0.6), 0 0 40px var(--gold-glow);
}

.card-img-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    aspect-ratio: 1;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .card-img-wrapper img,
.item-card:hover .card-img-wrapper img {
    transform: scale(1.08);
}

.badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--gold);
    color: #000;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    font-family: var(--font-heading);
}

.card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-content h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.card-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    flex: 1;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
}

.price {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--gold);
    font-weight: 600;
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 0.6rem 1.2rem;
    border-radius: 30px;
    cursor: pointer;
    font-family: var(--font-body);
    transition: var(--transition);
    font-weight: 500;
}

.btn-secondary:hover {
    background: var(--gold);
    color: #000;
    border-color: var(--gold);
}

/* Footer */
footer {
    background: #050404;
    padding: 4rem 2rem 2rem;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-content .logo {
    display: inline-block;
    margin-bottom: 1rem;
}

.footer-content p {
    color: var(--text-secondary);
}

.copyright {
    margin-top: 3rem;
    font-size: 0.85rem;
    opacity: 0.6;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

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

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
/* Mobile Menu Styles */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 101;
}

.mobile-menu-btn span {
    display: block;
    width: 30px;
    height: 2px;
    background-color: var(--text-primary);
    transition: 0.3s;
}

@media (max-width: 768px) {
    .nav-container {
        padding: 1rem 1.5rem;
    }

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

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: rgba(10, 8, 8, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 3rem;
        transition: 0.4s ease;
        backdrop-filter: blur(20px);
        border-left: 1px solid rgba(212, 175, 55, 0.2);
    }

    .nav-links.active {
        right: 0;
    }

    /* Product Grid Improvements */
    .detailed-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem;
    }

    .products-section {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    .category-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .category-header h2 {
        font-size: 1.8rem;
    }

    /* Hero Responsive */
    .hero {
        padding-top: 8rem;
        min-height: auto;
    }

    .hero-content h1 {
        font-size: 2.2rem !important;
    }
    
    .hero-content p {
        font-size: 1rem !important;
    }

    .item-card {
        padding: 1.2rem;
    }

    /* B2B Section Mobile */
    .section-title {
        padding: 3rem 1.5rem !important;
        flex-direction: column;
        text-align: center !important;
    }

    .section-title h2 {
        text-align: center !important;
        font-size: 1.8rem !important;
    }

    .section-title p {
        text-align: center !important;
    }

    .section-title .btn-primary {
        width: 100%;
        text-align: center;
    }
}

.mobile-menu-btn.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-btn.open span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* References Section */
.references-section {
    padding: 8rem 2rem;
    background: linear-gradient(to bottom, transparent, rgba(30, 25, 25, 0.3), transparent);
}

.references-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 4rem auto 0;
}

.reference-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem 1.5rem;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--text-secondary);
    min-height: 100px;
}

.reference-item:hover {
    background: rgba(212, 175, 55, 0.08);
    border-color: var(--gold);
    color: var(--gold);
    transform: scale(1.05);
}

/* Background Canvas */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background-color: var(--bg-dark);
    pointer-events: none;
}
/* Footer Developer Credit */
.dev-credit {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.dev-credit a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: var(--transition);
}

.dev-credit img {
    height: 35px;
    width: auto;
    opacity: 0.8;
    transition: var(--transition);
}

.dev-credit span {
    font-size: 0.75rem;
    color: var(--text-secondary);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.dev-credit a:hover img {
    opacity: 1;
    transform: scale(1.05);
}

.dev-credit a:hover span {
    color: var(--gold);
}

/* Form Feedback Styles */
.form-status {
    margin-top: 2rem;
    padding: 1.2rem;
    border-radius: 12px;
    text-align: center;
    font-weight: 500;
    display: none;
    animation: fadeIn 0.4s ease forwards;
}

.form-status.success {
    display: block;
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
    border: 1px solid rgba(40, 167, 69, 0.2);
}

.form-status.error {
    display: block;
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.2);
}

.form-status.loading {
    display: block;
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

/* Honeypot field - Hidden from users */
.hp-field {
    display: none !important;
}

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

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: var(--transition);
    animation: whatsappPulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    background-color: #128c7e;
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4);
}

.whatsapp-float svg {
    width: 35px;
    height: 35px;
    fill: white;
}

@keyframes whatsappPulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
}

