/* ===== Taylor Stewart Consulting - Modern Minimal Warm Design ===== */

/* CSS Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Warm, minimal color palette */
    --primary: #1a1a1a;          /* Deep charcoal */
    --secondary: #2d2d2d;        /* Warm gray */
    --accent: #d4a574;           /* Warm bronze/gold */
    --accent-hover: #c49565;     /* Darker bronze */
    --text: #2d2d2d;             /* Main text */
    --text-light: #666666;       /* Secondary text */
    --bg: #ffffff;               /* Pure white background */
    --bg-warm: #fafaf9;          /* Warm off-white */
    --bg-cream: #f5f4f0;         /* Cream background */
    --border: #e5e5e5;           /* Subtle borders */

    /* Shadows - subtle and soft */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.1);

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transition: var(--transition);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 24px;
    max-width: 1400px;
}

.logo-img {
    height: 50px;
    width: auto;
    color: var(--primary);
    transition: var(--transition);
}

.logo-img:hover {
    opacity: 0.8;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 3rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    position: relative;
    transition: var(--transition);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 26px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===== Hero Section ===== */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 160px 24px 100px;
    background: var(--bg-warm);
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 900px;
    text-align: center;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 2rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.hero p {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: var(--text-light);
    margin-bottom: 3rem;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== Page Hero ===== */
.page-hero {
    padding: 180px 24px 100px;
    background: var(--bg-cream);
    text-align: center;
}

.page-hero h1 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.page-hero p {
    font-size: 1.25rem;
    color: var(--text-light);
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 14px 36px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    letter-spacing: 0.01em;
}

.btn-primary {
    background: var(--primary);
    color: var(--bg);
}

.btn-primary:hover {
    background: var(--secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 1.5px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--bg);
}

.btn-large {
    padding: 18px 48px;
    font-size: 1.1rem;
}

/* ===== Sections ===== */
section {
    padding: 100px 24px;
}

.section-title {
    font-size: clamp(2rem, 3vw, 2.75rem);
    font-weight: 600;
    text-align: center;
    margin-bottom: 4rem;
    color: var(--primary);
    letter-spacing: -0.02em;
}

/* ===== Mission Section ===== */
.mission {
    background: var(--bg);
    text-align: center;
}

.mission-statement {
    font-size: 1.35rem;
    color: var(--text);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ===== Pillars Section ===== */
.pillars {
    background: var(--bg-cream);
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
}

.pillar-card {
    background: var(--bg);
    padding: 3rem 2.5rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.pillar-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.pillar-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    color: var(--primary);
    font-weight: 600;
}

.pillar-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* ===== Intelligence Edge Section ===== */
.intelligence-edge {
    background: var(--primary);
    color: var(--bg);
    text-align: center;
}

.intelligence-edge h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.intelligence-edge p {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
}

.intelligence-edge .btn-primary {
    background: var(--bg);
    color: var(--primary);
}

.intelligence-edge .btn-primary:hover {
    background: var(--bg-cream);
}

/* ===== Services Grid ===== */
.services-content {
    background: var(--bg-cream);
}

.services-intro {
    max-width: 800px;
    margin: 0 auto 5rem;
    text-align: center;
}

.services-intro h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.services-intro p {
    font-size: 1.2rem;
    color: var(--text-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2.5rem;
    margin-bottom: 5rem;
}

.service-card {
    background: var(--bg);
    padding: 3rem 2.5rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.service-card h3 {
    font-size: 1.6rem;
    color: var(--primary);
    margin-bottom: 1.25rem;
    font-weight: 600;
}

.service-description {
    color: var(--text);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.service-features {
    list-style: none;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.service-features li {
    padding: 0.75rem 0;
    color: var(--text-light);
    position: relative;
    padding-left: 2rem;
    line-height: 1.6;
}

.service-features li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 600;
    font-size: 1.2rem;
}

.service-link {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.service-link:hover {
    color: var(--accent);
    transform: translateX(4px);
}

/* ===== Process Section ===== */
.process-section {
    max-width: 1000px;
    margin: 0 auto;
}

.approach-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2.5rem;
}

.step-card {
    background: var(--bg);
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.step-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.step-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.step-card h3 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
    color: var(--primary);
    font-weight: 600;
}

.step-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* ===== CTA Section ===== */
.cta-section {
    background: var(--bg-warm);
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.cta-section p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: var(--text-light);
}

/* ===== Contact Page ===== */
.contact-content {
    background: var(--bg-cream);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
    font-weight: 600;
}

.contact-info > p {
    color: var(--text-light);
    margin-bottom: 3rem;
    line-height: 1.7;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.contact-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
    font-weight: 600;
}

.contact-item p {
    color: var(--text-light);
    line-height: 1.6;
}

.contact-item a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--primary);
}

.social-links h3 {
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
    color: var(--primary);
    font-weight: 600;
}

.social-icons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-icon {
    padding: 0.75rem 1.5rem;
    background: var(--bg);
    border-radius: 6px;
    border: 1px solid var(--border);
    text-decoration: none;
    color: var(--primary);
    font-weight: 500;
    transition: var(--transition);
    font-size: 0.95rem;
}

.social-icon:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.contact-form-container {
    background: var(--bg);
    padding: 3rem;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.contact-form h2 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    color: var(--primary);
    font-weight: 600;
}

.form-group {
    margin-bottom: 1.75rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    color: var(--primary);
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1.5px solid var(--border);
    border-radius: 6px;
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
    background: var(--bg);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26, 26, 26, 0.05);
}

.checkbox-label {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-top: 0.25rem;
}

.form-message {
    margin-top: 1.5rem;
    padding: 1rem 1.25rem;
    border-radius: 6px;
    display: none;
}

.form-message.success {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #86efac;
    display: block;
}

.form-message.error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
    display: block;
}

.faq-section {
    background: var(--bg);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.faq-item {
    padding: 2rem;
    background: var(--bg-warm);
    border-radius: 8px;
    border: 1px solid var(--border);
}

.faq-item h3 {
    font-size: 1.15rem;
    margin-bottom: 1rem;
    color: var(--primary);
    font-weight: 600;
}

.faq-item p {
    color: var(--text-light);
    line-height: 1.7;
}

/* ===== Footer ===== */
.footer {
    background: var(--primary);
    color: rgba(255, 255, 255, 0.9);
    padding: 80px 24px 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    height: 50px;
    width: auto;
    margin-bottom: 1.25rem;
    filter: brightness(0) invert(1);
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1.25rem;
    color: var(--bg);
    font-weight: 600;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a,
.footer-section a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover,
.footer-section a:hover {
    color: var(--bg);
}

.footer-bottom {
    text-align: center;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.6);
}

/* ===== Animations ===== */
.fade-in {
    animation: fadeIn 0.8s ease-out;
}

.delay-1 {
    animation-delay: 0.2s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.delay-2 {
    animation-delay: 0.4s;
    opacity: 0;
    animation-fill-mode: forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: var(--bg);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
        padding: 3rem 0;
        gap: 0;
        border-top: 1px solid var(--border);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1.5rem 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

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

    .hero p {
        font-size: 1.1rem;
    }

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

    .section-title {
        font-size: 2rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    section {
        padding: 70px 20px;
    }

    .pillars-grid,
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .approach-steps {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.9rem;
    }

    .logo-img {
        height: 40px;
    }

    .navbar .container {
        padding: 1rem 20px;
    }

    .contact-form-container {
        padding: 2rem 1.5rem;
    }
}

/* ===== Utility Classes ===== */
.text-center {
    text-align: center;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mb-4 {
    margin-bottom: 4rem;
}

/* ===== Accessibility ===== */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
