/* ============================================================
   Elysium Vet Clinic Software - Public Frontend Styles
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #dbeafe;
    --dark: #0f172a;
    --gray: #64748b;
    --light: #f8fafc;
    --border: #e2e8f0;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; color: #1e293b; padding-top: 64px; }

/* --- Navbar --- */
.landing-nav { background: rgba(255,255,255,0.92); backdrop-filter: blur(12px); box-shadow: 0 1px 3px rgba(0,0,0,0.06); border-bottom: 1px solid var(--border); }
.nav-brand { font-weight: 800; font-size: 1.15rem; color: var(--primary); display: flex; align-items: center; gap: 0.5rem; text-decoration: none; }
.nav-brand i { font-size: 1.4rem; }

/* --- Section Helpers --- */
.section-badge { display: inline-block; background: var(--primary-light); color: var(--primary); font-size: 0.75rem; font-weight: 700; padding: 0.3rem 0.8rem; border-radius: 20px; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 0.75rem; }
.section-title { font-size: 2.25rem; font-weight: 800; color: var(--dark); letter-spacing: -0.02em; }
.section-subtitle { font-size: 1.05rem; color: var(--gray); max-width: 560px; }

/* --- Hero (Inner Pages) --- */
.page-hero { background: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 45%, #60a5fa 100%); color: #fff; padding: 5rem 0 3.5rem; }
.page-hero h1 { font-size: 2.5rem; font-weight: 800; letter-spacing: -0.02em; }
.page-hero .lead { font-size: 1.1rem; opacity: 0.88; max-width: 600px; margin: 0 auto; }
.page-hero .hero-stat { background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.18); border-radius: 12px; padding: 0.85rem 1.1rem; backdrop-filter: blur(8px); text-align: center; }
.page-hero .hero-stat .num { font-size: 1.3rem; font-weight: 800; line-height: 1.2; }
.page-hero .hero-stat .label { font-size: 0.78rem; opacity: 0.82; }

/* --- Geo Hero Images --- */
.geo-hero-img-wrap { position: relative; }
.geo-hero-img-wrap::before { content: ''; position: absolute; inset: -14px; border-radius: 28px; background: linear-gradient(135deg, rgba(255,255,255,0.28), rgba(255,255,255,0.05)); z-index: 0; }
.geo-hero-img { position: relative; z-index: 1; width: 100%; max-height: 400px; object-fit: cover; border-radius: 22px; box-shadow: 0 24px 64px rgba(15,23,42,0.35); border: 4px solid rgba(255,255,255,0.3); }
.geo-side-img { width: 100%; max-height: 360px; object-fit: cover; box-shadow: 0 16px 48px rgba(15,23,42,0.14); }

/* --- Content Sections --- */
.content-section { padding: 4rem 0; }
.content-section h2 { font-size: 1.75rem; font-weight: 800; color: var(--dark); margin-bottom: 1.25rem; }
.content-section h3 { font-size: 1.35rem; font-weight: 700; color: var(--dark); margin-bottom: 1rem; }
.content-section p { color: var(--gray); line-height: 1.8; margin-bottom: 1rem; }
.content-section ul { padding-left: 1.25rem; }
.content-section li { color: var(--gray); line-height: 1.7; margin-bottom: 0.4rem; }

/* --- Clinic Landing Page --- */
.clinic-logo-wrap { background: #fff; border-radius: 18px; padding: 16px 28px; box-shadow: 0 10px 30px rgba(0,0,0,0.18); display: inline-block; }
.clinic-logo-wrap img { max-height: 78px; max-width: 260px; object-fit: contain; display: block; margin: 0 auto; }
.clinic-hero-sub { display: inline-flex; align-items: center; gap: 0.5rem; background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.22); padding: 0.35rem 1rem; border-radius: 30px; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.clinic-hero-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem 1.5rem; font-size: 0.85rem; }
.clinic-hero-links a { color: rgba(255,255,255,0.85); text-decoration: none; transition: color 0.15s; }
.clinic-hero-links a:hover { color: #fff; text-decoration: underline; }

.service-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 1.5rem; height: 100%; transition: all 0.25s ease; }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.08); border-color: #c7d2fe; }
.service-card .service-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; margin-bottom: 1rem; }
.service-card h5 { font-weight: 700; font-size: 1rem; margin-bottom: 0.4rem; }
.service-card p { color: var(--gray); font-size: 0.88rem; margin: 0; line-height: 1.6; }
.service-card .service-price { font-weight: 700; color: var(--primary); font-size: 0.9rem; }
.service-cat { display: inline-block; background: var(--light); border: 1px solid var(--border); color: var(--gray); font-size: 0.68rem; font-weight: 600; padding: 0.15rem 0.6rem; border-radius: 20px; text-transform: uppercase; letter-spacing: 0.03em; margin-bottom: 0.75rem; }

.facility-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 1.75rem 1.5rem; text-align: center; height: 100%; transition: all 0.25s ease; }
.facility-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.08); border-color: #c7d2fe; }
.facility-card .facility-icon { width: 56px; height: 56px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin: 0 auto 0.9rem; }
.facility-card h6 { font-weight: 700; font-size: 0.95rem; margin-bottom: 0.35rem; }
.facility-card p { color: var(--gray); font-size: 0.82rem; line-height: 1.55; margin: 0; }

.hours-row { display: flex; justify-content: space-between; align-items: center; padding: 0.55rem 0; border-bottom: 1px dashed var(--border); font-size: 0.9rem; }
.hours-row:last-child { border-bottom: 0; }
.hours-row .day { color: var(--gray); }
.hours-row .time { font-weight: 600; color: var(--dark); }

/* --- Cards --- */
.feature-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 2rem; transition: all 0.25s ease; height: 100%; }
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.08); border-color: #c7d2fe; }
.feature-icon { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.35rem; margin-bottom: 1.25rem; }

.info-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 1.5rem; transition: all 0.2s ease; }
.info-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.06); }

/* --- Contact Form --- */
.contact-form .form-control { border: 1.5px solid #e2e8f0; border-radius: 10px; padding: 0.65rem 0.875rem; font-size: 0.9rem; transition: all 0.2s ease; background: #f8fafc; }
.contact-form .form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37,99,235,0.1); background: #fff; }
.contact-form .form-label { font-weight: 600; font-size: 0.85rem; color: #334155; margin-bottom: 0.4rem; }
.contact-form .form-select { border: 1.5px solid #e2e8f0; border-radius: 10px; padding: 0.65rem 0.875rem; font-size: 0.9rem; background: #f8fafc; }

/* --- FAQ Accordion --- */
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: 12px; margin-bottom: 0.75rem; overflow: hidden; transition: box-shadow 0.2s; }
.faq-item:hover { box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
.faq-item .accordion-button { font-weight: 600; font-size: 0.95rem; color: var(--dark); padding: 1rem 1.25rem; background: transparent; }
.faq-item .accordion-button:not(.collapsed) { background: transparent; color: var(--primary); box-shadow: none; }
.faq-item .accordion-button::after { width: 1rem; height: 1rem; background-size: 1rem; }
.faq-item .accordion-body { padding: 0 1.25rem 1rem; color: var(--gray); font-size: 0.9rem; line-height: 1.7; }

/* --- Value Cards --- */
.value-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 2rem; text-align: center; transition: all 0.25s ease; height: 100%; }
.value-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.06); }
.value-icon { width: 56px; height: 56px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 1.35rem; margin: 0 auto 1rem; }

/* --- Team Cards --- */
.team-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 2rem; text-align: center; transition: all 0.25s ease; }
.team-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.06); }
.team-avatar { width: 72px; height: 72px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.25rem; font-weight: 700; color: #fff; margin: 0 auto 1rem; }

/* --- Contact Info --- */
.contact-info-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 1.75rem; }
.contact-info-item { display: flex; align-items: flex-start; gap: 1rem; padding: 1rem 0; }
.contact-info-item + .contact-info-item { border-top: 1px solid #f1f5f9; }
.contact-info-icon { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.contact-info-item h6 { font-weight: 600; font-size: 0.9rem; margin-bottom: 0.15rem; color: var(--dark); }
.contact-info-item p { font-size: 0.85rem; color: var(--gray); margin: 0; line-height: 1.6; }

/* --- CTA Section --- */
.cta-section { background: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 50%, #60a5fa 100%); color: #fff; padding: 4.5rem 0; }
.cta-section h2 { font-size: 2rem; font-weight: 800; }

/* --- Footer --- */
footer { background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%); color: #dbeafe; padding: 3.5rem 0 1.5rem; }
footer h6 { color: #fff; font-weight: 700; }
footer a { color: #cbd5e1; text-decoration: none; transition: color 0.15s; }
footer a:hover { color: #fff; }
footer .footer-bottom { border-top: 1px solid rgba(255,255,255,0.18); padding-top: 1.5rem; margin-top: 1.5rem; }

/* --- Buttons --- */
.btn { border-radius: 8px; font-weight: 500; transition: all 0.2s ease; }
.btn-primary { background: var(--primary); border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(37,99,235,0.25); }
.btn-outline-primary { color: var(--primary); border-color: var(--primary); }
.btn-outline-primary:hover { background: var(--primary); border-color: var(--primary); transform: translateY(-1px); }

/* --- Alerts --- */
.alert { border-radius: 10px; font-size: 0.9rem; }

/* --- Responsive --- */
@media (max-width: 991.98px) {
    .page-hero { padding: 5rem 0 2.5rem; }
    .page-hero h1 { font-size: 2rem; }
}
@media (max-width: 575.98px) {
    body { padding-top: 56px; }
    .page-hero { padding: 4.5rem 0 2rem; }
    .page-hero h1 { font-size: 1.65rem; }
    .page-hero .lead { font-size: 0.95rem; }
    .section-title { font-size: 1.75rem; }
    .content-section { padding: 2.5rem 0; }
    .feature-card { padding: 1.5rem; }
    .value-card { padding: 1.5rem; }
    .team-card { padding: 1.5rem; }
    .cta-section h2 { font-size: 1.5rem; }
}
