/* 
   Filename: style.css
   Project: Erickson Edge Advisors
   Description: Institutional-grade stylesheet using CSS Grid/Flexbox.
   Architecture: Mobile-First, Utility-based classes mixed with semantic components.
   Color Palette Source: Derived from  and [6] (Teal psychology).
*/

:root {
    /* --- Color System --- */
    /* Primary: Deep Teal for authority and grounding. */
    --color-primary: #006666;
    /* Accent: Brighter Teal for interaction and energy. */
    --color-accent: #008080;
    /* Dark Text: Slate Blue for readability and professional tone. */
    --color-text-dark: #2C3E50;
    /* Body Text: Cool Grey for reduced eye strain. */
    --color-text-body: #4A5568;
    /* Backgrounds: Off-white to mimic high-end paper stock. */
    --color-bg-light: #F8F9FA;
    --color-bg-white: #FFFFFF;
    --color-border: #E2E8F0;

    /* --- Typography --- */
    /* Headings: Geometric Sans-Serif for modern precision (Operational Scale). */
    --font-heading: 'Inter', system-ui, -apple-system, sans-serif;
    /* Body: Humanist Serif for narrative authority (Advisory). */
    --font-body: 'Lora', Georgia, serif;

    /* --- Spacing & Layout --- */
    --container-width: 1100px;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* --- UI Elements --- */
    --border-radius: 4px; /* Minimal radius for a sharp, professional look */
    --shadow-card: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --transition-standard: all 0.3s ease-in-out;
}

/* --- CSS Reset & Base --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px; /* Base accessible size */
}

body {
    font-family: var(--font-body);
    color: var(--color-text-body);
    background-color: var(--color-bg-white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased; /* Sharp text rendering on MacOS */
}

h1, h2, h3, h4, h5 {
    font-family: var(--font-heading);
    color: var(--color-text-dark);
    font-weight: 600;
    line-height: 1.25;
    margin-bottom: var(--spacing-sm);
}

h1 { font-size: 2.5rem; letter-spacing: -0.02em; }
h2 { font-size: 2rem; letter-spacing: -0.01em; }
h3 { font-size: 1.5rem; }

p { margin-bottom: var(--spacing-sm); }
a { text-decoration: none; color: inherit; transition: var(--transition-standard); }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* --- Layout Utilities --- */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section-padding {
    padding: var(--spacing-xl) 0;
}

.bg-light { background-color: var(--color-bg-light); }
.text-center { text-align: center; }

/* --- Component: Buttons --- */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--color-primary);
    color: white;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1rem;
    border-radius: var(--border-radius);
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.btn:hover {
    background-color: var(--color-accent);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* --- Component: Navigation --- */
header {
    background: white;
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: var(--spacing-sm) 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--color-primary);
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: var(--spacing-md);
}

.nav-links a {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-links a:hover,.nav-links a.active {
    color: var(--color-primary);
}

/* --- Component: Hero Section --- */
.hero {
    padding: var(--spacing-xl) 0;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--color-bg-light) 0%, #ffffff 100%);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: var(--spacing-md);
    color: var(--color-text-dark);
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--color-text-body);
    margin-bottom: var(--spacing-lg);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Component: Service Cards (Homepage) --- */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.card {
    background: white;
    padding: var(--spacing-md);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-card);
    /* Non-clickable as requested */
}

.card-icon {
    color: var(--color-primary);
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
    /* Could use SVG here, kept simple text for now */
}

.card h3 {
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
    border-bottom: 2px solid var(--color-bg-light);
    padding-bottom: var(--spacing-xs);
    display: inline-block;
}

/* --- Component: Footer --- */
footer {
    background-color: var(--color-primary); /* Deep Teal Background */
    color: white;
    padding: var(--spacing-lg) 0;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
}

.footer-col h4 {
    color: white;
    margin-bottom: var(--spacing-md);
    font-size: 1.1rem;
}

.footer-col p,.footer-col a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.5rem;
}

.footer-col a:hover {
    color: white;
    text-decoration: underline;
}

/* --- Forms --- */
.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--color-text-dark);
}

.contact-form input, 
.contact-form textarea {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    font-family: var(--font-body);
    font-size: 1rem;
    background: var(--color-bg-light);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(0, 102, 102, 0.1);
    background: white;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
   .hero-content h1 { font-size: 2.5rem; }
    
    nav { flex-direction: column; gap: var(--spacing-sm); }
    
   .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--spacing-sm);
    }
}