/* ==========================================================================
   NEXA ZOOM - MODERN INDUSTRIAL DARK THEME CSS
   Color Palette & Functionality preserved. UI/UX modernized.
   ========================================================================== */

   :root {
    /* Color Palette */
    --primary-color: #E2E3E0;
    --secondary-color: #f8f9fa;
    --accent-color: #C5A059;   /* Muted Industrial Gold */
    --accent-glow: rgba(197, 160, 89, 0.25);
    --dark-color: #ffffff;
    --light-color: #111111;
    --text-color: #E2E3E0;
    --text-light: #999999;
    --white: #ffffff;
    --black: #050505;
    --gray: #222222;
    --dark-gray: #AAAAAA;
    
    /* Backgrounds & Borders */
    --body-background: #080808;
    --card-background: #121212;
    --card-background-hover: #181818;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-accent: rgba(197, 160, 89, 0.3);
    
    /* System Standards & Layout Heights */
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.8);
    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    --border-radius: 12px;
    --border-radius-lg: 24px;
    --announcement-height: 40px;
    --header-height: 100px;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 100%;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--body-background);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--dark-color);
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

p {
    margin-bottom: 1.25rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Layout Utilities */
.container {
    width: 92%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 7rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title {
    font-size: 2.75rem;
    color: var(--dark-color);
    position: relative;
    display: inline-block;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--text-light);
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.95rem 2.2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--black);
    box-shadow: 0 4px 15px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(197, 160, 89, 0.4);
    background-color: #d4ae63;
}

.btn-secondary {
    background-color: transparent;
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
}

.btn-secondary:hover {
    background-color: var(--accent-color);
    color: var(--black);
}

/* Glow & Shadow Effects */
.glow-effect {
    position: relative;
    overflow: hidden;
}

.glow-effect::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.6s ease;
}

.glow-effect:hover::before {
    left: 100%;
}

.shadow-effect {
    transition: var(--transition);
}

.shadow-effect:hover {
    transform: translateY(-6px);
}

/* Loader */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--body-background);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader-spinner {
    width: 45px;
    height: 45px;
    border: 3px solid var(--gray);
    border-top-color: var(--accent-color);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loader-hidden {
    opacity: 0;
    visibility: hidden;
}

/* ==========================================================================
   Announcement Bar & Marquee Animation
   ========================================================================== */
.announcement-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--announcement-height);
    background-color: #161616;
    color: var(--text-color);
    border-bottom: 1px solid var(--border-color);
    z-index: 1002;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.marquee-wrapper {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
}

.marquee-content {
    display: inline-flex;
    gap: 4rem;
    white-space: nowrap;
    will-change: transform;
    animation: marquee-scroll 25s linear infinite;
}

.marquee-wrapper:hover .marquee-content {
    animation-play-state: paused;
}

.marquee-content p {
    margin: 0;
    font-size: 0.88rem;
    color: var(--text-color);
    letter-spacing: 0.02em;
}

.marquee-content strong {
    color: var(--accent-color);
    font-weight: 600;
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
    position: fixed;
    left: 0;
    top: var(--announcement-height);
    width: 100%;
    height: var(--header-height);
    color: var(--white);
    background-color: rgba(8, 8, 8, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid var(--border-color);
}

.header.scrolled {
    height: 75px;
    background-color: rgba(8, 8, 8, 0.95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo img {
    max-height: 60px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.header.scrolled .logo img {
    max-height: 50px;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--white);
    position: relative;
    transition: var(--transition);
}

.hamburger::before, .hamburger::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--white);
    transition: var(--transition);
}

.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

.nav-toggle.active .hamburger { background-color: transparent; }
.nav-toggle.active .hamburger::before { top: 0; transform: rotate(45deg); }
.nav-toggle.active .hamburger::after { top: 0; transform: rotate(-45deg); }

.nav-list {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.5rem 0;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.02em;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: var(--white);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.mobile-social-links {
    display: none;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 650px;
    overflow: hidden;
}

.hero-slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
}

.slide.active {
    opacity: 1;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(8,8,8,0.7) 0%, rgba(8,8,8,0.5) 50%, rgba(8,8,8,0.9) 100%);
}

.hero .container {
    position: relative;
    z-index: 2;
    padding-top: calc(var(--header-height) + var(--announcement-height));
    max-width: 900px;
}

.hero-title {
    font-size: 3.75rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: var(--white);
    letter-spacing: -0.03em;
}

.hero-text {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.hero-dots {
    position: absolute;
    bottom: 40px;
    left: 5%;
    display: flex;
    gap: 0.75rem;
    z-index: 10;
}

.hero-dot {
    width: 30px;
    height: 3px;
    border-radius: 2px;
    background-color: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: var(--transition);
}

.hero-dot.active {
    background-color: var(--accent-color);
    width: 45px;
}

/* About Section */
.about-content {
    max-width: 1000px;
    margin: 0 auto;
}

.about-text {
    background: var(--card-background);
    padding: 3.5rem;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
    text-align: left;
}

.about-text p {
    font-size: 1.05rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.about-text p:last-child {
    margin-bottom: 0;
}

.about-text strong {
    color: var(--accent-color);
    font-weight: 600;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--card-background);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    text-align: left;
}

.service-card:hover {
    transform: translateY(-8px);
    background-color: var(--card-background-hover);
    border-color: var(--border-accent);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

.service-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1.75rem;
    background: rgba(197, 160, 89, 0.05);
    border: 1px solid var(--border-accent);
    color: var(--accent-color);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.6rem;
}

.service-title {
    font-size: 1.35rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.service-description {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Product Categories Grid & Cards */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Category & Product Cards Sync */
.category-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: var(--card-background) !important;
    padding: 1.25rem !important;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    text-align: center;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    box-sizing: border-box;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-6px) !important;
    border-color: var(--border-accent);
    box-shadow: 0 12px 30px rgba(0,0,0,0.7) !important;
    background-color: var(--card-background-hover) !important;
}

.category-card img {
    width: 100% !important;
    height: 280px !important;
    object-fit: cover !important;
    border-radius: 8px;
    margin-bottom: 1rem !important;
    background-color: #000;
}

.category-card h3 {
    font-size: 1.15rem !important;
    color: var(--white);
    margin: 0.5rem 0 0 0 !important;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.card-details {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

/* Card Action Button Element */
.card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
    padding: 0.5rem 1rem;
    background-color: rgba(197, 160, 89, 0.1);
    color: var(--accent-color);
    border: 1px solid var(--border-accent);
    border-radius: var(--border-radius);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: var(--transition);
}

.card-btn i {
    transition: transform 0.3s ease;
}

.category-card:hover .card-btn {
    background-color: var(--accent-color);
    color: var(--black);
    border-color: var(--accent-color);
}

.category-card:hover .card-btn i {
    transform: translateX(4px);
}

/* Production Stats Section */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.stat-item {
    background: var(--card-background);
    padding: 2rem 1.5rem;
    border-radius: var(--border-radius);
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
    border-color: var(--border-accent);
    background-color: var(--card-background-hover);
}

.stat-item i {
    font-size: 1.75rem;
    color: var(--accent-color);
    margin-top: 0.25rem;
}

.stat-info strong {
    display: block;
    font-size: 1rem;
    color: var(--white);
    margin-bottom: 0.35rem;
}

.stat-info span {
    display: block;
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.4;
}

/* Contact Section */
.contact-content {
    max-width: 900px;
    margin: 0 auto;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.info-item {
    background: var(--card-background);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: var(--transition);
}

.info-item:hover {
    border-color: var(--border-accent);
    transform: translateY(-5px);
}

.info-icon {
    width: 55px;
    height: 55px;
    background: rgba(197, 160, 89, 0.05);
    border: 1px solid var(--border-accent);
    color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.35rem;
    margin-bottom: 1.25rem;
}

.info-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.info-content address, .info-content p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 0;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 1px solid var(--border-color);
    background-color: var(--card-background);
    border-radius: var(--border-radius);
    font-family: inherit;
    transition: var(--transition);
    color: var(--white);
    font-size: 0.95rem;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px var(--accent-glow);
    background-color: #161616;
}

/* Footer */
.footer {
    background-color: #030303;
    color: var(--text-color);
    padding: 6rem 0 0;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr repeat(2, 1fr);
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-title {
    font-size: 1.2rem;
    margin-bottom: 1.75rem;
    position: relative;
    color: var(--white);
    letter-spacing: 0.02em;
}

.footer-about {
    margin-bottom: 1.75rem;
    color: var(--text-light);
    font-size: 0.95rem;
    max-width: 400px;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 42px;
    height: 42px;
    background-color: var(--card-background);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    transition: var(--transition);
    color: var(--white);
}

.social-links a:hover {
    background-color: var(--accent-color);
    color: var(--black);
    border-color: var(--accent-color);
    transform: translateY(-3px);
}

.footer-links li {
    margin-bottom: 0.85rem;
}

.footer-links a {
    color: var(--text-light);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Floating Elements */
.whatsapp-float {
    position: fixed;
    right: 25px;
    bottom: 25px;
    z-index: 99;
}

.whatsapp-float img {
    width: 60px;
    height: 60px;
    filter: drop-shadow(0 8px 15px rgba(0,0,0,0.6));
    transition: var(--transition);
}

.whatsapp-float img:hover {
    transform: scale(1.1);
}

.back-to-top {
    position: fixed;
    bottom: 95px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: var(--card-background);
    border: 1px solid var(--border-accent);
    color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 98;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--accent-color);
    color: var(--black);
    transform: translateY(-4px);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    :root {
        --announcement-height: 36px;
        --header-height: 80px;
    }

    .section {
        padding: 4.5rem 0;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .marquee-content p {
        font-size: 0.8rem;
    }

    .marquee-content {
        animation-duration: 20s;
    }

    .nav-toggle {
        display: block;
        z-index: 1005;
    }

    /* Mobile Drawer: Fixed at screen top (top: 0) & above announcement bar */
    .nav-list {
        position: fixed;
        top: -25px;
        left: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        height: 100dvh;
        background-color: var(--card-background);
        flex-direction: column;
        justify-content: space-between;
        align-items: flex-start;
        padding: 6rem 2rem 2rem;
        box-shadow: 10px 0 30px rgba(0, 0, 0, 0.9);
        transition: var(--transition);
        z-index: 1004;
        border-right: 1px solid var(--border-color);

        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .nav-list.active {
        left: 0;
    }

    .nav-link {
        font-size: 1.1rem;
    }

    .mobile-social-links {
        display: flex;
        margin-top: auto;
        gap: 1.5rem;
        width: 100%;
        padding-top: 1.5rem;
        border-top: 1px solid var(--border-color);
        flex-shrink: 0;
    }

    .mobile-social-links a {
        font-size: 1.3rem;
        color: var(--accent-color);
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-text {
        font-size: 1rem;
    }

    .about-text {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .categories-grid {
        grid-template-columns: 1fr;
    }
}