/* La Canasta - Public Theme */

:root {
    --lc-primary: #1a73e8;
    --lc-primary-dark: #0d47a1;
    --lc-accent: #ff6b35;
    --lc-ink: #1d2433;
    --lc-muted: #6b7280;
    --lc-surface: #f8fafc;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: var(--lc-ink);
}

/* ============================================================
   Navbar
   ============================================================ */
.navbar-brand {
    font-size: 1.4rem;
}

.lc-navbar {
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
}

.lc-navbar__logo {
    height: 72px;
    transition: transform 0.18s ease;
}

.navbar-brand:hover .lc-navbar__logo {
    transform: scale(1.03);
}

/* Nav links with animated underline */
.lc-nav-link {
    position: relative;
    color: var(--lc-ink) !important;
    font-weight: 500;
    padding: 0.6rem 0.85rem !important;
    transition: color 0.15s ease;
}

.lc-nav-link::after {
    content: "";
    position: absolute;
    left: 0.85rem;
    right: 0.85rem;
    bottom: 0.35rem;
    height: 2px;
    border-radius: 2px;
    background: var(--lc-primary);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.22s ease;
}

.lc-nav-link:hover {
    color: var(--lc-primary) !important;
}

.lc-nav-link:hover::after,
.lc-nav-link--active::after {
    transform: scaleX(1);
}

.lc-nav-link--active {
    color: var(--lc-primary) !important;
}

/* Language switcher */
.lc-lang-toggle::after {
    margin-left: 4px;
}

.lc-flag {
    font-size: 1.05rem;
    margin-right: 4px;
    vertical-align: -1px;
}

/* CTA button in navbar */
.lc-nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 20px;
    border-radius: 999px;
    background: var(--lc-primary);
    color: #fff !important;
    font-weight: 600;
    font-size: 0.92rem;
    text-decoration: none;
    border: 0;
    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.3);
    transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.lc-nav-cta:hover,
.lc-nav-cta:focus {
    background: var(--lc-primary-dark);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(26, 115, 232, 0.4);
}

.lc-nav-cta .bi {
    font-size: 1rem;
}

/* On mobile, the CTA goes full-width below the menu items */
@media (max-width: 991.98px) {
    .lc-nav-cta {
        display: flex;
        justify-content: center;
        margin-top: 0.5rem;
    }
    .lc-nav-link::after {
        display: none;
    }
}

/* ============================================================
   Bookings-disabled banner (admin kill switch)
   ============================================================ */
.lc-bookings-disabled-banner {
    background: linear-gradient(90deg, #fff8e1 0%, #fff3cd 100%);
    border-bottom: 1px solid #ffe69c;
    color: #664d03;
    font-size: 0.9rem;
    padding: 10px 0;
}

.lc-bookings-disabled-banner .container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.lc-bookings-disabled-banner .bi {
    color: #d39e00;
    font-size: 1.05rem;
    flex-shrink: 0;
}

/* ============================================================
   Hero
   ============================================================ */
.hero-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 20% 0%, rgba(255, 255, 255, 0.18) 0%, transparent 55%),
        radial-gradient(ellipse at 80% 100%, rgba(255, 107, 53, 0.25) 0%, transparent 50%),
        linear-gradient(135deg, #1a73e8 0%, #0d47a1 60%, #082c66 100%);
}

/* Variant when admin uploads a hero photo */
.hero-section--photo {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-section__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(8, 44, 102, 0.55) 0%, rgba(13, 71, 161, 0.65) 100%);
    pointer-events: none;
}

.hero-section:not(.hero-section--photo)::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
    opacity: 0.6;
}

.hero-section > .container {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
    letter-spacing: -0.02em;
}

.hero-section .lead {
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
    opacity: 0.98;
}

/* ============================================================
   Service cards
   ============================================================ */
.service-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    overflow: hidden;
}

.service-card .card-img-top {
    transition: transform 0.5s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 1rem 2rem rgba(13, 71, 161, 0.18) !important;
}

.service-card:hover .card-img-top {
    transform: scale(1.06);
}

.service-card .card-title {
    color: var(--lc-ink);
}

/* Tagline shown on cards & detail */
.lc-tagline {
    color: var(--lc-primary-dark);
    font-style: italic;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.lc-tagline--lead {
    font-size: 1.1rem;
    font-weight: 400;
}

/* ============================================================
   Star ratings
   ============================================================ */
.bi-star-fill,
.bi-star {
    font-size: 0.85rem;
}

/* ============================================================
   Sticky booking card (desktop) → static on mobile
   ============================================================ */
@media (max-width: 991.98px) {
    .sticky-top {
        position: relative !important;
        top: 0 !important;
    }
}

/* Booking sidebar accent border */
.lc-booking-card {
    border-top: 4px solid var(--lc-primary) !important;
    box-shadow: 0 0.75rem 2rem rgba(13, 71, 161, 0.12) !important;
}

.lc-booking-card .price-amount {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--lc-primary-dark);
    line-height: 1;
}

/* ============================================================
   Footer
   ============================================================ */
.lc-footer {
    margin-top: 5rem;
    padding-top: 3.5rem;
    background: linear-gradient(180deg, #0d1d36 0%, #06122a 100%);
    color: #cbd5e1;
    position: relative;
}

.lc-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--lc-primary) 0%, var(--lc-accent) 100%);
}

.lc-footer__main {
    padding-bottom: 2.5rem;
}

.lc-footer__logo {
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.lc-footer__tagline {
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.5;
    max-width: 18rem;
}

.lc-footer__heading {
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.lc-footer__links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lc-footer__links li {
    margin-bottom: 0.55rem;
}

.lc-footer__links a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.92rem;
    transition: color 0.15s ease, padding-left 0.15s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.lc-footer__links a:hover {
    color: #fff;
    padding-left: 4px;
}

.lc-footer__contact a .bi {
    color: var(--lc-primary);
    font-size: 1.05rem;
}

.lc-footer__contact a:hover .bi {
    color: #fff;
}

/* Social icon row */
.lc-footer__social {
    display: flex;
    gap: 10px;
}

.lc-footer__social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    text-decoration: none;
    font-size: 1.05rem;
    transition: background 0.18s ease, transform 0.18s ease, color 0.18s ease;
}

.lc-footer__social a:hover {
    background: var(--lc-primary);
    color: #fff;
    transform: translateY(-2px);
}

/* Bottom bar */
.lc-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.25rem 0;
    color: #64748b;
    font-size: 0.85rem;
    text-align: center;
}

/* Add bottom padding so the floating WhatsApp button never overlaps the
   last footer line on small viewports. */
@media (max-width: 575.98px) {
    .lc-footer {
        padding-bottom: 4rem;
    }
}

/* ============================================================
   Category chips (catalog filter)
   ============================================================ */
.lc-category-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.lc-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 999px;
    background: #fff;
    color: var(--lc-ink);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: all 0.18s ease;
    white-space: nowrap;
}

.lc-chip .bi {
    font-size: 1rem;
    color: var(--lc-primary);
    transition: color 0.18s ease;
}

.lc-chip:hover {
    color: var(--lc-primary-dark);
    border-color: var(--lc-primary);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(26, 115, 232, 0.15);
}

.lc-chip--active {
    background: var(--lc-primary);
    color: #fff;
    border-color: var(--lc-primary);
    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.35);
}

.lc-chip--active .bi {
    color: #fff;
}

.lc-chip--active:hover {
    background: var(--lc-primary-dark);
    color: #fff;
    border-color: var(--lc-primary-dark);
}

/* Mobile: scroll horizontal en una sola línea */
@media (max-width: 575.98px) {
    .lc-category-chips {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 6px;
        margin-left: -1rem;
        margin-right: -1rem;
        padding-left: 1rem;
        padding-right: 1rem;
        scrollbar-width: none;
    }
    .lc-category-chips::-webkit-scrollbar {
        display: none;
    }
}

/* ============================================================
   Category badge on service card image
   ============================================================ */
.lc-card-category {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 11px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--lc-primary-dark);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.lc-card-category .bi {
    font-size: 0.85rem;
}

/* Price chip on service card image (right side) */
.lc-card-price {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    padding: 6px 12px;
    background: var(--lc-accent);
    color: #fff;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.4);
    line-height: 1.2;
}

.lc-card-price small {
    font-weight: 500;
    opacity: 0.9;
}

/* Tour meta line (duration, location) on cards */
.lc-card-meta {
    color: var(--lc-muted);
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.lc-card-meta .bi {
    color: var(--lc-primary);
    font-size: 0.95rem;
}

/* ============================================================
   Trust signals (landing)
   ============================================================ */
.lc-trust-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #e8f0fe 0%, #d0e1fc 100%);
    color: var(--lc-primary);
    box-shadow: 0 4px 14px rgba(26, 115, 232, 0.15);
    font-size: 1.6rem;
}

.lc-trust-card h3 {
    color: var(--lc-ink);
    margin-top: 1rem;
}

/* ============================================================
   How it works (numbered steps)
   ============================================================ */
.lc-step-circle {
    background: linear-gradient(135deg, var(--lc-primary) 0%, var(--lc-primary-dark) 100%) !important;
    box-shadow: 0 8px 22px rgba(26, 115, 232, 0.3);
}

/* ============================================================
   WhatsApp floating button
   ============================================================ */
.lc-whatsapp-fab {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1040;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    background: #25D366;
    color: #fff;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35), 0 2px 6px rgba(0, 0, 0, 0.12);
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.lc-whatsapp-fab:hover,
.lc-whatsapp-fab:focus {
    color: #fff;
    background: #1ebe5b;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(37, 211, 102, 0.45), 0 3px 8px rgba(0, 0, 0, 0.15);
}

.lc-whatsapp-fab .bi-whatsapp {
    font-size: 1.35rem;
    line-height: 1;
}

@media (max-width: 575.98px) {
    .lc-whatsapp-fab {
        padding: 14px;
        right: 16px;
        bottom: 16px;
    }
    .lc-whatsapp-fab__label {
        display: none;
    }
    .lc-whatsapp-fab .bi-whatsapp {
        font-size: 1.5rem;
    }
}
