/* ==========================================================================
   Darzi Wala — site styles (Bootstrap 5 + these overrides; no build step)
   Brand colours and heading font are injected by partials/theme.blade.php
   from Admin → Website settings, overriding the defaults below.
   ========================================================================== */

:root {
    --brand: #7a1f3d;
    --brand-dark: #5c142c;
    --brand-soft: #f8eef1;
    --accent: #b8862b;
    --ink: #1f1a1c;
    --muted: #6b6166;
    --line: #ece5e7;
    --bg-warm: #fbf8f6;
    --heading-font: "Playfair Display", Georgia, "Times New Roman", serif;
    --body-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --radius: 1rem;
    --radius-lg: 1.5rem;
    --shadow-sm: 0 1px 2px rgba(31, 26, 28, .06), 0 2px 8px rgba(31, 26, 28, .04);
    --shadow: 0 10px 30px -12px rgba(31, 26, 28, .18);
    --shadow-lg: 0 24px 60px -20px rgba(31, 26, 28, .28);
    --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
body { color: var(--ink); background: #fff; font-family: var(--body-font); -webkit-font-smoothing: antialiased; }
a { color: var(--brand); text-underline-offset: .2em; }
a:hover { color: var(--brand-dark); }
::selection { background: var(--brand); color: #fff; }
.text-muted { color: var(--muted) !important; }
.form-control, .form-select { border-radius: .65rem; border-color: #ddd3d6; }
.form-control:focus, .form-select:focus, .form-check-input:focus { border-color: var(--brand); box-shadow: 0 0 0 .2rem color-mix(in srgb, var(--brand) 18%, transparent); }
.form-check-input:checked { background-color: var(--brand); border-color: var(--brand); }
.card { border-radius: var(--radius); }
.shadow-sm { box-shadow: var(--shadow-sm) !important; }
.shadow { box-shadow: var(--shadow) !important; }

.brand { font-family: var(--heading-font); font-weight: 700; color: var(--brand) !important; letter-spacing: .01em; }
.brand-light { font-family: var(--heading-font); font-weight: 700; }
.section-title, .hero h1, .page-header h1 { font-family: var(--heading-font); font-weight: 700; letter-spacing: -.01em; line-height: 1.15; }
.eyebrow {
    display: inline-flex; align-items: center; gap: .4rem;
    font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
    color: var(--brand); background: var(--brand-soft); padding: .35rem .75rem; border-radius: 999px;
}
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.section-head { max-width: 640px; margin: 0 auto 3rem; text-align: center; }
.section-head p { color: var(--muted); }
.bg-warm { background: var(--bg-warm); }

/* ---------- Buttons ---------- */
.btn { border-radius: 999px; font-weight: 600; padding: .55rem 1.25rem; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s; }
.btn-sm { padding: .35rem .9rem; }
.btn-lg { padding: .8rem 1.75rem; font-size: 1.05rem; }
.btn-brand { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 8px 20px -8px color-mix(in srgb, var(--brand) 70%, transparent); }
.btn-brand:hover, .btn-brand:focus { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; transform: translateY(-1px); }
.btn-outline-brand { border: 1.5px solid var(--brand); color: var(--brand); background: transparent; }
.btn-outline-brand:hover { background: var(--brand); color: #fff; }
.btn-light-glass { background: rgba(255, 255, 255, .15); border: 1px solid rgba(255, 255, 255, .35); color: #fff; }
.btn-light-glass:hover { background: #fff; color: var(--brand); }
.text-brand { color: var(--brand) !important; }
.bg-brand-soft { background: var(--brand-soft); }
.badge { font-weight: 600; border-radius: 999px; padding: .4em .75em; }

/* ---------- Announcement & navbar ---------- */
.announcement-bar { background: linear-gradient(90deg, var(--brand-dark), var(--brand)); color: #fff; font-weight: 500; }
.site-nav {
    background: rgba(255, 255, 255, .82); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s; padding: .8rem 0;
}
.site-nav.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -16px rgba(31, 26, 28, .35); }
.site-nav .navbar-brand { font-size: 1.45rem; display: flex; align-items: center; gap: .45rem; }
.brand-mark {
    width: 2.2rem; height: 2.2rem; border-radius: .7rem; display: inline-flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--brand), var(--accent)); color: #fff; font-size: 1.05rem;
}
.site-logo { max-height: 44px; width: auto; }
.site-nav .nav-link { font-weight: 500; color: #4a4044; padding: .45rem .9rem !important; border-radius: 999px; transition: background .2s, color .2s; }
.site-nav .nav-link:hover, .site-nav .nav-link.active { color: var(--brand); background: var(--brand-soft); }
@media (max-width: 991.98px) {
    .site-nav .navbar-collapse { padding: 1rem 0 .5rem; }
    .site-nav .nav-actions { flex-wrap: wrap; margin-top: .75rem; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--bg-warm); padding: 5rem 0 6rem; }
.hero::before, .hero::after {
    content: ""; position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; pointer-events: none;
}
.hero::before { width: 520px; height: 520px; background: color-mix(in srgb, var(--brand) 22%, transparent); top: -180px; right: -120px; }
.hero::after { width: 420px; height: 420px; background: color-mix(in srgb, var(--accent) 25%, transparent); bottom: -200px; left: -120px; }
.hero .container { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); }
.hero .lead { color: var(--muted); font-size: 1.15rem; max-width: 560px; }
.trust-row { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; color: var(--muted); font-size: .92rem; }
.trust-row i { color: var(--brand); }
.hero-image { width: 100%; max-height: 520px; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }

/* Illustration card shown when no hero image is uploaded */
.hero-visual { position: relative; max-width: 440px; margin-left: auto; margin-right: auto; }
.tracker-card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 1.75rem; }
.tracker-step { display: flex; gap: .9rem; align-items: flex-start; position: relative; padding-bottom: 1.15rem; }
.tracker-step:last-child { padding-bottom: 0; }
.tracker-step:not(:last-child)::after { content: ""; position: absolute; left: .95rem; top: 2rem; bottom: .2rem; width: 2px; background: var(--line); }
.tracker-step.done:not(:last-child)::after { background: var(--brand); }
.tracker-dot {
    width: 2rem; height: 2rem; flex-shrink: 0; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
    background: var(--line); color: var(--muted); font-size: .9rem; z-index: 1;
}
.tracker-step.done .tracker-dot { background: var(--brand); color: #fff; }
.tracker-step.current .tracker-dot { background: #fff; color: var(--brand); box-shadow: 0 0 0 2px var(--brand); }
.float-chip {
    position: absolute; background: #fff; border-radius: 999px; box-shadow: var(--shadow); padding: .55rem 1rem;
    font-size: .85rem; font-weight: 600; display: flex; align-items: center; gap: .45rem; white-space: nowrap;
}
.float-chip i { color: var(--accent); font-size: 1.05rem; }
.float-chip.chip-1 { top: -1.1rem; left: -1rem; animation: floaty 6s ease-in-out infinite; }
.float-chip.chip-2 { bottom: -1.2rem; right: -.5rem; animation: floaty 7s ease-in-out infinite reverse; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- Feature strip ---------- */
.feature-strip { margin-top: -3rem; position: relative; z-index: 2; }
.feature-strip .card { border: 0; box-shadow: var(--shadow); }
.feature-item { display: flex; gap: .9rem; align-items: center; padding: 1.25rem 1.5rem; }
.icon-circle {
    width: 3rem; height: 3rem; flex-shrink: 0; border-radius: .9rem; display: inline-flex; align-items: center; justify-content: center;
    background: var(--brand-soft); color: var(--brand); font-size: 1.3rem;
}
@media (min-width: 992px) { .feature-strip .col-lg-3 + .col-lg-3 .feature-item { border-left: 1px solid var(--line); } }

/* ---------- Steps ---------- */
.steps { position: relative; }
@media (min-width: 992px) {
    .steps::before { content: ""; position: absolute; top: 2rem; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 10px, transparent 10px 18px); }
}
.step-card { position: relative; text-align: center; padding: 0 1rem; }
.step-number {
    width: 4rem; height: 4rem; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
    background: #fff; color: var(--brand); font-family: var(--heading-font); font-size: 1.5rem; font-weight: 700;
    box-shadow: var(--shadow), inset 0 0 0 2px var(--brand-soft); position: relative; z-index: 1; margin-bottom: 1rem;
}

/* ---------- Cards: services, blog, reviews ---------- */
.service-card, .blog-card, .lift-card { border: 1px solid var(--line) !important; box-shadow: none !important; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; }
.service-card:hover, .blog-card:hover, .lift-card:hover { transform: translateY(-4px); box-shadow: var(--shadow) !important; border-color: transparent !important; }
.service-card .card-body { padding: 1.5rem; }
.service-icon {
    width: 3.25rem; height: 3.25rem; border-radius: 1rem; display: inline-flex; align-items: center; justify-content: center;
    background: color-mix(in srgb, var(--accent) 14%, #fff); color: var(--accent); font-size: 1.45rem;
}
.service-card .card-arrow {
    width: 2.2rem; height: 2.2rem; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
    background: var(--brand-soft); color: var(--brand); transition: transform .25s var(--ease), background .25s, color .25s;
}
.service-card:hover .card-arrow { background: var(--brand); color: #fff; transform: translateX(3px); }
.price-tag { font-weight: 700; color: var(--ink); }

.review-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; height: 100%; background: #fff; position: relative; margin: 0; }
.review-card .bi-quote { position: absolute; top: .5rem; right: 1.25rem; font-size: 3.2rem; color: var(--brand-soft); line-height: 1; }
.avatar { width: 2.6rem; height: 2.6rem; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--brand); color: #fff; font-weight: 700; flex-shrink: 0; }
.stars { color: #f5a623; letter-spacing: .1em; }

.blog-card { overflow: hidden; }
.blog-card-img { height: 200px; object-fit: cover; transition: transform .5s var(--ease); }
.blog-card:hover .blog-card-img { transform: scale(1.04); }
.blog-card-placeholder {
    display: flex; align-items: center; justify-content: center; font-size: 2.5rem;
    background: linear-gradient(135deg, var(--brand-soft), color-mix(in srgb, var(--accent) 15%, #fff)); color: var(--accent);
}
.blog-featured-img { min-height: 280px; object-fit: cover; }
.blog-hero-img { max-height: 480px; object-fit: cover; }
.blog-body { font-size: 1.075rem; line-height: 1.8; color: #2d2629; }
.blog-body h2, .blog-body h3 { font-family: var(--heading-font); font-weight: 700; margin-top: 2.25rem; }
.blog-body img { max-width: 100%; height: auto; border-radius: .75rem; }
.blog-body blockquote { border-left: 4px solid var(--brand); background: var(--bg-warm); padding: 1rem 1.25rem; border-radius: 0 .75rem .75rem 0; color: #5a4a50; font-style: italic; }

/* Category / filter chips */
.chip {
    display: inline-flex; align-items: center; gap: .35rem; padding: .45rem 1rem; border-radius: 999px;
    border: 1px solid var(--line); background: #fff; color: #4a4044; font-weight: 500; font-size: .92rem; text-decoration: none; transition: all .2s;
}
.chip:hover { border-color: var(--brand); color: var(--brand); }
.chip.active { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ---------- Page header (inner pages) ---------- */
.page-header { background: var(--bg-warm); padding: 3.5rem 0 3rem; position: relative; overflow: hidden; }
.page-header::after { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; right: -120px; top: -160px; background: color-mix(in srgb, var(--brand) 14%, transparent); filter: blur(50px); }
.page-header .container { position: relative; z-index: 1; }
.page-header h1 { font-size: clamp(2rem, 4vw, 2.9rem); }
.page-header .lead { color: var(--muted); max-width: 640px; }
.breadcrumb { font-size: .875rem; }

/* ---------- FAQ accordion ---------- */
.accordion-modern .accordion-item { border: 1px solid var(--line); border-radius: var(--radius) !important; overflow: hidden; margin-bottom: .75rem; background: #fff; }
.accordion-modern .accordion-button { font-weight: 600; padding: 1.1rem 1.25rem; background: #fff; box-shadow: none; }
.accordion-modern .accordion-button:not(.collapsed) { color: var(--brand); background: var(--brand-soft); }
.accordion-modern .accordion-button:focus { box-shadow: none; }

/* ---------- CTA band ---------- */
.cta-band {
    background: linear-gradient(120deg, var(--brand-dark), var(--brand) 55%, color-mix(in srgb, var(--accent) 60%, var(--brand)));
    color: #fff; border-radius: var(--radius-lg); padding: 3rem; position: relative; overflow: hidden;
}
.cta-band::after { content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%; border: 50px solid rgba(255, 255, 255, .07); right: -80px; top: -120px; pointer-events: none; }
.cta-band h2 { font-family: var(--heading-font); font-weight: 700; }
@media (max-width: 575.98px) { .cta-band { padding: 2rem 1.5rem; } }

/* ---------- Booking ---------- */
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: .5rem; }
.slot-grid .btn { border-radius: .7rem; }
.slot-grid .btn-check:checked + .btn { background: var(--brand); border-color: var(--brand); color: #fff; }
.type-tile { border-radius: var(--radius) !important; border: 1.5px solid var(--line) !important; background: #fff; color: var(--ink) !important; font-weight: 400; transition: border-color .2s, box-shadow .2s; }
.btn-check:checked + .type-tile { border-color: var(--brand) !important; background: var(--brand-soft); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 15%, transparent); }
.type-tile i { color: var(--brand); font-size: 1.3rem; }

/* ---------- Footer ---------- */
.site-footer { background: #1d1518; color: #cfc3c7; padding: 4rem 0 1.5rem; }
.site-footer h2 { color: #fff; font-size: .95rem; font-weight: 600; letter-spacing: .02em; margin-bottom: 1rem; }
.site-footer a { color: #e9dde1; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.brand-footer { font-family: var(--heading-font); font-weight: 700; color: #fff; display: flex; align-items: center; gap: .5rem; }
.social-btn { width: 2.4rem; height: 2.4rem; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .08); transition: background .2s; }
.social-btn:hover { background: var(--brand); text-decoration: none !important; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 3rem; padding-top: 1.5rem; }

.whatsapp-fab {
    position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 1030;
    width: 3.5rem; height: 3.5rem; border-radius: 50%;
    background: #25d366; color: #fff; font-size: 1.7rem;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 10px 25px -8px rgba(37, 211, 102, .7); transition: transform .2s var(--ease);
}
.whatsapp-fab:hover { color: #fff; background: #1ebe5a; transform: scale(1.07); }

/* ---------- Account area & misc ---------- */
.account-nav .list-group-item { border: 0; border-radius: .7rem !important; margin-bottom: .2rem; font-weight: 500; color: #4a4044; }
.account-nav .list-group-item i { width: 1.4rem; display: inline-block; color: var(--brand); }
.account-nav .list-group-item.active { background: var(--brand); color: #fff; }
.account-nav .list-group-item.active i { color: #fff; }
.auth-card { border: 0; box-shadow: var(--shadow); border-radius: var(--radius-lg); }

.timeline { list-style: none; padding-left: 0; border-left: 2px solid var(--line); margin-left: .5rem; }
.timeline li { position: relative; padding: 0 0 1rem 1.25rem; }
.timeline li::before {
    content: ""; position: absolute; left: -.45rem; top: .3rem;
    width: .8rem; height: .8rem; border-radius: 50%; background: var(--brand);
}

/* ---------- Scroll reveal (only when JS runs; respects reduced motion) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .js .reveal { opacity: 1; transform: none; transition: none; }
    .float-chip { animation: none !important; }
}

/* ==========================================================================
   Admin panel
   ========================================================================== */
.admin-body { background: #f6f4f5; }
.admin-body .btn { border-radius: .5rem; box-shadow: none; }
.admin-body .btn:hover { transform: none; }
.admin-topbar { background: var(--brand-dark); }
.admin-sidebar { width: 230px; min-height: calc(100vh - 56px); background: #fff; border-right: 1px solid #e7e1e3; }
.admin-sidebar .nav-link { color: #4a3940; border-radius: .375rem; padding: .5rem .75rem; }
.admin-sidebar .nav-link i { width: 1.25rem; display: inline-block; }
.admin-sidebar .nav-link.active, .admin-sidebar .nav-link:hover { background: var(--brand-soft); color: var(--brand); }
.admin-sidebar .nav-section { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: #8a7a80; padding: 1rem .75rem .25rem; }
.admin-main { min-width: 0; }
.stat-card .stat-value { font-size: 1.75rem; font-weight: 700; }
.stat-card .stat-label { font-size: .8rem; color: #6c757d; text-transform: uppercase; letter-spacing: .05em; }
@media (min-width: 992px) {
    .admin-sidebar { position: sticky; top: 0; }
}
