/* style.css - Industrial-Cyberpunk Dark Theme */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700;800;900&family=Inter:wght@400;500;600;700&display=swap');

:root {
    --bg-deep: #030712;
    --bg-panel: rgba(10, 15, 30, 0.7);
    --bg-card: rgba(15, 23, 42, 0.6);
    --bg-card-hover: rgba(30, 41, 59, 0.8);

    --primary: #00e5ff;
    --primary-hover: #00c4de;
    --primary-glow: rgba(0, 229, 255, 0.4);

    --text-main: #f8fafc;
    --text-muted: #94a3b8;

    --border-glass: rgba(0, 229, 255, 0.15);
    --border-neon: rgba(0, 229, 255, 0.5);

    --success: #10b981;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-deep);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    background-image:
        radial-gradient(circle at 20% 40%, rgba(0, 229, 255, 0.05), transparent 40%),
        radial-gradient(circle at 80% 60%, rgba(0, 229, 255, 0.05), transparent 40%);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
    letter-spacing: -0.5px;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-deep);
}

::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* HEADER & NAVBAR */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(3, 7, 18, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glass);
    height: 80px;
    display: flex;
    justify-content: center;
}

.nav-container {
    max-width: 1400px;
    width: 100%;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-wrap {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.logo-voltera {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--primary);
    text-shadow: 0 0 15px var(--primary-glow);
}

.logo-trade {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.2rem;
    font-weight: 400;
    color: #fff;
    margin-left: 2px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-item {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    height: 80px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-item:hover,
.nav-item.active {
    color: #fff;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary);
    transition: width 0.3s ease;
    box-shadow: 0 -2px 10px var(--primary-glow);
}

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

.inquiry-badge {
    background: var(--primary);
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 800;
    margin-left: 8px;
    box-shadow: 0 0 15px var(--primary-glow);
}

/* MICRO-INTERACTIONS & ANIMATIONS */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

@keyframes pulse-icon {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 229, 255, 0.7);
    }

    70% {
        transform: scale(1.1);
        box-shadow: 0 0 0 10px rgba(0, 229, 255, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 229, 255, 0);
    }
}

.pulse-anim {
    animation: pulse-icon 2s infinite;
    border-radius: 50%;
}

/* MAIN CONTENT */
.main-content {
    flex: 1;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 2rem 2rem 5rem 2rem;
}

/* BUTTONS */
.btn-primary {
    background: var(--primary);
    color: #030712;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover:not(:disabled) {
    background: #fff;
    color: #030712;
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.btn-primary:disabled {
    background: #334155;
    color: #94a3b8;
    box-shadow: none;
    cursor: not-allowed;
    transform: none;
}

.btn-icon-link {
    background: transparent;
    color: var(--primary);
    border: none;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    transition: all 0.2s;
}

.btn-icon-link:hover {
    color: #fff;
}

/* HERO SECTION (GLASSMORPHISM) */
.hero-section {
    position: relative;
    height: 65vh;
    min-height: 500px;
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 4rem;
    background-image: url('https://images.unsplash.com/photo-1513828583688-c52646db42da?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    border: 1px solid var(--border-glass);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(3, 7, 18, 0.9) 0%, rgba(3, 7, 18, 0.4) 60%, transparent 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid var(--border-glass);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1rem;
    line-height: 1.1;
    text-transform: uppercase;
    color: #fff;
}

.hero-title span {
    color: var(--primary);
    text-shadow: 0 0 20px var(--primary-glow);
}

.hero-desc {
    font-size: 1.2rem;
    color: #cbd5e1;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

/* MARQUEE LOGOS */
.marquee-wrapper {
    overflow: hidden;
    width: 100%;
    background: rgba(15, 23, 42, 0.3);
    padding: 2rem 0;
    border-top: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
    margin: 4rem 0;
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: scroll 20s linear infinite;
    gap: 4rem;
    align-items: center;
}

.marquee-brand {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: #475569;
    text-transform: uppercase;
    transition: color 0.3s;
}

.marquee-brand:hover {
    color: var(--primary);
    text-shadow: 0 0 10px var(--primary-glow);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* BENTO GRID (CATEGORIES) */
.section-heading {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-left: 4px solid var(--primary);
    padding-left: 1rem;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
    gap: 1.5rem;
    margin-bottom: 5rem;
}

.bento-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 2rem;
    border: 1px solid var(--border-glass);
    transition: transform 0.4s ease, border-color 0.4s;
    cursor: pointer;
}

.bento-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(3, 7, 18, 0.9), transparent);
    z-index: 1;
    transition: opacity 0.3s;
}

.bento-item:hover {
    transform: scale(1.02);
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(0, 229, 255, 0.15);
}

.bento-item:hover::before {
    opacity: 0.7;
}

.bento-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.bento-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.5rem;
}

.bento-desc {
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.bento-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.bento-item.medium {
    grid-column: span 2;
    grid-row: span 1;
}

/* WHY VOLTERA (TRUST SECTION) */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 5rem;
}

.trust-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 2.5rem;
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.trust-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-glow);
}

.trust-icon {
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.trust-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff;
}

.trust-desc {
    color: var(--text-muted);
    line-height: 1.6;
}

/* CATALOG GRID */
.filter-bar {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid var(--border-glass);
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
    align-items: center;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.filter-label {
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
}

.form-select,
.form-input {
    background: #0f172a;
    border: 1px solid var(--border-glass);
    color: #fff;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

.form-select:focus,
.form-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px var(--primary-glow);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2.5rem;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    cursor: pointer;
    padding: 1rem;
}

.product-card:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 20px var(--primary-glow);
    border-color: var(--primary);
    z-index: 10;
}

.prod-image-wrap {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    position: relative;
    background: #0f172a;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.prod-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    opacity: 0.9;
}

.product-card:hover .prod-image {
    transform: scale(1.1);
    opacity: 1;
}

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

.prod-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.prod-brand {
    margin-bottom: 1rem;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.prod-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

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

/* PRODUCT DETAILS PAGE */
.details-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 24px;
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(15px);
}

@media (min-width: 900px) {
    .details-layout {
        grid-template-columns: 1fr 1fr;
    }
}

.details-image {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.details-info h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.details-info .badge {
    display: inline-block;
    background: rgba(0, 229, 255, 0.1);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border: 1px solid var(--border-neon);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.details-info p.long-desc {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.specs-list {
    list-style: none;
    margin-bottom: 3rem;
    background: rgba(15, 23, 42, 0.5);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-glass);
}

.specs-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.specs-list li:last-child {
    border-bottom: none;
}

.specs-list li i {
    color: var(--primary);
    min-width: 24px;
}

.specs-list li span {
    color: #e2e8f0;
    font-weight: 500;
}

.add-to-cart-box {
    background: rgba(3, 7, 18, 0.8);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border-neon);
    box-shadow: 0 0 30px rgba(0, 229, 255, 0.05);
}

.qty-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.qty-controls label {
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.qty-input-large,
.unit-select {
    font-size: 1.2rem;
    padding: 0.8rem;
    border-radius: 8px;
    border: 1px solid var(--border-glass);
    background: #0f172a;
    color: #fff;
    font-weight: 700;
}

.qty-input-large {
    width: 120px;
    text-align: center;
}

.unit-select {
    cursor: pointer;
    flex-grow: 1;
}

/* INQUIRY CHECKOUT (CART) */
.cart-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .cart-layout {
        grid-template-columns: 2fr 1fr;
    }
}

.cart-box {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 3rem;
    backdrop-filter: blur(10px);
}

.cart-box h3 {
    color: #fff;
    margin-bottom: 2.5rem;
    font-size: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 1rem;
}

.cart-list {
    list-style: none;
    display: flex;
    flex-direction: column;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cart-item-info strong {
    display: block;
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
    color: #fff;
}

.cart-item-info span {
    font-size: 0.9rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.cart-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.qty-input {
    width: 100px;
    text-align: center;
    padding: 0.8rem;
    border-radius: 8px;
    font-weight: bold;
    border: 1px solid var(--border-glass);
    background: #0f172a;
    color: #fff;
}

.checkout-sidebar {
    background: rgba(3, 7, 18, 0.9);
    border: 1px solid var(--border-neon);
    border-radius: 20px;
    padding: 3rem 2rem;
    position: sticky;
    top: 100px;
    height: fit-content;
    box-shadow: 0 0 40px rgba(0, 229, 255, 0.1);
    text-align: center;
}

/* FOOTER */
.footer {
    background: rgba(3, 7, 18, 0.95);
    border-top: 1px solid var(--border-glass);
    padding: 3rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
    color: var(--text-muted);
    margin-top: auto;
    font-weight: 500;
    letter-spacing: 0.5px;
}