/* ═══════════════════════════════════════════════════════
   StageCraft Live — Navbar & Footer (Figma redesign)
   Loaded on every public page, after app.css.
   ═══════════════════════════════════════════════════════ */
:root { --nav-h: 96px; }
@media (max-width: 991.98px) { :root { --nav-h: 72px; } }

/* ══════ Navbar ══════ */
.scl-navbar {
    font-family: 'Inter', var(--font);
    background: transparent;
    backdrop-filter: none; -webkit-backdrop-filter: none;
}
.scl-navbar.scrolled,
.scl-navbar:has(.navbar-collapse.show),
.scl-navbar:has(.navbar-collapse.collapsing) {
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(16px) saturate(180%); -webkit-backdrop-filter: blur(16px) saturate(180%);
    box-shadow: 0 4px 24px rgba(15,23,42,.06);
    border-bottom-color: transparent;
}
.scl-navbar .container { flex-wrap: nowrap; }
.scl-navbar .brand-logo { height: 86px; transition: height .3s ease, transform .3s ease; }
.scl-navbar.scrolled .brand-logo { height: 68px; }

.scl-navbar .nav-link {
    color: #1F2328 !important;
    font-size: 1.05rem; font-weight: 500;
    padding: .5rem 1.6rem !important;
    display: inline-flex; align-items: center; gap: .35rem;
}
.scl-navbar .nav-link::after { display: none; }
.scl-navbar .nav-link:hover,
.scl-navbar .nav-link.active,
.scl-navbar .nav-link.show { color: #0D7F7A !important; }
.scl-navbar .nav-link .bi-chevron-down { font-size: .8rem; color: #0D7F7A; -webkit-text-stroke: 1px; transition: transform .25s ease; }
.scl-navbar .nav-link.show .bi-chevron-down { transform: rotate(180deg); }

.scl-dropdown {
    border: 0; border-radius: 16px; padding: .5rem;
    min-width: 210px; margin-top: .35rem !important;
    box-shadow: 0 18px 40px rgba(15,23,42,.12);
}
.scl-dropdown .dropdown-item {
    border-radius: 10px; padding: .6rem 1rem;
    font-size: .95rem; font-weight: 500; color: #1F2328;
}
.scl-dropdown .dropdown-item:hover,
.scl-dropdown .dropdown-item:focus { background: #E5F4F3; color: #0D7F7A; }

.scl-nav-actions { display: flex; align-items: center; gap: 2.5rem; flex-shrink: 0; }
.scl-nav-search {
    border: 0; background: none; padding: .35rem;
    color: #1F2328; font-size: 1.35rem; line-height: 1;
    -webkit-text-stroke: .4px;
}
.scl-nav-search:hover { color: #0D7F7A; }
.scl-nav-book {
    align-items: center; justify-content: center;
    background: #0D7F7A; color: #fff !important;
    border: 0; border-radius: 999px;
    padding: .85rem 2.2rem;
    font-weight: 700; font-size: 1.05rem;
    transition: background .25s ease, transform .25s ease, box-shadow .25s ease;
}
.scl-nav-book:hover { background: #0A6A66; transform: translateY(-1px); box-shadow: 0 10px 24px rgba(13,127,122,.28); }

@media (max-width: 1199.98px) {
    .scl-navbar .nav-link { padding: .5rem 1rem !important; }
    .scl-nav-actions { gap: 1.25rem; }
}

@media (max-width: 991.98px) {
    .scl-navbar .brand-logo,
    .scl-navbar.scrolled .brand-logo { height: 52px; }
    .scl-nav-actions { gap: .6rem; margin-left: auto; }
    .scl-nav-search { font-size: 1.15rem; }
    .scl-toggler { padding: .45rem; gap: 4px; }
    .scl-toggler span { width: 20px; height: 1.5px; background: #111; }
    .scl-navbar .navbar-collapse {
        border: 0; border-radius: 0 0 20px 20px;
        padding: .75rem 1rem 1.25rem;
        box-shadow: 0 20px 40px rgba(15,23,42,.12);
    }
    .scl-navbar .nav-link { display: flex; width: 100%; justify-content: space-between; padding: .8rem .75rem !important; font-size: 1rem; border-radius: 10px; }
    .scl-navbar .nav-link:hover { background: #F2FAF9; }
    .scl-dropdown { box-shadow: none; background: #F5FBFA; margin: 0 0 .25rem !important; }
    .scl-navbar .nav-cta { margin-top: .75rem; }
    .scl-navbar .nav-cta .scl-nav-book { display: flex; padding: .8rem; }
}

/* ── Search modal ── */
.scl-search-modal .modal-dialog { max-width: 560px; margin-top: calc(var(--nav-h) + var(--audition-banner-h) + .5rem); }
.scl-search-modal .modal-content { border: 0; border-radius: 22px; overflow: hidden; box-shadow: 0 30px 60px rgba(15,23,42,.2); font-family: 'Inter', var(--font); }
.scl-search-head { display: flex; align-items: center; gap: .75rem; padding: 1rem 1.25rem; border-bottom: 1px solid #E8EEEE; }
.scl-search-head > .bi { color: #0D7F7A; font-size: 1.1rem; }
.scl-search-head input { flex: 1; border: 0; outline: 0; font-size: 1.05rem; background: transparent; min-width: 0; }
.scl-search-list { list-style: none; margin: 0; padding: .5rem; max-height: 60vh; overflow-y: auto; }
.scl-search-list a {
    display: flex; align-items: center; gap: .85rem;
    padding: .7rem .9rem; border-radius: 12px;
    color: #1F2328; text-decoration: none; font-weight: 500;
}
.scl-search-list a .bi { color: #0D7F7A; width: 1.2rem; text-align: center; }
.scl-search-list a:hover, .scl-search-list a:focus { background: #E5F4F3; color: #0D7F7A; outline: none; }
.scl-search-empty { padding: 1.25rem; color: #64748B; text-align: center; font-size: .95rem; }

/* ══════ Footer ══════ */
.scl-footer {
    font-family: 'Inter', var(--font);
    position: relative; overflow: hidden;
    margin-top: 2rem; padding: 0;
    color: #fff;
    background:
        radial-gradient(ellipse 70% 60% at 85% 10%, rgba(0,110,115,.45), transparent 70%),
        linear-gradient(170deg, #005A62 0%, #003F46 35%, #00323A 70%, #002B31 100%);
}
.ft-waves { display: block; width: 100%; height: 120px; position: relative; z-index: 1; }
.ft-waves--bottom { position: absolute; left: 0; bottom: 0; height: 60px; z-index: 0; }
.scl-footer .footer-inner { padding-top: 1.5rem; padding-bottom: 2.5rem; z-index: 1; }

.ft-grid {
    display: grid;
    grid-template-columns: 1.7fr 1fr 1fr 1fr;
    grid-template-areas: "brand explore services contact";
    gap: 2.5rem 2rem;
}
.ft-brand { grid-area: brand; }
.ft-explore { grid-area: explore; }
.ft-services { grid-area: services; }
.ft-contact { grid-area: contact; }

.ft-logo { display: none; height: 84px; width: auto; margin-bottom: 1.5rem; filter: brightness(0) invert(1) opacity(.85); }
.ft-brand h5 { font-size: 2.1rem; font-weight: 600; color: #fff; margin: 0 0 1.75rem; }
.ft-brand p { font-size: 1.3rem; line-height: 1.3; max-width: 400px; margin: 0; color: #fff; }

.ft-col h6 { font-size: 1.4rem; font-weight: 600; color: #fff; margin: 0 0 .15rem; }
.ft-col ul { list-style: none; margin: 0; padding: 0; }
.ft-col li { font-size: 1.4rem; line-height: 1.3; font-weight: 300; }
.ft-col a { color: #fff; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; transition: color .2s ease; }
.ft-col a:hover { color: #7EE8DF; }
.ft-col span { color: #fff; }

.ft-bottom {
    display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.5rem;
    margin-top: 2.5rem; padding-top: 1.75rem;
    border-top: 1px solid rgba(255,255,255,.75);
}
.ft-social { display: flex; gap: 1.25rem; }
.ft-social a {
    width: 58px; height: 58px; border-radius: 50%;
    display: grid; place-items: center;
    background: #E6FBF3; color: #003F46; font-size: 1.35rem;
    text-decoration: none; transition: transform .25s ease, background .25s ease, color .25s ease;
}
.ft-social a:first-child { background: #0B5C5E; color: #E6FBF3; }
.ft-social a:hover { transform: translateY(-3px); background: #2FB3AC; color: #fff; }
.ft-copy { text-align: center; }
.ft-copy p { margin: 0; font-weight: 600; font-size: 1.05rem; color: #fff; }
.ft-copy .ft-credits { font-weight: 400; font-size: .8rem; color: rgba(255,255,255,.55); margin-top: .35rem; }
.ft-credits a { color: rgba(255,255,255,.8); text-decoration: none; font-weight: 600; }
.ft-credits a:hover { color: #7EE8DF; }

/* Tablet */
@media (max-width: 991.98px) {
    .ft-waves { height: 70px; }
    .ft-grid {
        grid-template-columns: 1.3fr 1fr 1fr;
        grid-template-areas:
            "brand explore contact"
            "brand explore services";
        gap: 2rem 1.5rem;
    }
    .ft-logo { display: block; height: 64px; }
    .ft-brand h5 { font-size: 1.05rem; margin-bottom: 2rem; }
    .ft-brand p { font-size: .85rem; max-width: 230px; }
    .ft-col h6 { font-size: .95rem; }
    .ft-col li { font-size: .95rem; }
    .ft-bottom { grid-template-columns: 1fr; justify-items: center; border-top: 0; margin-top: 2rem; padding-top: 0; }
    .ft-social { gap: 1rem; }
    .ft-social a { width: 34px; height: 34px; font-size: .9rem; }
    .ft-copy p { font-size: .75rem; }
}

/* Phone */
@media (max-width: 575.98px) {
    .ft-waves { height: 50px; }
    .ft-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "brand services"
            "explore contact";
        gap: 1.75rem 1rem;
    }
    .ft-brand h5, .ft-brand p { display: none; }
    .ft-logo { margin-bottom: 0; height: 56px; }
    .ft-explore { align-self: start; }
    .ft-bottom { position: relative; padding-top: 1.75rem; }
    .ft-copy { width: calc(100% + 2 * var(--bs-gutter-x, .75rem)); border-top: 1px solid rgba(255,255,255,.6); padding-top: 1.5rem; margin-top: 1rem; }
}
