/* ===========================
   CSS Reset & Base Styles
   =========================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color palette inspired by logo */
    --navy: #1a1a3e;
    --light-navy: #2d2d5f;
    --yellow: #f4c430;
    --green: #a8e6b8;
    --blue: #89c4f4;
    --pink: #ffb3c6;
    --orange: #ffb380;
    --white: #ffffff;
    --off-white: #fafbfc;
    --text-dark: #1a1a3e;
    --text-light: #4b5563;
    --border-light: #e5e7eb;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===========================
   Typography
   =========================== */

h1, h2, h3 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 2.75rem;
    color: var(--navy);
}

h2 {
    font-size: 2.25rem;
    color: var(--navy);
}

h3 {
    font-size: 1.25rem;
    color: var(--navy);
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
    font-size: 1.0625rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ===========================
   Hero Section
   =========================== */

.hero {
    background: linear-gradient(135deg, #fef9f3 0%, #f0f9ff 25%, #fef3f9 50%, #f3fef5 75%, #fffbf0 100%);
    padding: 4rem 0 5rem;
    border-bottom: 1px solid var(--border-light);
    position: relative;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.logo {
    max-width: 250px;
    width: 100%;
    height: auto;
    flex-shrink: 0;
}

.hero-text {
    flex: 1;
    text-align: center;
}

.hero h1 {
    color: var(--navy);
    font-size: 2.75rem;
    margin-bottom: 1rem;
}

.tagline {
    font-size: 1.25rem;
    color: var(--text-light);
    font-weight: 400;
    max-width: 700px;
    margin: 0 auto;
}

/* ===========================
   Manifesto Section
   =========================== */

.manifesto {
    background-color: var(--off-white);
    padding: 5rem 0;
}

.manifesto h2 {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2.5rem;
}

.manifesto p {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.5rem;
}

/* ===========================
   Lazy Smart Value Section
   =========================== */

.lazy-smart-value {
    background-color: var(--white);
    padding: 5rem 0;
    border-top: 1px solid var(--border-light);
}

.lazy-smart-value h2 {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2.5rem;
}

.value-content {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.value-content p {
    margin-bottom: 1.5rem;
}

.value-intro {
    font-size: 1.125rem;
    color: var(--text-dark);
    font-weight: 500;
}

.value-highlight {
    background: linear-gradient(135deg, #fef9f3 0%, #f0f9ff 50%, #f3fef5 100%);
    padding: 2rem;
    border-radius: 6px;
    border-left: 3px solid var(--navy);
    margin: 2rem 0;
}

.value-highlight p {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.value-highlight p:last-child {
    margin-bottom: 0;
}

.value-closing {
    font-style: italic;
    color: var(--text-light);
}

/* ===========================
   About Section
   =========================== */

.about {
    background-color: var(--white);
    padding: 5rem 0;
}

.about h2 {
    margin-bottom: 2.5rem;
}

.about p {
    max-width: 800px;
    margin-bottom: 1.5rem;
}

.philosophy {
    font-style: italic;
    color: var(--text-dark);
    background-color: var(--off-white);
    padding: 1.5rem 2rem;
    border-left: 3px solid var(--blue);
    margin-top: 2rem;
}

.resume-link {
    margin-top: 2rem;
}

.resume-link a {
    color: var(--navy);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 2px solid var(--blue);
    transition: border-color 0.2s ease;
}

.resume-link a:hover {
    border-bottom-color: var(--navy);
}

/* ===========================
   Services Section
   =========================== */

.services {
    background-color: var(--off-white);
    padding: 5rem 0;
}

.services h2 {
    margin-bottom: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
}

.service-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 6px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid var(--border-light);
    border-left: 3px solid var(--navy);
}

.service-card:nth-child(1) {
    border-left-color: var(--yellow);
}

.service-card:nth-child(2) {
    border-left-color: var(--green);
}

.service-card:nth-child(3) {
    border-left-color: var(--blue);
}

.service-card:nth-child(4) {
    border-left-color: var(--pink);
}

.service-card:nth-child(5) {
    border-left-color: var(--orange);
}

.service-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.service-card h3 {
    margin-bottom: 0.75rem;
}

.service-card p {
    margin-bottom: 0;
    font-size: 0.9375rem;
}

/* ===========================
   CTA Section
   =========================== */

.cta {
    background-color: var(--navy);
    padding: 5rem 0;
    text-align: center;
    color: var(--white);
}

.cta h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 0.875rem 2.5rem;
    background-color: var(--white);
    color: var(--navy);
    text-decoration: none;
    font-size: 1.0625rem;
    font-weight: 600;
    border-radius: 6px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* ===========================
   Footer
   =========================== */

footer {
    background-color: var(--off-white);
    color: var(--text-light);
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid var(--border-light);
}

footer p {
    margin-bottom: 0;
    font-size: 0.9375rem;
}

/* ===========================
   Responsive Design
   =========================== */

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    .hero {
        padding: 3rem 0 4rem;
    }

    .hero-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .logo {
        max-width: 150px;
    }

    h1 {
        font-size: 2rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .tagline {
        font-size: 1.125rem;
    }

    h2 {
        font-size: 1.875rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .manifesto,
    .about,
    .services,
    .cta {
        padding: 3.5rem 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    h1 {
        font-size: 1.75rem;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .tagline {
        font-size: 1rem;
    }

    h2 {
        font-size: 1.625rem;
    }

    .cta-button {
        padding: 0.75rem 2rem;
        font-size: 1rem;
    }

    .logo {
        max-width: 120px;
    }
}
