/* 
  VBM Services - Premium Manufacturing Website
  Theme: Dark Mode, Glassmorphism, Industrial Cyberpunk
*/

:root {
    /* Color Palette */
    --bg-primary: #0b0f19;
    --bg-secondary: #131a2a;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    
    /* Accents - Updated to match VBM Logo */
    --accent-primary: #1a4b77;   /* VBM Navy Blue */
    --accent-secondary: #e46922; /* VBM Orange */
    --accent-glow: rgba(228, 105, 34, 0.4);
    --warning: #f59e0b;
    
    /* UI Elements */
    --glass-bg: rgba(19, 26, 42, 0.6);
    --glass-border: rgba(255, 255, 255, 0.1);
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing & Transitions */
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

.text-gradient {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Utilities */
.section {
    padding: 100px 5%;
}

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

.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-inline: auto;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-description {
    color: var(--text-muted);
    font-size: 1.1rem;
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    box-shadow: 0 4px 15px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.7);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--accent-primary);
    border: 2px solid var(--accent-primary);
}

.btn-outline:hover {
    background: rgba(59, 130, 246, 0.1);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.1rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 5%;
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    background: rgba(11, 15, 25, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 12px 5%;
    border-bottom: 1px solid rgba(228, 105, 34, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.navbar.scrolled .nav-link {
    color: var(--text-muted);
}

.navbar.scrolled .nav-link:hover, .navbar.scrolled .nav-link.active {
    color: var(--text-main);
}

.navbar.scrolled .mobile-menu-btn span {
    background-color: var(--text-main);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-logo {
    height: 56px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    transition: var(--transition-fast);
}

.navbar.scrolled .brand-logo {
    height: 48px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
    color: var(--text-main);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-main);
    transition: var(--transition-fast);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 5%;
    background-color: var(--bg-primary);
    /* Relevant industrial plastic manufacturing photo */
    background-image:
        /* Dark brand overlay */
        linear-gradient(135deg, rgba(6, 11, 20, 0.92) 0%, rgba(13, 26, 46, 0.82) 60%, rgba(228, 105, 34, 0.15) 100%),
        /* Dot grid */
        radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px),
        /* Plastic injection moulding / industrial manufacturing */
        url('https://images.unsplash.com/photo-1565193566173-7a0ee3dbe261?auto=format&fit=crop&q=80&w=2000');
    background-size: 100% 100%, 30px 30px, cover;
    background-position: center, center, center;
    background-attachment: scroll, scroll, fixed;
    overflow: hidden;
}

/* Animated accent line across the hero */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-primary), var(--accent-secondary), transparent);
    z-index: 3;
}

/* Subtle industrial gear/circuit texture */
.hero::after {
    content: '';
    position: absolute;
    right: -100px;
    bottom: -100px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(228, 105, 34, 0.08) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent; /* No overlay needed — CSS bg handles it */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin-top: 80px;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 30px;
    color: var(--accent-primary);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 3.8rem;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 680px;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 20px;
}

/* Stats Banner */
/* Stats Banner — sits between hero and capabilities in normal flow */
.stats-wrapper {
    position: relative;
    z-index: 10;
    padding: 0 5%;
    margin-top: -60px; /* pulls it up to visually overlap the hero bottom */
    margin-bottom: 0;
}

.stats-banner {
    display: flex;
    justify-content: space-around;
    padding: 30px 40px;
    border-radius: 16px;
}

.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    color: var(--accent-primary);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Cards Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.glass-card {
    background: rgba(19, 26, 42, 0.4);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 40px 30px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    opacity: 0;
    transition: var(--transition-smooth);
}

.glass-card:hover {
    transform: translateY(-10px);
    background: rgba(19, 26, 42, 0.7);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.glass-card:hover::before {
    opacity: 1;
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: inline-block;
    padding: 15px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 12px;
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.card-text {
    color: var(--text-muted);
}

/* Capabilities — normal padding now that stats banner is in flow */
.capabilities {
    padding-top: 80px;
    position: relative;
    z-index: 1;
}

/* =========================================
   Product Section — Tabs & Cards
   ========================================= */

/* Category Tab Navigation */
.category-tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 50px;
    border: 2px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.tab-btn:hover {
    border-color: var(--accent-secondary);
    color: var(--text-main);
    background: rgba(228, 105, 34, 0.08);
}

.tab-btn.active {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-color: transparent;
    color: white;
    box-shadow: 0 4px 20px var(--accent-glow);
}

.tab-icon {
    font-size: 1.2rem;
}

/* Category Content Panels */
.product-category {
    display: none;
    animation: fadeUp 0.4s ease;
}

.product-category.active {
    display: block;
}

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

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 28px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Product Card */
.product-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: rgba(228, 105, 34, 0.35);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

/* Product Image Wrapper */
.product-img-wrap {
    position: relative;
    background: #ffffff;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Available Badge */
.product-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: linear-gradient(135deg, #16a34a, #22c55e);
    color: white;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 30px;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.4);
}

/* Product Info */
.product-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.product-name {
    font-size: 1.15rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-main);
}

.product-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    flex: 1;
}

/* Small Button Variant */
.btn-sm {
    padding: 10px 22px;
    font-size: 0.88rem;
    align-self: flex-start;
    border-radius: 8px;
}

/* Coming Soon Panel */
.coming-soon-panel {
    text-align: center;
    padding: 80px 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 2px dashed var(--glass-border);
    border-radius: 20px;
    max-width: 500px;
    margin: 0 auto;
}

.coming-soon-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.coming-soon-panel h3 {
    font-size: 1.6rem;
    margin-bottom: 12px;
    color: var(--text-main);
}

.coming-soon-panel p {
    color: var(--text-muted);
}

.center-cta {
    text-align: center;
}


/* CTA Section */
.cta-section {
    padding-bottom: 100px;
}

.cta-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px;
    border-radius: 24px;
    text-align: center;
    background: linear-gradient(135deg, rgba(19, 26, 42, 0.8), rgba(11, 15, 25, 0.9));
    border: 1px solid rgba(228, 105, 34, 0.25);
}

.cta-content h2 {
    font-size: 2.8rem;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 36px;
    max-width: 680px;
    margin-inline: auto;
    margin-bottom: 36px;
}

/* CTA Info Row — Phone & Address */
.cta-info-row {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.cta-info-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 16px 24px;
    text-align: left;
}

.cta-info-icon {
    font-size: 1.8rem;
    line-height: 1;
}

.cta-info-item strong {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-secondary);
    margin-bottom: 4px;
}

.cta-info-item a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    transition: var(--transition-fast);
}

.cta-info-item a:hover {
    color: var(--accent-secondary);
}

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

/* Footer */
.footer {
    background-color: #060910;
    padding: 80px 5% 30px;
    border-top: 1px solid var(--glass-border);
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto;
    margin-bottom: 60px;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 20px;
    max-width: 300px;
}

.footer-brand .brand-logo {
    height: 56px;
    max-width: 200px;
    /* No invert filter — logo colors suit the dark background */
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.link-column h4 {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: white;
}

.link-column a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 12px;
    transition: var(--transition-fast);
}

.link-column a:hover {
    color: var(--accent-primary);
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-title { font-size: 3.5rem; }
    .stats-wrapper { margin-top: 0; padding: 40px 5% 0; }
    .capabilities { padding-top: 40px; }
    .footer-container { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-menu-btn { display: flex; }
    .hero-title { font-size: 2.8rem; }
    .stats-banner { flex-direction: column; gap: 30px; }
    .cta-buttons { flex-direction: column; }
    .footer-links { grid-template-columns: 1fr; gap: 40px; }
    .btn { width: 100%; text-align: center; }
}
