/*
Theme Name: Feng Shui Auspice
Theme URI: https://fengshuiauspice.com
Description: Traditional Chinese Feng Shui consulting theme with modern design
Version: 1.0.0
Author: Feng Shui Auspice
License: GNU General Public License v2 or later
Text Domain: fengshui
*/

/* =========================================
   CSS Variables - Feng Shui Theme
   ========================================= */
:root {
    /* Primary Colors - Jade Green + Gold */
    --fs-primary: #1B4D3E;        /* 深翡翠绿 */
    --fs-primary-dark: #0D2E24;   /* 墨绿 */
    --fs-primary-light: #2A6B55;  /* 浅翡翠 */
    --fs-gold: #B8860B;           /* 暗金 */
    --fs-gold-light: #DAA520;     /* 金色 */
    --fs-gold-bright: #FFD700;     /* 亮金 */

    /* Background */
    --fs-bg: #FDFBF7;             /* 暖白 */
    --fs-bg-alt: #F5F1E8;         /* 米色 */
    --fs-bg-dark: #1A1A1A;        /* 深色 */
    --fs-bg-jade: #E8F0ED;       /* 淡翡翠色 */

    /* Text */
    --fs-text: #2D2D2D;
    --fs-text-light: #666666;
    --fs-text-white: #FFFFFF;

    /* Accents */
    --fs-border: #E0DDD5;
    --fs-shadow: rgba(0,0,0,0.08);

    /* Typography */
    --fs-font: 'Georgia', 'Times New Roman', serif;
    --fs-font-display: 'Arial', 'Helvetica', sans-serif;

    /* Spacing */
    --fs-space-xs: 0.5rem;
    --fs-space-sm: 1rem;
    --fs-space-md: 1.5rem;
    --fs-space-lg: 3rem;
    --fs-space-xl: 5rem;
}

/* =========================================
   Reset & Base
   ========================================= */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
    font-family: var(--fs-font);
    color: var(--fs-text);
    background-color: var(--fs-bg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}
a { color: var(--fs-primary); text-decoration: none; transition: all 0.3s ease; }
a:hover { color: var(--fs-gold); }
img { max-width: 100%; height: auto; }

/* =========================================
   Typography
   ========================================= */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--fs-font-display);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: var(--fs-space-md);
    color: var(--fs-text);
}
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
p { margin-bottom: var(--fs-space-sm); }

/* =========================================
   Layout
   ========================================= */
.site-container { max-width: 1200px; margin: 0 auto; padding: 0 var(--fs-space-lg); }
.site-header {
    background: var(--fs-bg);
    border-bottom: 1px solid var(--fs-border);
    padding: var(--fs-space-sm) 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px var(--fs-shadow);
}
.site-content { padding: var(--fs-space-lg) 0; }
.site-footer {
    background: var(--fs-bg-dark);
    color: var(--fs-text-white);
    padding: var(--fs-space-lg) 0;
    text-align: center;
    border-top: 3px solid var(--fs-gold);
}

/* =========================================
   Logo - Traditional Seal Style
   ========================================= */
.site-logo {
    display: flex;
    align-items: center;
    gap: var(--fs-space-sm);
}
.logo-seal {
    width: 50px;
    height: 50px;
    border: 3px solid var(--fs-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'SimSun', serif;
    font-size: 1.4rem;
    color: var(--fs-primary);
    font-weight: bold;
    position: relative;
    background: var(--fs-bg);
}
.logo-seal::before {
    content: '';
    position: absolute;
    inset: 4px;
    border: 1px solid var(--fs-primary);
    opacity: 0.4;
}
.site-logo-text { display: flex; flex-direction: column; }
.site-logo-text .site-title {
    font-family: var(--fs-font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--fs-primary);
    line-height: 1.2;
}
.site-logo-text .site-tagline {
    font-size: 0.7rem;
    color: var(--fs-text-light);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* =========================================
   Navigation
   ========================================= */
.main-navigation { display: flex; justify-content: space-between; align-items: center; }
.main-navigation ul { list-style: none; display: flex; gap: var(--fs-space-lg); }
.main-navigation li { position: relative; }
.main-navigation a {
    color: var(--fs-text);
    font-family: var(--fs-font-display);
    font-weight: 500;
    font-size: 0.95rem;
    padding: var(--fs-space-xs) 0;
    display: block;
    position: relative;
}
.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--fs-gold);
    transition: width 0.3s ease;
}
.main-navigation a:hover { color: var(--fs-primary); }
.main-navigation a:hover::after { width: 100%; }

/* =========================================
   Hero Section - Feng Shui Style
   ========================================= */
.hero-section {
    background: linear-gradient(135deg, var(--fs-primary) 0%, var(--fs-primary-dark) 100%);
    color: var(--fs-text-white);
    padding: 1.5rem 0;
    position: relative;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}
.hero-tool-container {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 16px;
    padding: 1.2rem;
    margin-top: 1rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.hero-form-row { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-form-row .form-group { flex: 1; min-width: 150px; }
.hero-form-row select,
.hero-form-row input {
    background: rgba(255, 255, 255, 0.95) !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    color: var(--fs-text) !important;
    padding: 0.8rem;
    border-radius: 8px;
    font-size: 0.9rem;
}
.hero-form-row select:focus,
.hero-form-row input:focus {
    border-color: var(--fs-gold) !important;
    outline: none;
}

/* =========================================
   Buttons
   ========================================= */
.btn {
    display: inline-block;
    padding: 0.9rem 2rem;
    background: linear-gradient(135deg, var(--fs-gold-light) 0%, var(--fs-gold) 100%);
    color: var(--fs-text-white);
    border-radius: 8px;
    font-family: var(--fs-font-display);
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 15px rgba(184, 134, 11, 0.3);
}
.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(184, 134, 11, 0.4);
    color: var(--fs-text-white);
}
.btn-outline {
    background: transparent;
    border: 2px solid var(--fs-gold);
    color: var(--fs-gold);
    box-shadow: none;
}
.btn-outline:hover {
    background: var(--fs-gold);
    color: var(--fs-text-white);
}

/* =========================================
   Category Cards
   ========================================= */
.fs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--fs-space-md);
    margin: var(--fs-space-lg) 0;
}
.fs-card {
    background: var(--fs-text-white);
    border: 2px solid var(--fs-border);
    border-radius: 12px;
    padding: var(--fs-space-md);
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--fs-space-xs);
}
.fs-card:hover {
    border-color: var(--fs-gold);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px var(--fs-shadow);
}
.fs-card:hover h3 { color: var(--fs-primary); }
.fs-icon { font-size: 2.5rem; margin-bottom: 0.5rem; }
.fs-card h3 { color: var(--fs-text); margin: 0; font-size: 1.1rem; transition: color 0.3s ease; }
.fs-card p { color: var(--fs-text-light); font-size: 0.85rem; margin: 0; }

/* =========================================
   Pricing Cards
   ========================================= */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--fs-space-md);
    margin: var(--fs-space-lg) 0;
}
.pricing-card {
    background: var(--fs-text-white);
    border-radius: 16px;
    padding: var(--fs-space-lg);
    text-align: center;
    transition: all 0.4s ease;
    border: 2px solid var(--fs-border);
    position: relative;
    overflow: hidden;
}
.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--fs-primary), var(--fs-gold));
}
.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px var(--fs-shadow);
    border-color: var(--fs-gold);
}
.pricing-card.featured { border-color: var(--fs-gold); }
.pricing-card.featured::after {
    content: 'Popular';
    position: absolute;
    top: 20px;
    right: -35px;
    background: var(--fs-gold);
    color: var(--fs-text-white);
    padding: 0.4rem 3rem;
    font-size: 0.75rem;
    transform: rotate(45deg);
}
.pricing-card h3 { color: var(--fs-text); font-size: 1.4rem; margin-bottom: var(--fs-space-sm); }
.pricing-card .price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--fs-primary);
    margin-bottom: var(--fs-space-md);
}
.pricing-card ul { list-style: none; padding: 0; margin-bottom: var(--fs-space-md); text-align: left; }
.pricing-card li {
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--fs-border);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.pricing-card li:last-child { border-bottom: none; }
.pricing-card li::before { content: '✓'; color: var(--fs-gold); font-weight: bold; }

/* =========================================
   Section Styles
   ========================================= */
.section { padding: var(--fs-space-xl) 0; }
.section-alt { background: var(--fs-bg-jade); }
.section-header { text-align: center; margin-bottom: var(--fs-space-lg); }
.section-header h2 { color: var(--fs-primary); margin-bottom: var(--fs-space-sm); }
.section-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--fs-primary), var(--fs-gold));
    margin: var(--fs-space-sm) auto;
}

/* =========================================
   Footer
   ========================================= */
.footer-seal {
    width: 60px;
    height: 60px;
    border: 3px solid var(--fs-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'SimSun', serif;
    font-size: 1.8rem;
    color: var(--fs-gold);
    margin: 0 auto var(--fs-space-md);
}
.footer-site-name { font-size: 1.5rem; color: var(--fs-gold); display: block; margin-bottom: var(--fs-space-sm); }
.footer-links a { color: rgba(255,255,255,0.8); margin: 0 var(--fs-space-sm); }
.footer-links a:hover { color: var(--fs-gold); }

/* =========================================
   Traditional Element - Bagua
   ========================================= */
.bagua-symbol {
    width: 80px;
    height: 80px;
    border: 4px solid var(--fs-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--fs-primary);
    margin: 0 auto;
    position: relative;
}
.bagua-symbol::before {
    content: '☯';
    font-size: 2.5rem;
}

/* =========================================
   Responsive
   ========================================= */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    .main-navigation ul { display: none; }
    .hero-form-row { flex-direction: column; }
    .hero-form-row .form-group { min-width: 100%; }
    .fs-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { grid-template-columns: 1fr; }
}

/* =========================================
   WordPress Required
   ========================================= */
.screen-reader-text { clip: rect(1px, 1px, 1px, 1px); position: absolute !important; }
.clear::before, .clear::after { content: ''; display: table; }
.clear::after { clear: both; }
