/* ==============================================
   TOP3REVIEWED - CHARCOAL PROFESSIONAL THEME
   Style-Charcoal.css - Global Styles
   ============================================== */

/* ===== CSS VARIABLES - CHARCOAL THEME ===== */
:root {
    /* Brand Colors - CHARCOAL THEME */
    --primary-gradient: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
    --primary-charcoal: #2d3748;
    --primary-dark: #1a202c;
    --accent-gold: #fbbf24;  /* Warm gold accent to pop against charcoal */
    
    /* UI Colors */
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    /* Accent Colors */
    --gold: #fbbf24;  /* Warmer gold that pops against charcoal */
    --silver: #c0c0c0;
    --bronze: #cd7f32;
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.15);
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Spacing */
    --container-max-width: 1200px;
    --header-height: 80px;
    --nav-height: 70px;
}

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--gray-50);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body.menu-open {
    overflow: hidden;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

h1 { font-size: 2.5rem; letter-spacing: -0.02em; }
h2 { font-size: 2rem; letter-spacing: -0.01em; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

a {
    color: var(--primary-charcoal);
    text-decoration: none;
    transition: color var(--transition-base);
}

a:hover {
    color: var(--accent-gold);
}

/* ===== SITE HEADER - CHARCOAL ===== */
.site-header {
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
    color: var(--white);
    padding: 20px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Header Branding */
.header-branding {
    flex: 1;
}

.site-logo {
    display: inline-block;
    text-decoration: none;
}

.logo-main {
    display: block;
    font-size: 32px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.02em;
    line-height: 1;
    margin-bottom: 4px;
}

.logo-number {
    color: #fbbf24;  /* Warm gold number */
    font-weight: 900;
}

.logo-tagline {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: rgba(251, 191, 36, 0.9);  /* Gold tagline for consistency */
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.site-logo:hover .logo-main {
    transform: scale(1.02);
    transition: transform 0.2s ease;
}

/* Header CTA Buttons */
.header-cta {
    display: flex;
    gap: 12px;
    align-items: center;
}

.btn-header-secondary,
.btn-header-primary {
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    white-space: nowrap;
    text-decoration: none;
    display: inline-block;
}

.btn-header-secondary {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-header-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-1px);
}

.btn-header-primary {
    color: #1a202c;
    background: #fbbf24;  /* Gold CTA button */
    border: 1px solid #fbbf24;
}

.btn-header-primary:hover {
    background: #f59e0b;
    border-color: #f59e0b;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
}

/* Responsive Header */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .header-branding {
        width: 100%;
    }
    
    .header-cta {
        width: 100%;
        justify-content: center;
    }
    
    .btn-header-secondary,
    .btn-header-primary {
        flex: 1;
        text-align: center;
    }
    
    .logo-main {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .logo-main {
        font-size: 24px;
    }
    
    .logo-tagline {
        font-size: 10px;
    }
    
    .btn-header-secondary,
    .btn-header-primary {
        font-size: 13px;
        padding: 8px 16px;
    }
}

/* ===== MAIN NAVIGATION - CHARCOAL ===== */
.main-nav {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.main-nav.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: var(--nav-height);
}

/* Nav Brand */
.nav-brand {
    flex-shrink: 0;
}

.nav-logo {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary-charcoal);
    text-decoration: none;
    letter-spacing: -0.01em;
    transition: color var(--transition-base);
}

.nav-logo:hover {
    color: var(--accent-gold);
}

.nav-logo-number {
    color: var(--gold);
    font-weight: 900;
}

/* Nav Menu */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 8px;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 12px 16px;
    color: var(--gray-700);
    font-weight: 500;
    font-size: 15px;
    border-radius: 6px;
    transition: all var(--transition-fast);
}

.nav-link:hover {
    color: var(--primary-charcoal);
    background: var(--gray-50);
}

.dropdown-icon {
    transition: transform var(--transition-base);
}

.dropdown:hover .dropdown-icon {
    transform: rotate(180deg);
}

/* ===== MEGA MENU ===== */
.mega-menu-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    margin-top: 8px;
    padding: 32px;
    width: 900px;
    max-width: 90vw;
    z-index: 1000;
    opacity: 0;
    animation: fadeInDown 0.3s ease forwards;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.mega-menu:hover .mega-menu-content {
    display: block;
}

.mega-menu-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--gray-200);
}

.mega-menu-column {
    min-width: 0;
}

.mega-menu-heading {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.mega-menu-icon {
    color: var(--accent-gold);
    flex-shrink: 0;
}

.mega-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mega-menu-list li {
    margin-bottom: 8px;
}

.mega-menu-list a {
    display: block;
    padding: 8px 12px;
    color: var(--gray-600);
    font-size: 14px;
    border-radius: 6px;
    transition: all var(--transition-fast);
}

.mega-menu-list a:hover {
    color: var(--primary-charcoal);
    background: var(--gray-50);
    transform: translateX(4px);
}

/* Mega Menu Featured Section */
.mega-menu-featured {
    padding-top: 24px;
}

.featured-card {
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--gray-100) 100%);
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    padding: 20px;
}

.featured-badge {
    display: inline-block;
    background: var(--primary-gradient);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
}

.featured-card h5 {
    font-size: 16px;
    margin-bottom: 8px;
    color: var(--gray-900);
}

.featured-card p {
    font-size: 14px;
    color: var(--gray-600);
    margin-bottom: 12px;
}

.featured-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-charcoal);
    font-weight: 600;
    font-size: 14px;
    transition: gap var(--transition-base);
}

.featured-link:hover {
    gap: 8px;
    color: var(--accent-gold);
}

/* ===== SITE FOOTER - CHARCOAL ===== */
.site-footer {
    background: linear-gradient(135deg, #1a202c 0%, #0f1419 100%);
    color: rgba(255, 255, 255, 0.8);
    padding: 60px 0 30px;
    margin-top: auto;
}

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

.footer-main {
    display: block;  /* or remove display property entirely */
    /* Remove grid-template-columns */
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo-number {
    color: #fbbf24;
}

.footer-brand .tagline {
    color: rgba(251, 191, 36, 0.9);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--white);
    transition: all var(--transition-base);
}

.social-link:hover {
    background: #fbbf24;
    color: #1a202c;
    transform: translateY(-2px);
}

.footer-column h4 {
    color: var(--white);
    font-size: 16px;
    margin-bottom: 16px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: all var(--transition-fast);
    display: inline-block;
}

.footer-links a:hover {
    color: #fbbf24;
    transform: translateX(4px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding-top: 30px;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.footer-legal {
    display: flex;
    gap: 24px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    transition: color var(--transition-fast);
}

.footer-legal a:hover {
    color: #fbbf24;
}

/* ===== PAGE HERO - CHARCOAL VARIANT ===== */
.page-hero {
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
    padding: 60px 20px;
    text-align: center;
    margin-bottom: 0;
}

.hero-title-gold {
    display: inline-block;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #fbbf24 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    letter-spacing: -0.02em;
}

/* ===== BUTTONS & CTAs - CHARCOAL THEME ===== */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(45, 55, 72, 0.4);
}

.btn-gold {
    background: #fbbf24;
    color: #1a202c;
}

.btn-gold:hover {
    background: #f59e0b;
    box-shadow: 0 8px 16px rgba(251, 191, 36, 0.4);
}

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

@media (max-width: 768px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 12px;
    }
}

/* ===== UTILITY CLASSES ===== */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
