/* ===== UNIVERSAL COLOR SCHEME - GOLD & CREAM THEME ===== */
/* Update these variables in one place to change the entire site color scheme */

/* Primary Brand Colors */
:root {
    /* Gold Palette */
    --primary-gold: #D4AF37;
    --secondary-gold: #C9A227;
    --light-gold: #F4E3A3;
    --dark-gold: #92400E;
    
    /* Accent Colors */
    --accent-sky: #0EA5E9;
    --accent-green: #10b981;
    --accent-red: #ef4444;
    
    /* Special Colors */
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    --info: #0ea5e9;
}

/* ===== DARK MODE (Default) ===== */
body {
    /* Backgrounds */
    --dark-bg: #0f1419;
    --card-bg: #1a1f2e;
    --page-bg: linear-gradient(135deg, #0f1419 0%, #1a1f2e 100%);
    --header-bg: rgba(15, 20, 25, 0.98);
    --input-bg: rgba(15, 20, 25, 0.5);
    --section-bg: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(196, 162, 39, 0.05) 100%);
    
    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #cbd5e1;
    --text-tertiary: #64748b;
    
    /* Border & Divider Colors */
    --border-color: rgba(212, 175, 55, 0.15);
    --card-border: rgba(212, 175, 55, 0.3);
    --divider: rgba(212, 175, 55, 0.2);
    
    /* Accent Colors for Dark Mode */
    --accent-primary: #D4AF37;
    --accent-secondary: #C9A227;
    --accent-tertiary: #F4E3A3;
}

/* ===== LIGHT MODE ===== */
body.light-mode {
    /* Backgrounds */
    --dark-bg: #fffaf0;
    --card-bg: #fffbf0;
    --page-bg: linear-gradient(135deg, #fffaf0 0%, #fff5e6 100%);
    --header-bg: rgba(255, 250, 240, 0.97);
    --input-bg: rgba(255, 250, 240, 0.8);
    --section-bg: linear-gradient(135deg, rgba(212, 175, 55, 0.08) 0%, rgba(196, 162, 39, 0.04) 100%);
    
    /* Text Colors */
    --text-primary: #1a1410;
    --text-secondary: #3a3028;
    --text-tertiary: #605650;
    
    /* Border & Divider Colors */
    --border-color: rgba(212, 175, 55, 0.2);
    --card-border: rgba(212, 175, 55, 0.25);
    --divider: rgba(212, 175, 55, 0.15);
    
    /* Accent Colors for Light Mode */
    --accent-primary: #D4AF37;
    --accent-secondary: #C9A227;
    --accent-tertiary: #92400E;
}

/* Apply theme to body */
html, body {
    background: var(--page-bg);
    color: var(--text-primary);
    transition: background 0.3s ease, color 0.3s ease;
}

/* Header theme updates */
header {
    background: var(--header-bg);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

/* Navigation links theme */
.nav-links a {
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent-primary);
}

.nav-links a::after {
    background: linear-gradient(90deg, var(--accent-secondary), var(--accent-primary));
}

/* Theme Toggle Button */
.theme-toggle {
    background: none;
    border: 2px solid var(--text-secondary);
    color: var(--text-secondary);
    font-size: 1.2em;
    width: 45px;
    height: 45px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.theme-toggle:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    background: rgba(212, 175, 55, 0.1);
}

/* Social links */
.social-links a {
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-primary);
    transform: scale(1.2);
}

/* Card and container themes */
.featured-post,
.post-card,
.service-card,
.newsletter-section,
section {
    transition: all 0.3s ease;
}

/* Text colors */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
}

p {
    color: var(--text-secondary);
}

a {
    color: var(--accent-primary);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-secondary);
}

/* Input fields */
input, textarea, select {
    background: var(--input-bg);
    color: var(--text-primary);
    border: 1px solid var(--card-border);
    transition: all 0.3s ease;
}

input:focus, textarea:focus, select:focus {
    border-color: var(--accent-primary);
    outline: none;
}

/* Button styles using theme */
.btn, button {
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-secondary), var(--accent-primary));
    color: #fff;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--accent-primary);
    border: 2px solid var(--accent-primary);
}

.btn-secondary:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(29, 181, 132, 0.2);
}

input::placeholder,
textarea::placeholder {
    color: var(--text-secondary);
}

/* Footer theme */
footer {
    background: rgba(15, 20, 25, 0.8);
    border-top: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

body.light-mode footer {
    background: rgba(245, 245, 247, 0.8);
    border-top: 1px solid rgba(29, 181, 132, 0.2);
}

footer, footer p {
    color: var(--text-secondary);
}
