/* =====================================================
   DIANSHENG LIGHTING - UNIFIED HEADER STYLES
   Apply to all pages for consistent navigation
   ===================================================== */

:root {
    --black: #000000;
    --white: #ffffff;
    --gold: #c9a227;
    --gold-dark: #b89222;
    --gray-light: #f5f5f5;
    --gray-dark: #333333;
}

/* ========== Header Base ========== */
.header {
    background: var(--white);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s;
}

.header.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

/* ========== Logo ========== */
.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--black);
    text-decoration: none;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.logo span {
    color: var(--gold);
}

/* ========== Navigation ========== */
.nav {
    display: flex;
    gap: 50px;
}

.nav a {
    color: var(--black);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: color 0.3s;
    position: relative;
}

.nav a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s;
}

.nav a:hover,
.nav a.active {
    color: var(--gold);
}

.nav a:hover:after,
.nav a.active:after {
    width: 100%;
}

/* ========== Header CTA Button ========== */
.header-cta {
    background: var(--gold);
    color: var(--white);
    padding: 12px 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: background 0.3s;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.header-cta:hover {
    background: var(--gold-dark);
}

/* ========== Mobile Menu Button ========== */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--black);
    cursor: pointer;
}

/* ========== Mobile Navigation ========== */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--white);
    z-index: 999;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.mobile-nav.active {
    display: flex;
}

.mobile-nav a {
    color: var(--black);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: color 0.3s;
}

.mobile-nav a:hover,
.mobile-nav a.active {
    color: var(--gold);
}

.mobile-nav .header-cta {
    margin-top: 20px;
}

.mobile-nav-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--black);
    cursor: pointer;
}

/* ========== Responsive ========== */
@media (max-width: 968px) {
    .nav {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .header .container {
        padding: 15px 20px;
    }

    .header-cta {
        display: none;
    }
}
