/* Aiviant Static Site - Generated CSS */
:root {
    --theme-bg: #FFFFFF;
    --theme-surface: #F8FAFC;
    --theme-surface-alt: #f1f5f9;
    --theme-text: #0F172A;
    --theme-text-secondary: #475569;
    --theme-text-muted: #94A3B8;
    --theme-accent: #3B82F6;
    --theme-accent-hover: #2563EB;
    --theme-border: #E2E8F0;
    --theme-radius: 8px;
    --theme-shadow: 0 1px 3px rgba(0,0,0,0.1);
    --brand-color: #3B82F6;
    --font-heading: Inter, system-ui, sans-serif;
    --font-body: Inter, system-ui, sans-serif;
    --section-spacing: 80px;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--theme-bg);
    color: var(--theme-text);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--theme-text);
}

a {
    color: var(--theme-accent);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

a:hover {
    opacity: 0.8;
}

img {
    max-width: 100%;
    height: auto;
}

/* Layout */
.container {
    max-width: 72rem;
    margin: 0 auto;
    padding: 0 1rem;
}

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

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--theme-border);
    background-color: rgba(255, 255, 255, 0.9);
}

.nav.dark {
    background-color: rgba(30, 41, 59, 0.9);
}

.nav-inner {
    max-width: 72rem;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
}

@media (min-width: 768px) {
    .nav-inner {
        padding: 0 2rem;
    }
}

.nav-logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--theme-accent);
    font-family: var(--font-heading);
}

.nav-logo img {
    height: 2rem;
    object-fit: contain;
}

.nav-links {
    display: none;
    align-items: center;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--theme-text-secondary);
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: var(--theme-accent);
    color: white;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: var(--theme-radius);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: flex;
    padding: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--theme-text);
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

.mobile-menu {
    display: none;
    padding: 1rem;
    border-top: 1px solid var(--theme-border);
    background-color: var(--theme-bg);
}

.mobile-menu.open {
    display: block;
}

@media (min-width: 768px) {
    .mobile-menu {
        display: none !important;
    }
}

.mobile-menu a {
    display: block;
    padding: 0.75rem 0;
    color: var(--theme-text-secondary);
    font-weight: 500;
}

/* Hero Section */
.hero {
    padding: 8rem 1rem 4rem;
    text-align: center;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero.with-bg {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero.with-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.5), rgba(0,0,0,0.7));
}

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

.hero.with-bg .hero-content {
    color: white;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .hero h1 {
        font-size: 3.5rem;
    }
}

.hero.with-bg h1 {
    color: white;
}

.hero p {
    font-size: 1.125rem;
    color: var(--theme-text-secondary);
    margin-bottom: 2rem;
}

.hero.with-bg p {
    color: rgba(255,255,255,0.9);
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background-color: var(--theme-accent);
    color: white;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--theme-radius);
    transition: background-color 0.2s ease;
}

.hero-btn:hover {
    background-color: var(--theme-accent-hover);
    opacity: 1;
}

/* Section Base */
.section {
    padding: var(--section-spacing) 1rem;
}

@media (min-width: 768px) {
    .section {
        padding: var(--section-spacing) 2rem;
    }
}

.section-alt {
    background-color: var(--theme-surface);
}

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

/* About Section */
.about-grid {
    display: grid;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.about-image {
    border-radius: var(--theme-radius);
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.about-content p {
    color: var(--theme-text-secondary);
    line-height: 1.8;
}

/* Services Section */
.services-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

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

.service-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    background-color: rgba(var(--theme-accent-rgb, 59, 130, 246), 0.1);
    border-radius: 8px;
    padding: 12px;
}

.service-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--theme-accent);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.service-card p {
    font-size: 0.875rem;
    color: var(--theme-text-secondary);
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: 1rem;
    color: var(--theme-accent);
    font-size: 0.875rem;
    font-weight: 500;
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.gallery-item {
    border-radius: var(--theme-radius);
    overflow: hidden;
    aspect-ratio: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Reviews Section */
.reviews-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .reviews-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

.review-stars {
    color: #fbbf24;
    margin-bottom: 0.75rem;
}

.review-text {
    font-size: 0.875rem;
    color: var(--theme-text-secondary);
    font-style: italic;
    margin-bottom: 1rem;
}

.review-author {
    font-weight: 600;
    font-size: 0.875rem;
}

/* Contact Section */
.contact-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

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

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

.contact-icon {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--theme-accent);
    flex-shrink: 0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--theme-border);
    border-radius: var(--theme-radius);
    background-color: var(--theme-bg);
    color: var(--theme-text);
    font-family: var(--font-body);
    font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--theme-accent);
}

.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-form button {
    padding: 0.75rem 1.5rem;
    background-color: var(--theme-accent);
    color: white;
    border: none;
    border-radius: var(--theme-radius);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.contact-form button:hover {
    background-color: var(--theme-accent-hover);
}

/* Map Section */
.map-container {
    height: 400px;
    border-radius: var(--theme-radius);
    overflow: hidden;
}

#map {
    width: 100%;
    height: 100%;
}

/* Social Section */
.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    transition: transform 0.2s ease;
}

.social-link:hover {
    transform: scale(1.1);
    opacity: 1;
}

.social-link svg {
    width: 1.5rem;
    height: 1.5rem;
    color: white;
}

/* Why Choose Us Section */
.why-choose-us {
    padding: var(--theme-spacing) 1rem;
    background-color: var(--theme-background);
}

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

.why-choose-card {
    text-align: center;
    padding: 1.5rem;
    background-color: var(--theme-surface);
    border-radius: var(--theme-radius);
    border: 1px solid var(--theme-border);
}

.why-choose-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(var(--theme-accent-rgb, 59, 130, 246), 0.1);
    border-radius: 50%;
}

.why-choose-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--theme-accent);
}

.why-choose-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--theme-text);
}

.why-choose-card p {
    font-size: 0.875rem;
    color: var(--theme-text-secondary);
    line-height: 1.6;
}

/* How It Works Section */
.how-it-works {
    padding: var(--theme-spacing) 1rem;
    background-color: var(--theme-surface);
}

.how-it-works-steps {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.how-it-works-step {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    position: relative;
}

.how-it-works-step:last-child {
    margin-bottom: 0;
}

.step-number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--theme-accent);
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
    border-radius: 50%;
}

.step-content {
    flex: 1;
    padding-top: 0.5rem;
}

.step-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--theme-text);
}

.step-content p {
    font-size: 0.9375rem;
    color: var(--theme-text-secondary);
    line-height: 1.6;
}

/* Map Section Static */
.map-section {
    padding: var(--theme-spacing) 1rem;
    background-color: var(--theme-surface);
}

.map-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.map-embed {
    width: 100%;
    height: 400px;
    border: none;
    border-radius: var(--theme-radius);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.map-address {
    text-align: center;
    margin-top: 1rem;
}

.map-address a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--theme-accent);
    font-weight: 500;
    transition: opacity 0.2s;
}

.map-address a:hover {
    opacity: 0.8;
}

.map-address svg {
    width: 1rem;
    height: 1rem;
}

/* Footer - System Generated */
.footer {
    padding: 3rem 1rem 2rem;
    border-top: 1px solid var(--theme-border);
    background-color: var(--theme-surface);
    text-align: center;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.footer-nav a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--theme-text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-nav a:hover {
    color: var(--theme-text-primary);
}

.footer-legal {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-legal a {
    font-size: 0.75rem;
    color: var(--theme-text-muted);
    text-decoration: none;
}

.footer-legal a:hover {
    text-decoration: underline;
}

.footer p {
    font-size: 0.75rem;
    color: var(--theme-text-muted);
    margin: 0;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
}

.footer-links a {
    font-size: 0.875rem;
    color: var(--theme-text-secondary);
}

/* Service Page */
.service-hero {
    padding: 8rem 1rem 4rem;
    background-color: var(--theme-surface);
}

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

.service-hero p {
    font-size: 1.125rem;
    color: var(--theme-text-secondary);
    max-width: 48rem;
}

.service-content {
    padding: var(--section-spacing) 1rem;
}

.service-details {
    max-width: 48rem;
    margin: 0 auto;
}

.service-details h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--theme-accent);
}

.service-details p {
    color: var(--theme-text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.service-details ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.service-details li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: var(--theme-text-secondary);
}

.service-details li::before {
    content: '✓';
    color: var(--theme-accent);
    font-weight: 700;
}

/* Utility Classes */
.text-center { text-align: center; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }

/* Aiviant Badge */
.aiviant-badge {
    position: fixed;
    bottom: 16px;
    right: 16px;
    z-index: 2147483647;
    pointer-events: auto;
    isolation: isolate;
}

.aiviant-badge a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 500;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: rgba(51, 65, 85, 0.9);
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.05);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.aiviant-badge a:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.aiviant-badge img {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    object-fit: contain;
}

.aiviant-badge strong {
    font-weight: 600;
}

/* Dark theme badge override */
@media (prefers-color-scheme: dark) {
    .aiviant-badge a {
        color: rgba(255, 255, 255, 0.85);
        background-color: rgba(30, 41, 59, 0.95);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1);
    }
    
    .aiviant-badge a:hover {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.15);
    }
}

/* Responsive */
@media (max-width: 640px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
}
