/* ===========================
   ERV Manufacturing - Main CSS
   Gold/Black Industrial Theme
   =========================== */

/* CSS Variables */
:root {
    --gold-primary: #D4A017;
    --gold-bright: #FFD700;
    --gold-dark: #A07810;
    --gold-gradient: linear-gradient(135deg, #A07810, #FFD700, #D4A017);
    --black-deep: #0A0A0A;
    --black-card: #111111;
    --black-mid: #1A1A1A;
    --black-light: #222222;
    --gray-dark: #2A2A2A;
    --gray-mid: #444444;
    --gray-light: #888888;
    --white: #F5F5F5;
    --white-dim: #CCCCCC;
    --font-display: 'Bebas Neue', sans-serif;
    --font-heading: 'Rajdhani', sans-serif;
    --font-body: 'Exo 2', sans-serif;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    background: var(--black-deep);
    color: var(--white-dim);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}

a { color: var(--gold-primary); text-decoration: none; transition: all 0.3s ease; }
a:hover { color: var(--gold-bright); }

img { max-width: 100%; height: auto; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4, h5 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    line-height: 1.1;
}

.gold-text { background: var(--gold-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.section-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.3em;
    color: var(--gold-primary);
    border: 1px solid var(--gold-dark);
    padding: 4px 14px;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}
.section-header h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 16px; }
.section-header p { color: var(--gray-light); max-width: 600px; margin: 0 auto; }

/* ========== NAVIGATION ========== */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.main-nav.scrolled {
    background: rgba(10, 10, 10, 0.97);
    border-bottom: 1px solid var(--gold-dark);
    backdrop-filter: blur(12px);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 24px;
}

.nav-logo img {
    height: 56px;
    width: auto;
    filter: drop-shadow(0 0 8px rgba(212, 160, 23, 0.3));
    transition: filter 0.3s ease;
}
.nav-logo:hover img { filter: drop-shadow(0 0 16px rgba(255, 215, 0, 0.6)); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav-links a {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--white-dim);
    padding: 8px 14px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gold-gradient);
    transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--gold-bright);
    border-color: transparent;
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 80%; }

.nav-shop-btn {
    background: var(--gold-gradient) !important;
    color: var(--black-deep) !important;
    font-weight: 700 !important;
    padding: 9px 20px !important;
    border-radius: 2px;
    -webkit-text-fill-color: var(--black-deep) !important;
    transition: all 0.3s ease !important;
    border: none !important;
}
.nav-shop-btn::after { display: none !important; }
.nav-shop-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(212, 160, 23, 0.4) !important; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.nav-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--gold-primary);
    transition: all 0.3s ease;
}

/* ========== BUTTONS ========== */
.btn-primary {
    display: inline-block;
    background: var(--gold-gradient);
    color: var(--black-deep);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.15em;
    padding: 14px 32px;
    border-radius: 2px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    -webkit-text-fill-color: var(--black-deep);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 160, 23, 0.5);
    color: var(--black-deep);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 2px solid var(--gold-primary);
    color: var(--gold-primary);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.15em;
    padding: 12px 30px;
    border-radius: 2px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}
.btn-secondary:hover {
    background: var(--gold-primary);
    color: var(--black-deep);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 160, 23, 0.3);
}

/* ========== PAGE HERO (interior pages) ========== */
.page-hero {
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    margin-top: 80px;
    background: var(--black-mid);
    border-bottom: 2px solid var(--gold-dark);
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at center, rgba(212, 160, 23, 0.08) 0%, transparent 70%);
}
.page-hero-content { text-align: center; position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.5rem, 6vw, 4rem); margin-bottom: 8px; }
.page-hero p { color: var(--gray-light); font-size: 16px; }

/* ========== FOOTER ========== */
.site-footer {
    background: var(--black-card);
    border-top: 2px solid var(--gold-dark);
    margin-top: 0;
}

.footer-top { padding: 60px 0; }

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
}

.footer-logo {
    height: 60px;
    width: auto;
    margin-bottom: 16px;
    display: block;
}

.footer-brand p {
    color: var(--gray-light);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-social { display: flex; gap: 12px; }
.footer-social a {
    width: 36px;
    height: 36px;
    border: 1px solid var(--gray-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-light);
    transition: all 0.3s ease;
    border-radius: 2px;
}
.footer-social a:hover {
    border-color: var(--gold-primary);
    color: var(--gold-primary);
    background: rgba(212, 160, 23, 0.1);
}

.footer-col h4 {
    font-size: 14px;
    letter-spacing: 0.2em;
    color: var(--gold-primary);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--gray-dark);
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
    color: var(--gray-light);
    font-size: 14px;
    transition: color 0.3s ease;
}
.footer-col ul li a:hover { color: var(--gold-bright); }

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--gray-light);
    font-size: 14px;
    margin-bottom: 12px;
}
.footer-contact li i { color: var(--gold-primary); margin-top: 3px; min-width: 16px; }
.footer-contact li a { color: var(--gray-light); }
.footer-contact li a:hover { color: var(--gold-bright); }

.footer-shop-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    background: var(--gold-gradient);
    color: var(--black-deep);
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 10px 20px;
    border-radius: 2px;
    transition: all 0.3s ease;
    -webkit-text-fill-color: var(--black-deep);
}
.footer-shop-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 160, 23, 0.4);
    color: var(--black-deep);
}

.footer-bottom {
    background: var(--black-deep);
    border-top: 1px solid var(--gray-dark);
    padding: 20px 0;
}
.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-bottom p {
    color: var(--gray-mid);
    font-size: 13px;
}

/* ========== UTILITY ========== */
.gold-divider {
    width: 60px;
    height: 3px;
    background: var(--gold-gradient);
    margin: 16px auto;
}

.gold-divider-left { margin: 16px 0; }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(10,10,10,0.98);
        border-bottom: 2px solid var(--gold-dark);
        flex-direction: column;
        padding: 20px;
        gap: 4px;
    }
    .nav-links.open { display: flex; }
    .nav-links a { width: 100%; padding: 12px 16px; }

    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom .container { flex-direction: column; gap: 8px; text-align: center; }
}
