/* ==========================================
   Senior Tech Support St. Louis - Stylesheet
   ========================================== */

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

:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --secondary-color: #64748b;
    --accent-color: #0ea5e9;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --background-light: #f8fafc;
    --background-white: #ffffff;
    --border-color: #e2e8f0;
    --success-color: #10b981;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-white);
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
    font-weight: 700;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

h4 {
    font-size: 1.25rem;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

/* Header and Navigation */
header {
    background-color: var(--background-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo h1 {
    font-size: 1.5rem;
    margin: 0;
    color: var(--primary-color);
}

.logo .tagline {
    font-size: 0.875rem;
    color: var(--text-light);
    margin: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

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

.phone-header a {
    background-color: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 600;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.phone-header a:hover {
    background-color: var(--primary-dark);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero-content h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.95);
}

.hero-text {
    font-size: 1.125rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

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

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

.btn-secondary {
    background-color: white;
    color: var(--primary-color);
    border-color: white;
}

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

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-block {
    display: block;
    width: 100%;
}

/* Features Section */
.features {
    padding: 4rem 0;
    background-color: var(--background-light);
}

.features h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

.feature-card {
    background-color: white;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.feature-card p {
    font-size: 0.95rem;
}

/* CTA Section */
.cta-section {
    padding: 4rem 0;
    text-align: center;
    background-color: var(--background-white);
}

.cta-section h2 {
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.page-header h2 {
    color: white;
    margin-bottom: 0.5rem;
}

.page-header .subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
}

/* About Page */
.about-content {
    padding: 4rem 0;
}

.about-story {
    max-width: 900px;
    margin: 0 auto;
}

.story-section {
    margin-bottom: 3rem;
}

.story-section h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.story-section p {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.story-section.highlight {
    background-color: var(--background-light);
    padding: 2rem;
    border-radius: 0.5rem;
    border-left: 4px solid var(--primary-color);
}

.cta-inline {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

/* Services Page */
.services-intro {
    padding: 3rem 0;
    background-color: var(--background-light);
}

.intro-box {
    background-color: white;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-md);
}

.intro-box h3 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

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

.step {
    text-align: center;
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.step h4 {
    margin-bottom: 0.5rem;
}

.step p {
    font-size: 0.9rem;
}

.services-list {
    padding: 4rem 0;
}

.services-list h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.section-intro {
    text-align: center;
    font-size: 1.125rem;
    max-width: 800px;
    margin: 0 auto 3rem;
}

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

.service-card {
    background-color: white;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

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

.service-card p {
    font-size: 0.95rem;
    line-height: 1.6;
}

.service-note {
    margin-top: 3rem;
    padding: 1.5rem;
    background-color: var(--background-light);
    border-radius: 0.5rem;
    border-left: 4px solid var(--primary-color);
}

.service-note p {
    margin: 0;
    font-size: 1rem;
}

.pricing-section {
    padding: 4rem 0;
    background-color: var(--background-light);
}

.pricing-box {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    padding: 3rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.pricing-box h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.pricing-box p {
    font-size: 1.0625rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.pricing-cta {
    font-weight: 600;
    color: var(--text-dark);
}

/* Contact Page */
.contact-content {
    padding: 4rem 0;
}

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

.contact-intro {
    margin-bottom: 3rem;
}

.contact-intro h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-intro p {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-method {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background-color: var(--background-light);
    border-radius: 0.5rem;
    border-left: 4px solid var(--primary-color);
}

.method-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.method-content h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.method-detail {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.method-detail a {
    color: var(--primary-color);
    font-weight: 600;
}

.method-content p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

.what-to-expect {
    margin-top: 3rem;
}

.what-to-expect h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.expect-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.expect-item {
    padding: 1rem;
    background-color: white;
    border-radius: 0.5rem;
    border-left: 3px solid var(--accent-color);
    box-shadow: var(--shadow-sm);
}

.expect-item strong {
    color: var(--primary-color);
}

.contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-card {
    background-color: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-md);
    border-top: 3px solid var(--primary-color);
}

.sidebar-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.sidebar-card p {
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

.quick-contact p {
    margin-bottom: 0.5rem;
}

.quick-contact hr {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 1rem 0;
}

.sidebar-cta {
    margin-top: 1rem;
}

.service-steps {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.service-steps li {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

/* Footer */
footer {
    background-color: var(--text-dark);
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h3 {
    color: white;
    margin-bottom: 1rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

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

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

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        gap: 1rem;
    }

    .logo {
        text-align: center;
    }

    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .phone-header {
        width: 100%;
        text-align: center;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

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

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

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

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

    .contact-sidebar {
        order: -1;
    }

    .hero-buttons,
    .cta-buttons,
    .cta-inline {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
    }
}

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

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    .logo h1 {
        font-size: 1.25rem;
    }

    .pricing-box {
        padding: 2rem 1.5rem;
    }

    .sidebar-card {
        padding: 1rem;
    }
}
