/* ===================================
   Shan Xing Health - Common Styles
   =================================== */

:root {
    /* Corporate VI Colors */
    --brand-green: #2E8B57;  /* Bio-Vitality Green */
    --brand-blue: #0F2C45;   /* Deep Tech Blue */
    --brand-gold: #D4AF37;   /* Harvest Gold */
    --light-bg: #F8F9FA;
    --white: #FFFFFF;
    --text-dark: #333;
    --text-grey: #666;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; color: var(--text-dark); line-height: 1.6; overflow-x: hidden; }
h1, h2, h3 { font-family: 'Playfair Display', serif; }

/* Utility Classes */
.container { max-width: 1200px; margin: 0 auto; padding: 0 5%; }
.btn { display: inline-block; padding: 0.8rem 2rem; border-radius: 50px; text-decoration: none; font-weight: 600; transition: 0.3s; }
.btn-primary { background-color: var(--brand-green); color: white; }
.btn-primary:hover { background-color: #246B43; transform: translateY(-2px); }
.btn-outline { border: 2px solid var(--brand-green); color: var(--brand-green); }
.btn-outline:hover { background-color: var(--brand-green); color: white; }

/* --- Navigation --- */
nav {
    background-color: var(--white);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.nav-inner { display: flex; justify-content: space-between; align-items: center; }
.logo { font-weight: 700; font-size: 1.5rem; color: var(--brand-green); display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo span { color: var(--brand-blue); }
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a { text-decoration: none; color: var(--text-dark); font-weight: 500; transition: 0.3s; position: relative; }
.nav-links a:hover { color: var(--brand-green); }

/* Simple Dropdown for Products */
.dropdown { position: relative; }
.dropdown-content {
    display: none; position: absolute; top: 100%; left: 0; background: white; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.1); min-width: 200px; border-radius: 5px; padding: 1rem 0;
}
.dropdown:hover .dropdown-content { display: block; }
.dropdown-content a { display: block; padding: 0.5rem 1.5rem; }

/* --- Footer --- */
footer { background-color: #051A2B; color: white; padding: 4rem 0 2rem; margin-top: auto; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 3rem; margin-bottom: 3rem; }
.f-col h3 { color: var(--brand-gold); margin-bottom: 1.5rem; font-size: 1.2rem; }
.f-col ul { list-style: none; }
.f-col a { color: #ccc; text-decoration: none; display: block; margin-bottom: 0.8rem; transition: 0.3s; }
.f-col a:hover { color: white; padding-left: 5px; }
.f-bottom { text-align: center; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 2rem; font-size: 0.9rem; color: #888; }

/* Mobile Navigation */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-inner { flex-wrap: wrap; }
}
