/* Signature spa theme (scoped)
   Builder preview: #previewPanel.fifth-theme
   Published site: #websiteContent.fifth-theme
*/

/* Page base */
#previewPanel.fifth-theme,
#websiteContent.fifth-theme {
    background: #ffffff;
    color: #111111;
}

#previewPanel.fifth-theme .lion-container,
body.fifth-theme .lion-container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Hide #previewName (global builder styles can make it huge) */
#previewPanel.fifth-theme .fifth-org-hidden,
body.fifth-theme .fifth-org-hidden {
    display: none !important;
}

/* Fifth template only: remove large centered hero logo placeholder */
#previewPanel.fifth-theme #logoCircle,
body.fifth-theme #logoCircle {
    display: none !important;
}

/* Topbar */
#previewPanel.fifth-theme .fifth-topbar,
body.fifth-theme .fifth-topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(0,0,0,0.92);
    border-bottom: 2px solid rgba(214, 180, 90, 0.55);
}

#previewPanel.fifth-theme .fifth-topbar-inner,
body.fifth-theme .fifth-topbar-inner {
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

#previewPanel.fifth-theme .fifth-brand,
body.fifth-theme .fifth-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

#previewPanel.fifth-theme .fifth-logo,
body.fifth-theme .fifth-logo {
    width: 120px;
    height: 48px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    filter: drop-shadow(0 10px 18px rgba(0,0,0,0.6));
}

#previewPanel.fifth-theme .fifth-brand-name,
body.fifth-theme .fifth-brand-name {
    color: var(--nav-color, rgba(255,255,255,0.92));
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

#previewPanel.fifth-theme .fifth-nav-link,
body.fifth-theme .fifth-nav-link {
    color: rgba(255,255,255,0.92);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.10em;
    text-transform: uppercase;
}

#previewPanel.fifth-theme .fifth-nav-link:hover,
body.fifth-theme .fifth-nav-link:hover {
    color: #ffffff;
    opacity: 0.96;
}

#previewPanel.fifth-theme .fifth-mobile-menu-btn,
body.fifth-theme .fifth-mobile-menu-btn {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    border: 1px solid rgba(214,180,90,0.45);
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.95);
}

/* Mobile menu dropdown (white card) */
#previewPanel.fifth-theme .fifth-mobile-menu,
body.fifth-theme .fifth-mobile-menu {
    position: absolute;
    top: 76px;
    right: 16px;
    width: min(92vw, 360px);
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.18);
    box-shadow: 0 18px 55px rgba(0,0,0,0.25);
    border-radius: 10px;
    overflow: hidden;
    transition: max-height 220ms ease;
}

#previewPanel.fifth-theme .fifth-mobile-link,
body.fifth-theme .fifth-mobile-link {
    display: block;
    padding: 14px 18px;
    text-decoration: none;
    /* Force visible text on white mobile menu card (overrides inline .nav-link color) */
    color: #111111 !important;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

#previewPanel.fifth-theme .fifth-mobile-link:last-child,
body.fifth-theme .fifth-mobile-link:last-child {
    border-bottom: none;
}

/* Hero */
#previewPanel.fifth-theme .fifth-hero,
body.fifth-theme .fifth-hero {
    position: relative;
    min-height: 560px;
    height: 76vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#previewPanel.fifth-theme .fifth-hero-scrim,
body.fifth-theme .fifth-hero-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.62) 100%);
}

#previewPanel.fifth-theme .fifth-hero-content,
body.fifth-theme .fifth-hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    height: calc(76vh - 76px);
    min-height: 484px;
}

#previewPanel.fifth-theme .fifth-hero-card,
body.fifth-theme .fifth-hero-card {
    max-width: 540px;
    color: #ffffff;
    padding: 22px 18px;
}

#previewPanel.fifth-theme .fifth-hero-welcome,
body.fifth-theme .fifth-hero-welcome {
    font-family: "Playfair Display", serif;
    font-size: 1.3rem;
    letter-spacing: 0.02em;
}

#previewPanel.fifth-theme .fifth-hero-org,
body.fifth-theme .fifth-hero-org {
    font-family: "Playfair Display", serif;
    font-size: clamp(2rem, 3.6vw, 3.2rem);
    font-weight: 700;
    margin-top: 4px;
}

#previewPanel.fifth-theme .fifth-hero-divider,
body.fifth-theme .fifth-hero-divider {
    margin-top: 16px;
    width: 72px;
    height: 4px;
    background: #d6b45a;
}

#previewPanel.fifth-theme .fifth-hero-tagline,
body.fifth-theme .fifth-hero-tagline {
    margin-top: 22px;
    font-size: 1.15rem;
    letter-spacing: 0.25em;
    font-weight: 800;
    text-transform: uppercase;
}

#previewPanel.fifth-theme .fifth-hero-tagline-2,
body.fifth-theme .fifth-hero-tagline-2 {
    margin-top: 10px;
    font-size: 1.15rem;
    letter-spacing: 0.25em;
    font-weight: 800;
    text-transform: uppercase;
}

#previewPanel.fifth-theme .fifth-book-btn,
body.fifth-theme .fifth-book-btn {
    padding: 12px 18px;
    border-radius: 3px;
    border: 1px solid rgba(214,180,90,0.75);
    background: linear-gradient(135deg, #d6b45a, #b8902f);
    color: #111111;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* About section */
#previewPanel.fifth-theme .fifth-about,
body.fifth-theme .fifth-about {
    background: #ffffff;
    padding: 72px 18px;
}

#previewPanel.fifth-theme .fifth-about-grid,
body.fifth-theme .fifth-about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: start;
    max-width: 920px;
    margin: 0 auto;
}

#previewPanel.fifth-theme .fifth-kicker,
body.fifth-theme .fifth-kicker {
    font-weight: 900;
    letter-spacing: 0.35em;
    color: #d6b45a;
    text-transform: uppercase;
    font-size: 0.9rem;
}

#previewPanel.fifth-theme .fifth-about-title,
body.fifth-theme .fifth-about-title {
    margin-top: 12px;
    font-family: "Playfair Display", serif;
    font-size: clamp(2.1rem, 3.5vw, 3rem);
    font-weight: 700;
    color: #111111;
    line-height: 1.05;
}

#previewPanel.fifth-theme .fifth-gold-line,
body.fifth-theme .fifth-gold-line {
    margin-top: 14px;
    width: 84px;
    height: 4px;
    background: #d6b45a;
}

#previewPanel.fifth-theme .fifth-about-body,
body.fifth-theme .fifth-about-body {
    color: rgba(0,0,0,0.74);
    line-height: 1.75;
    font-size: 1rem;
    white-space: pre-line;
}

/* Services */
#previewPanel.fifth-theme .fifth-services,
body.fifth-theme .fifth-services {
    padding: 70px 18px;
    background:
        radial-gradient(900px 480px at 50% 0%, rgba(214,180,90,0.55), transparent 55%),
        #ffffff;
}

/* Team */
#previewPanel.fifth-theme .fifth-team,
body.fifth-theme .fifth-team {
    padding: 70px 18px;
    background: #ffffff;
}

#previewPanel.fifth-theme .fifth-team-grid,
body.fifth-theme .fifth-team-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

#previewPanel.fifth-theme .fifth-team-card,
body.fifth-theme .fifth-team-card {
    border: 1px solid rgba(0,0,0,0.10);
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 10px 26px rgba(0,0,0,0.08);
}

#previewPanel.fifth-theme .fifth-team-photo,
body.fifth-theme .fifth-team-photo {
    aspect-ratio: 4 / 3;
    background: #f5f5f5;
    position: relative;
}

#previewPanel.fifth-theme .fifth-team-photo img,
body.fifth-theme .fifth-team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

#previewPanel.fifth-theme .fifth-team-photo-fallback,
body.fifth-theme .fifth-team-photo-fallback {
    position: absolute;
    inset: 0;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 800;
    color: #111111;
}

#previewPanel.fifth-theme .fifth-team-meta,
body.fifth-theme .fifth-team-meta {
    padding: 14px;
}

#previewPanel.fifth-theme .fifth-team-name,
body.fifth-theme .fifth-team-name {
    font-family: "Playfair Display", serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #111111;
}

#previewPanel.fifth-theme .fifth-team-title,
body.fifth-theme .fifth-team-title {
    margin-top: 4px;
    color: rgba(0,0,0,0.62);
}

#previewPanel.fifth-theme .fifth-team-book,
body.fifth-theme .fifth-team-book {
    margin-top: 12px;
    width: 100%;
    padding: 10px 12px;
    border-radius: 4px;
    border: 1px solid rgba(214,180,90,0.75);
    background: linear-gradient(135deg, #d6b45a, #b8902f);
    color: #111111;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

#previewPanel.fifth-theme .fifth-team-social,
body.fifth-theme .fifth-team-social {
    margin-top: 12px;
    display: flex;
    gap: 8px;
}

#previewPanel.fifth-theme .fifth-team-social-link,
body.fifth-theme .fifth-team-social-link {
    width: 36px;
    height: 36px;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(214,180,90,0.45);
    color: #b8902f;
    text-decoration: none;
    background: #ffffff;
}

#previewPanel.fifth-theme .fifth-section-title,
body.fifth-theme .fifth-section-title {
    text-align: center;
    font-family: "Playfair Display", serif;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: clamp(2.0rem, 3.0vw, 2.8rem);
    color: #111111;
}

/* Services list layout */
#previewPanel.fifth-theme .fifth-cat-title,
body.fifth-theme .fifth-cat-title {
    text-align: center;
    font-family: "Playfair Display", serif;
    font-size: 2.2rem;
    font-weight: 700;
    margin-top: 42px;
    color: #111111;
}

#previewPanel.fifth-theme .fifth-cat-line,
body.fifth-theme .fifth-cat-line {
    width: 72px;
    height: 3px;
    background: #d6b45a;
    margin: 12px auto 0;
}

#previewPanel.fifth-theme .fifth-service-list,
body.fifth-theme .fifth-service-list {
    max-width: 720px;
    margin: 26px auto 0;
}

#previewPanel.fifth-theme .fifth-service-row,
body.fifth-theme .fifth-service-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px dashed rgba(0,0,0,0.16);
}

#previewPanel.fifth-theme .fifth-service-name,
body.fifth-theme .fifth-service-name {
    font-weight: 800;
    color: #111111;
}

#previewPanel.fifth-theme .fifth-service-price,
body.fifth-theme .fifth-service-price {
    font-weight: 900;
    color: #111111;
}

#previewPanel.fifth-theme .fifth-service-desc,
body.fifth-theme .fifth-service-desc {
    margin-top: 10px;
    color: rgba(0,0,0,0.66);
    line-height: 1.65;
    font-size: 0.95rem;
}

#previewPanel.fifth-theme .fifth-read-more,
body.fifth-theme .fifth-read-more {
    margin-top: 10px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #b8902f;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* Gallery */
#previewPanel.fifth-theme .fifth-gallery,
body.fifth-theme .fifth-gallery {
    padding: 70px 18px;
    background: #ffffff;
}

#previewPanel.fifth-theme .fifth-gallery-grid,
body.fifth-theme .fifth-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

#previewPanel.fifth-theme .fifth-gallery-item,
body.fifth-theme .fifth-gallery-item {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.10);
    aspect-ratio: 4 / 3;
    background: #f6f6f6;
}

#previewPanel.fifth-theme .fifth-gallery-item img,
body.fifth-theme .fifth-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Footer */
#previewPanel.fifth-theme .fifth-footer,
body.fifth-theme .fifth-footer {
    background: #0b0b0b;
    color: rgba(255,255,255,0.84);
    padding: 70px 18px 0;
}

#previewPanel.fifth-theme .fifth-footer-grid,
body.fifth-theme .fifth-footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
    gap: 26px;
    align-items: start;
}

#previewPanel.fifth-theme .fifth-footer-title,
body.fifth-theme .fifth-footer-title {
    color: #d6b45a;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

#previewPanel.fifth-theme .fifth-footer-text,
body.fifth-theme .fifth-footer-text {
    color: rgba(255,255,255,0.72);
    line-height: 1.7;
}

/* Keep footer body text readable on dark footer */
#previewPanel.fifth-theme #fifthFooterAbout,
body.fifth-theme #fifthFooterAbout {
    color: rgba(255,255,255,0.76) !important;
}

#previewPanel.fifth-theme #previewWorkingHours p,
body.fifth-theme #previewWorkingHours p {
    color: rgba(255,255,255,0.76) !important;
}

#previewPanel.fifth-theme #previewWorkingHours p strong,
body.fifth-theme #previewWorkingHours p strong {
    color: #d6b45a !important;
}

#previewPanel.fifth-theme .fifth-contact-item,
body.fifth-theme .fifth-contact-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin: 10px 0;
    color: rgba(255,255,255,0.76);
}

#previewPanel.fifth-theme .fifth-contact-item i,
body.fifth-theme .fifth-contact-item i {
    color: #d6b45a;
    margin-top: 2px;
}

#previewPanel.fifth-theme .fifth-social,
body.fifth-theme .fifth-social {
    margin-top: 14px;
    display: flex;
    gap: 12px;
}

#previewPanel.fifth-theme .fifth-social a,
body.fifth-theme .fifth-social a {
    width: 40px;
    height: 40px;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(214,180,90,0.45);
    color: #d6b45a;
    text-decoration: none;
    background: rgba(255,255,255,0.04);
}

/* Social icons markup from JS */
#previewPanel.fifth-theme .fifth-social-link,
body.fifth-theme .fifth-social-link {
    width: 40px;
    height: 40px;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(214,180,90,0.45);
    color: #d6b45a;
    text-decoration: none;
    background: rgba(255,255,255,0.04);
}

#previewPanel.fifth-theme .fifth-map,
body.fifth-theme .fifth-map {
    width: 100%;
    min-height: 220px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
}

#previewPanel.fifth-theme .fifth-location-select-wrap,
body.fifth-theme .fifth-location-select-wrap {
    margin-bottom: 12px;
}

#previewPanel.fifth-theme .fifth-location-select,
body.fifth-theme .fifth-location-select {
    width: 100%;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.18);
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.92);
    padding: 10px 12px;
    outline: none;
}

#previewPanel.fifth-theme .fifth-location-select option,
body.fifth-theme .fifth-location-select option {
    background: #ffffff;
    color: #111111;
}

#previewPanel.fifth-theme .fifth-location-select option:checked,
body.fifth-theme .fifth-location-select option:checked {
    background: #d6b45a;
    color: #111111;
}

#previewPanel.fifth-theme .fifth-footer-bottom,
body.fifth-theme .fifth-footer-bottom {
    margin-top: 50px;
    border-top: 1px solid rgba(255,255,255,0.10);
    padding: 16px 0;
    text-align: center;
    color: rgba(255,255,255,0.58);
}

#previewPanel.fifth-theme .fifth-footer-bottom a,
body.fifth-theme .fifth-footer-bottom a {
    color: inherit;
    text-decoration: none;
}

/* Floating booking button (mobile) */
#previewPanel.fifth-theme .fifth-book-float,
body.fifth-theme .fifth-book-float {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 90;
    padding: 12px 16px;
    border-radius: 3px;
    border: 1px solid rgba(214,180,90,0.75);
    background: linear-gradient(135deg, #d6b45a, #b8902f);
    color: #111111;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

@media (max-width: 900px) {
    #previewPanel.fifth-theme .fifth-brand-name,
    body.fifth-theme .fifth-brand-name {
        display: none;
    }

    #previewPanel.fifth-theme .fifth-about-grid,
    body.fifth-theme .fifth-about-grid {
        grid-template-columns: 1fr;
    }

    #previewPanel.fifth-theme .fifth-footer-grid,
    body.fifth-theme .fifth-footer-grid {
        grid-template-columns: 1fr;
    }

    #previewPanel.fifth-theme .fifth-gallery-grid,
    body.fifth-theme .fifth-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #previewPanel.fifth-theme .fifth-team-grid,
    body.fifth-theme .fifth-team-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    #previewPanel.fifth-theme .fifth-team-grid,
    body.fifth-theme .fifth-team-grid {
        grid-template-columns: 1fr;
    }
}

