/* AIBridges Local SEO - Styles
   Dark theme, modern, professional
   ================================ */

/* CSS Variables */
:root {
    --color-bg: #0a0a0f;
    --color-bg-alt: #12121a;
    --color-bg-card: #1a1a24;
    --color-text: #e4e4e7;
    --color-text-muted: #a1a1aa;
    --color-primary: #6366f1;
    --color-primary-hover: #818cf8;
    --color-accent: #22d3ee;
    --color-success: #22c55e;
    --color-warning: #f59e0b;
    --color-border: #27272a;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    --radius: 8px;
    --radius-lg: 12px;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -2px rgba(0, 0, 0, 0.2);
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-sans);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0 0 1rem;
    font-weight: 600;
    line-height: 1.3;
}

p {
    margin: 0 0 1rem;
}

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

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

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

address {
    font-style: normal;
}

/* Header & Navigation */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
}

.main-nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
    letter-spacing: -0.02em;
}

.logo:hover {
    color: var(--color-primary);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--color-text-muted);
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--color-text);
}

.btn-nav {
    padding: 0.5rem 1rem;
    background: var(--color-primary);
    color: white !important;
    border-radius: var(--radius);
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    font-weight: 600;
    border-radius: var(--radius);
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

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

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

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

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

/* Hero Section */
.hero {
    padding: 6rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, var(--color-bg) 0%, var(--color-bg-alt) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.location-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(99, 102, 241, 0.2);
    color: var(--color-primary);
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--color-text) 0%, var(--color-text-muted) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.hero-location {
    margin-top: 2rem;
    color: var(--color-text-muted);
    font-size: 0.875rem;
}

/* Sections */
section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

section h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 3rem;
}

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

.service-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

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

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

.service-card p {
    color: var(--color-text-muted);
    margin-bottom: 1rem;
}

.service-features {
    margin-bottom: 1.5rem;
    padding-left: 0;
}

.service-features li {
    padding: 0.25rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--color-text-muted);
    font-size: 0.875rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-success);
}

.price {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(99, 102, 241, 0.1);
    color: var(--color-primary);
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.875rem;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.product-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    transition: transform 0.2s;
}

.product-card:hover {
    transform: translateY(-2px);
}

.product-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
}

.product-category {
    font-size: 0.75rem;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.product-card h3 {
    font-size: 1.1rem;
    margin: 0.5rem 0;
}

.product-card p {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin-bottom: 1rem;
}

/* Why Us / Features */
.why-us-section {
    background: var(--color-bg-alt);
    border-radius: var(--radius-lg);
    padding: 4rem 2rem;
    margin: 2rem auto;
}

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

.feature {
    text-align: center;
    padding: 1.5rem;
}

.feature h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.feature p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

/* Industries */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.industry {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
}

.industry-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.industry h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.industry p {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin: 0;
}

/* Testimonials */
.testimonials-section {
    background: var(--color-bg-alt);
    padding: 4rem 2rem;
    margin: 0;
    max-width: none;
}

.testimonials-section h2 {
    max-width: 1200px;
    margin: 0 auto 3rem;
}

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

.testimonial {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
}

.testimonial.featured {
    grid-column: span 2;
}

@media (max-width: 768px) {
    .testimonial.featured {
        grid-column: span 1;
    }
}

.stars {
    color: var(--color-warning);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.testimonial blockquote {
    margin: 0 0 1.5rem;
    font-size: 1rem;
    color: var(--color-text);
    line-height: 1.7;
    font-style: italic;
}

.testimonial cite {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-style: normal;
}

.testimonial cite strong {
    color: var(--color-text);
    font-size: 1rem;
}

.testimonial cite span {
    color: var(--color-text-muted);
    font-size: 0.875rem;
}

.testimonial cite .location {
    color: var(--color-primary);
    font-size: 0.8rem;
}

/* Service Areas */
.service-areas {
    text-align: center;
}

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

.area {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 1.5rem;
}

.area h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.area h3 a {
    color: var(--color-text);
}

.area h3 a:hover {
    color: var(--color-primary);
}

.area p {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin: 0;
}

/* Service Area Section (location pages) */
.service-area-section {
    background: var(--color-bg-alt);
    padding: 4rem 2rem;
    margin: 0;
    max-width: none;
}

.service-area-section h2,
.service-area-section > p {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.service-area-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 2rem auto 0;
}

@media (max-width: 768px) {
    .service-area-content {
        grid-template-columns: 1fr;
    }
}

.area-list h3 {
    font-size: 1rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--color-primary);
}

.area-list h3:first-child {
    margin-top: 0;
}

.area-list ul {
    padding-left: 0;
}

.area-list li {
    padding: 0.25rem 0;
    color: var(--color-text-muted);
}

.area-list p {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.area-map iframe {
    border-radius: var(--radius-lg);
}

/* Local Intro */
.local-intro {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.intro-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

@media (max-width: 768px) {
    .intro-content {
        grid-template-columns: 1fr;
    }
}

.intro-text p {
    color: var(--color-text-muted);
    line-height: 1.8;
}

.intro-stats {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.stat {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.25rem;
}

.stat-label {
    color: var(--color-text-muted);
    font-size: 0.875rem;
}

/* Contact Section */
.contact-section {
    text-align: center;
    background: linear-gradient(135deg, var(--color-bg-alt) 0%, var(--color-bg) 100%);
    border-radius: var(--radius-lg);
    padding: 4rem 2rem;
    margin: 2rem auto;
}

.contact-section p {
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto 2rem;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.contact-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.2s, border-color 0.2s;
    color: var(--color-text);
}

.contact-card:hover {
    transform: translateY(-2px);
    border-color: var(--color-primary);
}

.contact-card .icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.contact-card strong {
    font-size: 1.1rem;
}

.contact-card span {
    color: var(--color-text-muted);
    font-size: 0.875rem;
    text-align: center;
}

/* Footer */
.site-footer {
    background: var(--color-bg-alt);
    border-top: 1px solid var(--color-border);
    padding: 4rem 2rem 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

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

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: var(--color-text-muted);
    font-size: 0.875rem;
}

.footer-contact h4,
.footer-hours h4,
.footer-links h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.footer-contact address {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    line-height: 1.8;
}

.footer-contact a {
    color: var(--color-text-muted);
}

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

.footer-hours p {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links li {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.footer-links a {
    color: var(--color-text-muted);
}

.footer-links a:hover {
    color: var(--color-primary);
}

.footer-map {
    margin: 2rem 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.footer-map iframe {
    display: block;
}

.footer-bottom {
    border-top: 1px solid var(--color-border);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .main-nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    section {
        padding: 3rem 1.5rem;
    }
    
    section h2 {
        font-size: 1.5rem;
    }
}

/* Print Styles */
@media print {
    .site-header,
    .footer-map,
    .btn {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    a {
        color: black;
        text-decoration: underline;
    }
}
