/* ==========================================================================
   KAROLISS — modern, timeless spa design system
   ========================================================================== */

:root {
    --color-bg: #fdf7f6;
    --color-surface: #ffffff;
    --color-ink: #3a2a2f;
    --color-ink-soft: #7d6469;
    --color-sage: #a8395a;
    --color-sage-dark: #872e49;
    --color-terracotta: #8a3349;
    --color-gold: #dba3ae;
    --color-border: #f2dee2;
    --font-display: "Cormorant Garamond", Georgia, serif;
    --font-body: "Poppins", system-ui, -apple-system, sans-serif;
    --radius: 14px;
    --shadow-soft: 0 12px 40px rgba(103, 30, 51, 0.08);
    --shadow-hover: 0 18px 50px rgba(103, 30, 51, 0.14);
}

.navbar-brand img {
  width: 180px;
  height: max-content;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--color-ink);
    background: var(--color-bg);
    font-weight: 400;
    line-height: 1.7;
}

h1, h2, h3, h4, .display-font {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--color-ink);
    letter-spacing: 0.01em;
}

.skip-link {
    position: absolute;
    top: 0; left: 0;
    background: var(--color-sage);
    color: #fff;
    padding: .6rem 1rem;
    z-index: 2000;
}

a { color: var(--color-sage-dark); text-decoration: none; }
a:hover { color: var(--color-terracotta); }

/* ---------- Header / Nav ---------- */
.site-header {
    background: rgba(253, 247, 246, 0.92);
    backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid var(--color-border);
}

.navbar-brand {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-ink) !important;
    letter-spacing: 0.06em;
}

.navbar .nav-link {
    color: var(--color-ink) !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 0.9rem !important;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--color-terracotta) !important;
}

.lang-switch {
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--color-ink-soft);
}
.lang-switch a { color: var(--color-ink-soft); padding: 0 2px; }
.lang-switch a.active { color: var(--color-terracotta); }

.btn-brand {
    background: var(--color-sage);
    border-color: var(--color-sage);
    color: #fff;
    font-weight: 500;
    padding: 0.55rem 1.4rem;
    border-radius: 999px;
    transition: background .2s ease, transform .2s ease;
}
.btn-brand:hover, .btn-brand:focus {
    background: var(--color-sage-dark);
    border-color: var(--color-sage-dark);
    color: #fff;
    transform: translateY(-1px);
}

.btn-outline-brand {
    border: 1.5px solid var(--color-sage);
    color: var(--color-sage-dark);
    font-weight: 500;
    padding: 0.55rem 1.4rem;
    border-radius: 999px;
    background: transparent;
    transition: all .2s ease;
}
.btn-outline-brand:hover {
    background: var(--color-sage);
    color: #fff;
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    padding: 6.5rem 0 6rem;
    background: radial-gradient(circle at 15% 20%, #fbe7ec 0%, var(--color-bg) 55%),
                linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg) 100%);
    overflow: hidden;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle, rgba(168,57,90,0.10) 0 2px, transparent 2px);
    background-size: 26px 26px;
    opacity: .5;
    pointer-events: none;
}
.hero h1 {
    font-size: clamp(2.2rem, 4.5vw, 3.6rem);
    line-height: 1.15;
    margin-bottom: 1rem;
}
.hero h1 em { color: var(--color-sage); font-style: italic; }
.hero .lead {
    font-size: 1.15rem;
    color: var(--color-ink-soft);
    max-width: 640px;
}
.hero .hero-note {
    color: var(--color-ink-soft);
    font-size: 0.92rem;
    margin-top: 0.7rem;
}
.hero-contact-row { display: flex; align-items: center; gap: 0.9rem; font-weight: 500; }
.hero-contact-row a { color: var(--color-ink); }
.hero-contact-row a:hover { color: var(--color-terracotta); }
.hero-contact-row .divider { color: var(--color-border); }
.hero-visual {
    position: relative;
    border-radius: 28px;
    background: linear-gradient(145deg, var(--color-sage) 0%, #c96b80 45%, var(--color-gold) 100%);
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.hero-visual .hero-visual-mark { width: 42%; opacity: .92; }
.hero-visual .hero-photo { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Booking calendar ---------- */
.booking-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
}
.bc-weekday {
    text-align: center;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--color-ink-soft);
    padding-bottom: 4px;
}
.bc-day {
    aspect-ratio: 1;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background: var(--color-surface);
    font-size: 0.88rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    cursor: default;
}
.bc-day-num { display: block; width: 100%; line-height: 1; }
.bc-day-occupancy { display: block; width: 100%; font-size: 0.6rem; font-weight: 500; opacity: .85; line-height: 1; }
.bc-day-empty { border: none; background: transparent; }
.bc-day-closed, .bc-day-past { color: var(--color-border); background: var(--color-bg); }
.bc-day-full { color: var(--color-ink-soft); background: #f6dde2; text-decoration: line-through; }
.bc-day-available {
    color: var(--color-sage-dark);
    font-weight: 600;
    cursor: pointer;
    transition: background .15s ease, color .15s ease;
}
.bc-day-available:hover { background: var(--color-sage); color: #fff; }
.bc-day-selected.bc-day-available { background: var(--color-sage); color: #fff; }
#bc-slots button.active { background: var(--color-sage); border-color: var(--color-sage); color: #fff; }
.btn-slot-taken {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    color: var(--color-ink-soft);
    text-decoration: line-through;
    cursor: not-allowed;
    opacity: .75;
}

/* ---------- Find us (map + info cards) ---------- */
.map-card {
    background: var(--color-surface);
    border-radius: var(--radius);
    padding: 1rem;
    height: 100%;
    min-height: 280px;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-soft);
}
.map-card iframe { width: 100%; height: 100%; min-height: 260px; border: 0; border-radius: 12px; }

.info-card {
    background: var(--color-surface);
    border-radius: 16px;
    padding: 1.2rem 1.4rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    height: 100%;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-soft);
    transition: transform .2s ease, box-shadow .2s ease;
}
.info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.info-card > i { font-size: 1.6rem; color: var(--color-sage); min-width: 32px; }
.info-card .text { font-weight: 600; }
.info-card .text small { display: block; font-weight: 400; color: var(--color-ink-soft); font-size: 0.85rem; }
.info-card .text a { color: var(--color-ink); text-decoration: none; }
.info-card .text a:hover { color: var(--color-terracotta); }

/* ---------- Sections ---------- */
.section { padding: 5.5rem 0; }
.section-alt { background: var(--color-surface); }
.section-title {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    margin-bottom: 0.6rem;
}
.section-lead {
    color: var(--color-ink-soft);
    max-width: 640px;
}
.section-header { margin-bottom: 3rem; }
.ornament {
    width: 46px; height: 3px;
    background: var(--color-terracotta);
    border-radius: 2px;
    margin-bottom: 1.1rem;
}
.section-header.text-center .ornament { margin-left: auto; margin-right: auto; }

/* ---------- Cards ---------- */
/* Base icon badge — used standalone (product cards, section headers) and
   inside .service-card / .package-card, which only tweak size/margin below. */
.icon-wrap {
    width: 58px; height: 58px;
    border-radius: 50%;
    background: #f6dde2;
    color: var(--color-sage-dark);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.1rem;
}
.service-card {
    background: var(--color-surface);
    border-radius: var(--radius);
    padding: 2.2rem 1.8rem;
    height: 100%;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--color-border);
    transition: transform .25s ease, box-shadow .25s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.service-card h3 { font-size: 2.105rem; margin-bottom: 0.6rem; }
.service-card p { color: var(--color-ink-soft); font-size: 0.96rem; }
.mini-massage-list {
    list-style: none; margin: 0.6rem 0 0.4rem; padding: 0;
    text-align: left; border-top: 1px solid var(--color-border);
}
.mini-massage-list li {
    display: flex; align-items: center; justify-content: space-between; gap: 0.6rem;
    padding: 0.55rem 0; border-bottom: 1px dashed var(--color-border);
    font-size: 0.9rem;
}
.mini-massage-list li:last-child { border-bottom: none; }
.mini-massage-list li span { font-weight: 500; }

.testimonial-card {
    background: var(--color-surface);
    border-radius: var(--radius);
    padding: 2rem;
    height: 100%;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-soft);
}
.testimonial-card .bi-quote { font-size: 1.8rem; color: var(--color-gold); }
.testimonial-card p.quote { font-style: italic; color: var(--color-ink); }
.testimonial-card .author { font-weight: 600; color: var(--color-sage-dark); margin-top: 1rem; }

.product-card {
    background: var(--color-surface);
    border-radius: var(--radius);
    padding: 2rem;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-soft);
    height: 100%;
}

/* ---------- Price list ---------- */
.price-hero {
    padding: 6.5rem 0 3rem;
    background: linear-gradient(135deg, var(--color-bg) 0%, #f7e8ec 100%);
    text-align: center;
}
.price-hero .section-lead { margin-left: auto; margin-right: auto; }

.category-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--color-sage);
    color: #fff;
    padding: 0.4rem 1.2rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.82rem;
    letter-spacing: 0.03em;
    margin-bottom: 1rem;
}

.price-group-subtitle { color: var(--color-ink-soft); font-size: 0.92rem; margin: 0.3rem 0 0; }

.price-list { display: flex; flex-direction: column; gap: 0.7rem; }
.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    background: var(--color-surface);
    padding: 1rem 1.3rem;
    border-radius: 12px;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-soft);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.price-item:hover { transform: translateX(6px); box-shadow: var(--shadow-hover); border-color: var(--color-gold); }
.price-item .name { font-weight: 600; font-size: 21px; }
.price-item .duration { color: var(--color-ink-soft); font-size: 0.85rem; display: block; }
.price-item .note { color: var(--color-ink-soft); font-size: 0.82rem; display: block; margin-top: .15rem; }
.price-item .description { color: var(--color-ink-soft); font-size: 0.85rem; display: block; margin-top: .3rem; max-width: 42ch; }
.price-item .price { white-space: nowrap; font-weight: 700; color: var(--color-sage); font-family: var(--font-display); font-size: 2.2rem; }
.price-item-link { text-decoration: none; color: inherit; cursor: pointer; }
.price-item-link:hover { border-color: var(--color-terracotta); }

.package-card {
    background: var(--color-surface);
    border-radius: var(--radius);
    padding: 2rem 1.6rem;
    height: 100%;
    text-align: center;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-soft);
    transition: transform .25s ease, box-shadow .25s ease;
}
.package-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.package-card .icon-wrap {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: #f6dde2;
    color: var(--color-sage-dark);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.7rem;
    margin: 0 auto 1.1rem;
}
.package-card .package-price {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.6rem;
    color: var(--color-sage);
    margin-top: 0.8rem;
}

/* ---------- Forms ---------- */
.form-panel {
    background: var(--color-surface);
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
    padding: 2.2rem;
    box-shadow: var(--shadow-soft);
}
.form-control, .form-select {
    border-radius: 10px;
    border-color: var(--color-border);
    padding: 0.65rem 0.9rem;
}
.form-control:focus, .form-select:focus {
    border-color: var(--color-sage);
    box-shadow: 0 0 0 0.2rem rgba(168,57,90,0.15);
}
.form-label { font-weight: 500; font-size: 0.9rem; }
.form-feedback { border-radius: 10px; padding: 0.8rem 1rem; font-size: 0.92rem; margin-top: 1rem; }
.form-feedback.success { background: #f6dde2; color: var(--color-sage-dark); }
.form-feedback.error { background: #fbeceb; color: #a33; }

/* ---------- Contact info list ---------- */
.contact-info-list li { display: flex; gap: 0.7rem; margin-bottom: 1rem; align-items: flex-start; }
.contact-info-list i { color: var(--color-sage-dark); font-size: 1.1rem; margin-top: 0.2rem; }

/* ---------- Footer ---------- */
.site-footer { background: #f8e9eb; border-top: 1px solid var(--color-border); margin-top: 2rem; }
.footer-brand { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; }
.footer-heading { text-transform: uppercase; font-size: 0.8rem; letter-spacing: 0.1em; color: var(--color-ink-soft); margin-bottom: 1rem; }
.footer-links li { margin-bottom: 0.55rem; font-size: 0.92rem; }
.footer-links a { color: var(--color-ink); }
.footer-links a:hover { color: var(--color-terracotta); }
.footer-credit-link { color: var(--color-ink-soft); text-decoration: underline; }
.footer-credit-link:hover { color: var(--color-terracotta); }
.footer-social a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 38px; height: 38px; border-radius: 50%;
    background: var(--color-sage); color: #fff; margin-right: 0.5rem;
}
.footer-divider { border-color: var(--color-border); margin: 2rem 0 1.5rem; }

/* ---------- Legal pages ---------- */
.legal-content h2 { font-size: 1.4rem; margin-top: 2rem; }
.legal-content p { color: var(--color-ink-soft); }

/* ---------- 404 ---------- */
.error-page { padding: 8rem 0; text-align: center; }
.error-page .code { font-family: var(--font-display); font-size: 6rem; color: var(--color-sage); }


/* ---------- Misc ---------- */
.badge-soft {
    background: #eef1e9; color: var(--color-sage-dark);
    font-weight: 500; padding: 0.35rem 0.8rem; border-radius: 999px; font-size: 0.78rem;
}

@media (max-width: 991.98px) {
    .navbar-collapse { padding-top: 1rem; }
    .hero { padding: 4rem 0 3rem; text-align: center; }
    .hero .lead { margin-left: auto; margin-right: auto; }
    .section { padding: 3.5rem 0; }
    body { padding-bottom: 64px; }
}

@media (max-width: 575.98px) {
    .hero-contact-row { flex-direction: column; align-items: center; gap: 0.5rem; }
    .hero-contact-row .divider { display: none; }
}

/* ---------- Sticky mobile CTA bar ---------- */
.mobile-cta-bar {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 1040;
    display: flex;
    box-shadow: 0 -6px 24px rgba(103, 30, 51, 0.14);
}
.mobile-cta-btn {
    flex: 1 1 50%;
    display: flex; align-items: center; justify-content: center; gap: 0.5rem;
    padding: 0.9rem 0.5rem;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
}
.mobile-cta-call { background: #fff; color: var(--color-ink); border-top: 1px solid var(--color-border); }
.mobile-cta-book { background: var(--color-terracotta); color: #fff; }

/* ---------- FAQ accordion (brand colours instead of Bootstrap default blue) ---------- */
.accordion-item { border-color: var(--color-border); }
.accordion-button { font-weight: 600; color: var(--color-ink); font-size: 1.05rem; }
.accordion-body { font-size: 0.98rem; line-height: 1.6; color: var(--color-ink-soft); }
.accordion-button:not(.collapsed) {
    background: var(--color-bg);
    color: var(--color-terracotta);
    box-shadow: inset 0 -1px 0 var(--color-border);
}
.accordion-button:focus { box-shadow: 0 0 0 0.2rem rgba(138, 51, 73, 0.15); }
.accordion-button::after { filter: hue-rotate(280deg) saturate(2); }

/* ---------- Photo & video gallery ---------- */
.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--color-border);
    height: 100%;
    cursor: pointer;
    position: relative;
    transition: box-shadow .2s ease;
}
.gallery-item:hover, .gallery-item:focus-visible { box-shadow: var(--shadow-hover); }
.gallery-item img { width: 100%; height: 240px; object-fit: cover; display: block; }
.gallery-caption { padding: 0.7rem 0.9rem; margin: 0; font-size: 0.88rem; color: var(--color-ink-soft); }
.gallery-play {
    position: absolute; top: 0; left: 0; right: 0; height: 240px;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 3rem; text-shadow: 0 4px 18px rgba(0,0,0,.45);
    background: rgba(58,42,47,0.12); pointer-events: none;
}
.gallery-video-placeholder {
    width: 100%; height: 240px; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(145deg, var(--color-sage) 0%, var(--color-terracotta) 100%);
    color: #fff; font-size: 2.5rem;
}

/* ---------- Top bar (contact strip above the main nav) ---------- */
.top-bar {
    background: var(--color-ink);
    color: #fff;
    font-size: 0.85rem;
    padding: 0.45rem 0;
}
.top-bar .container { display: flex; justify-content: center; gap: 1.75rem; flex-wrap: wrap; }
.top-bar a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 0.4rem; }
.top-bar a:hover { color: var(--color-gold); }
@media (max-width: 767.98px) {
    .top-bar .container { gap: 1rem; font-size: 0.78rem; }
    .top-bar-address { display: none; }
}
