/* Customer website styles — colors injected via Jinja2 */
:root {
    --color-primary: #1B3A5C;
    --color-accent: #E8A838;
    --color-bg: #FFFFFF;
    --color-text: #1A1A1A;
    --font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

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

a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* --- Header --- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--color-bg);
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--color-text);
}

.logo-img {
    height: 2.5rem;
    width: auto;
    object-fit: contain;
}

.business-name {
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--color-primary);
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.header-nav a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text);
    transition: color 0.15s;
}

.header-nav a:hover { color: var(--color-primary); text-decoration: none; }

.lang-switch {
    padding: 0.25rem 0.75rem;
    border: 1px solid var(--color-primary);
    border-radius: 4px;
    font-size: 0.8125rem;
    color: var(--color-primary) !important;
    font-weight: 600;
}

.lang-switch:hover { background: var(--color-primary); color: #fff !important; }

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
    color: var(--color-text);
}

@media (max-width: 768px) {
    .header-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-bg);
        flex-direction: column;
        padding: 1rem 1.25rem;
        gap: 1rem;
        border-bottom: 1px solid #e5e7eb;
        box-shadow: 0 4px 6px rgba(0,0,0,0.08);
    }
    .header-nav.open { display: flex; }
    .mobile-menu-btn { display: block; }
}

/* --- Hero --- */
.hero {
    background-color: var(--color-primary);
    background-size: cover;
    background-position: center;
    min-height: 400px;
    display: flex;
    align-items: center;
}

.hero-overlay {
    width: 100%;
    background: rgba(0,0,0,0.55);
    padding: 4rem 0;
}

.hero:not([style*="background-image"]) .hero-overlay {
    background: var(--color-primary);
}

.hero-content {
    text-align: center;
    color: #fff;
}

.hero-logo {
    height: 5rem;
    width: auto;
    margin: 0 auto 1.5rem;
    object-fit: contain;
}

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

.hero-tagline {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

@media (max-width: 768px) {
    .hero h1 { font-size: 1.75rem; }
    .hero-tagline { font-size: 1rem; }
    .hero { min-height: 300px; }
    .hero-overlay { padding: 3rem 0; }
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.15s;
    cursor: pointer;
    border: 2px solid transparent;
    text-decoration: none;
}

.btn:hover { text-decoration: none; }

.btn-primary {
    background: var(--color-accent);
    color: #fff;
    border-color: var(--color-accent);
}

.btn-primary:hover { filter: brightness(1.1); }

.btn-outline {
    background: transparent;
    color: #fff;
    border-color: #fff;
}

.btn-outline:hover { background: rgba(255,255,255,0.15); }

/* --- Sections --- */
.section {
    padding: 4rem 0;
}

.section-alt {
    background: #f8f9fa;
}

.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 2rem;
    text-align: center;
}

@media (max-width: 768px) {
    .section { padding: 2.5rem 0; }
    .section-title { font-size: 1.375rem; }
}

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

.service-card {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    transition: box-shadow 0.2s;
}

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

.service-image {
    aspect-ratio: 16/10;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-body {
    padding: 1.25rem;
}

.service-body h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.service-body p {
    font-size: 0.9375rem;
    color: #555;
    line-height: 1.6;
}

@media (max-width: 640px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* --- About --- */
.about-content {
    max-width: 750px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: #444;
}

/* --- Contact --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

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

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.9375rem;
}

.contact-item svg {
    flex-shrink: 0;
    margin-top: 0.125rem;
    color: var(--color-primary);
}

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

.hours-info h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.75rem;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    padding: 0.375rem 0;
    font-size: 0.9375rem;
    border-bottom: 1px solid #f0f0f0;
}

.hours-day { font-weight: 500; }
.hours-time { color: #666; }

/* --- Map --- */
.map-container {
    margin-top: 2rem;
    border-radius: 10px;
    overflow: hidden;
    height: 300px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border: 1px solid #e5e7eb;
}

@media (max-width: 768px) {
    .map-container { height: 220px; }
}

/* --- Showcase Slideshow --- */
.showcase-slideshow {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
    background: #000;
}

.showcase-slide {
    display: none;
    position: relative;
}

.showcase-slide.active {
    display: block;
    animation: showcaseFade 0.5s ease;
}

@keyframes showcaseFade {
    from { opacity: 0; }
    to { opacity: 1; }
}

.showcase-slide img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
}

.showcase-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem 1.25rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: #fff;
    font-size: 0.9375rem;
    text-align: center;
}

.showcase-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.85);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.15s;
    color: #333;
    box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}

.showcase-btn:hover { background: #fff; }
.showcase-prev { left: 0.75rem; }
.showcase-next { right: 0.75rem; }

.showcase-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 0;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.showcase-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.8);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: background 0.15s;
}

.showcase-dot.active {
    background: #fff;
}

.showcase-dot:hover {
    background: rgba(255,255,255,0.5);
}

@media (max-width: 768px) {
    .showcase-btn { width: 32px; height: 32px; }
    .showcase-btn svg { width: 18px; height: 18px; }
    .showcase-prev { left: 0.5rem; }
    .showcase-next { right: 0.5rem; }
    .showcase-slide img { aspect-ratio: 4/3; }
}

/* --- Footer --- */
.site-footer {
    background: var(--color-primary);
    color: #fff;
    padding: 1.5rem 0;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-name {
    font-weight: 600;
}

.footer-info a {
    color: rgba(255,255,255,0.85);
    font-size: 0.875rem;
}

.footer-info a:hover { color: #fff; }

.footer-powered a {
    color: rgba(255,255,255,0.4);
    font-size: 0.75rem;
    text-decoration: none;
}

.footer-powered a:hover { color: rgba(255,255,255,0.7); }

.bilingual-badge span {
    font-style: italic;
    color: #666;
}

@media (max-width: 768px) {
    .footer-inner {
        flex-direction: column;
        text-align: center;
    }
    .footer-info { justify-content: center; }
}