/* =============================================================
   tenant_public_renderer.css
   Styles for tenant_public_renderer.php
   Uses CSS vars already defined by tenant_public.php
   ============================================================= */
 
/* ── Shared layout ──────────────────────────────────────────── */
.tpr-wrap {
    width: 100%;
    max-width: var(--container-width, 1200px);
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}
 
.tpr-section {
    padding: clamp(4rem, 8vw, 6.5rem) 0;
}
.tpr-alt  { background: rgba(0,0,0,.35); }
.tpr-dark { background: rgba(0,0,0,.55); }
.tpr-spirit { background: linear-gradient(160deg, rgba(139,92,246,.06) 0%, rgba(0,0,0,.3) 100%); }
 
/* Light theme overrides */
body.tpr-light .tpr-alt   { background: rgba(0,0,0,.04); }
body.tpr-light .tpr-dark  { background: rgba(0,0,0,.06); }
body.tpr-light .tpr-spirit{ background: rgba(139,92,246,.05); }
 
/* ── Section header ─────────────────────────────────────────── */
.tpr-sec-hd {
    text-align: center;
    margin-bottom: clamp(2rem, 5vw, 3.5rem);
}
.tpr-sec-hd h2 {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    color: var(--primary-color, #FFD700);
    margin: .3rem 0 .75rem;
    line-height: 1.15;
}
.tpr-sec-hd p {
    color: var(--text-color);
    font-size: clamp(.95rem, 2.2vw, 1.1rem);
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.7;
    opacity: .88;
}
 
.tpr-ol {                               /* overline label */
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--primary-color, #FFD700);
    opacity: .75;
    margin-bottom: .3rem;
}
 
/* ── Buttons ────────────────────────────────────────────────── */
.tpr-btn {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .875rem 1.875rem;
    border-radius: 7px;
    font-weight: 700;
    font-size: .92rem;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
    min-height: 48px;
    white-space: nowrap;
    font-family: inherit;
}
.tpr-btn:hover { transform: translateY(-2px); }
 
.tpr-btn--gold {
    background: var(--button-primary, #FFD700);
    color: var(--button-text, #000);
    box-shadow: 0 4px 16px rgba(255,215,0,.32);
}
.tpr-btn--gold:hover { box-shadow: 0 8px 22px rgba(255,215,0,.5); }
 
.tpr-btn--glass {
    background: rgba(255,255,255,.1);
    color: #fff;
    border: 1.5px solid rgba(255,255,255,.28);
    backdrop-filter: blur(8px);
}
.tpr-btn--glass:hover { background: rgba(255,255,255,.18); }
 
.tpr-btn--outline {
    background: transparent;
    color: var(--primary-color, #FFD700);
    border: 2px solid var(--primary-color, #FFD700);
}
.tpr-btn--outline:hover {
    background: var(--primary-color, #FFD700);
    color: var(--background-color, #000);
}
 
.tpr-btn--inverse {
    background: var(--background-color, #000);
    color: var(--primary-color, #FFD700);
}
.tpr-btn--inverse:hover { opacity: .85; }
 
.tpr-btn--full { width: 100%; justify-content: center; }
 
.tpr-hctas { display: flex; gap: .875rem; flex-wrap: wrap; margin-top: 2rem; }
 
/* ── Split layout ───────────────────────────────────────────── */
.tpr-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}
@media (min-width: 768px) {
    .tpr-split               { grid-template-columns: 1fr 1fr; }
    .tpr-split--rev .tpr-split-t { order: 2; }
    .tpr-split--rev .tpr-split-m { order: 1; }
}
.tpr-split-t { display: flex; flex-direction: column; gap: .9rem; }
.tpr-split-t h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 800;
    color: var(--primary-color, #FFD700);
    margin: 0;
    line-height: 1.2;
}
.tpr-lead {
    font-size: clamp(1rem, 2.2vw, 1.15rem);
    color: var(--text-color);
    line-height: 1.7;
    opacity: .9;
    margin: 0;
}
.tpr-body {
    font-size: clamp(.9rem, 2vw, 1.05rem);
    color: var(--text-color);
    line-height: 1.8;
    opacity: .88;
    margin: 0;
}
.tpr-body--c { text-align: center; max-width: 700px; margin: 0 auto 1.5rem; }
 
/* Images inside split */
.tpr-split-m img {
    width: 100%; border-radius: 12px;
    object-fit: cover; display: block;
}
.tpr-split-ph {
    width: 100%; min-height: 260px;
    background: rgba(255,255,255,.04);
    border: 2px dashed rgba(255,255,255,.1);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
}
 
/* ── Checklist ──────────────────────────────────────────────── */
.tpr-check {
    list-style: none;
    padding: 0; margin: .5rem 0 0;
    display: flex; flex-direction: column; gap: .5rem;
}
.tpr-check li {
    display: flex; align-items: center; gap: .6rem;
    font-size: .9rem; color: var(--text-color); opacity: .88;
}
.tpr-check li::before {
    content: '✓';
    width: 20px; height: 20px;
    background: var(--primary-color, #FFD700);
    color: #000;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: .7rem; font-weight: 800;
    flex-shrink: 0;
}
 
/* ── Gallery (populated by JS) ──────────────────────────────── */
.tpr-gal {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: .875rem;
    margin-top: 1rem;
}
.tpr-gal img {
    width: 100%; height: 200px;
    object-fit: cover; border-radius: 8px;
    display: block;
    transition: transform .3s ease;
}
.tpr-gal img:hover { transform: scale(1.03); }
 
/* ── Hero scroll cue ────────────────────────────────────────── */
.tpr-scroll-hint {
    position: absolute; bottom: 1.75rem; left: 50%; transform: translateX(-50%);
    color: rgba(255,255,255,.45); font-size: .78rem;
    letter-spacing: .1em; z-index: 3;
    animation: tprBob 2s ease-in-out infinite;
}
@keyframes tprBob {
    0%,100% { transform: translateX(-50%) translateY(0); }
    50%      { transform: translateX(-50%) translateY(7px); }
}
 
/* ── Cover background wrapper ───────────────────────────────── */
/* Hero sections - position relative for absolute background */
.tpr-hotel-hero,
.tpr-church-hero,
.tpr-school-hero,
.tpr-biz-hero {
    position: relative;
    overflow: hidden;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

.tpr-cover-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

/* Content sits above background */
.tpr-hotel-hero-inner,
.tpr-church-hero-inner,
.tpr-school-hero-inner,
.tpr-biz-hero-inner,
.tpr-veil,
.tpr-biz-veil,
.tpr-church-veil {
    position: relative;
    z-index: 2;
}
 
/* ── Veil overlays ──────────────────────────────────────────── */
.tpr-veil,
.tpr-biz-veil {
    position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(150deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.25) 60%, rgba(0,0,0,.08) 100%);
}
.tpr-church-veil {
    position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(180deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,.78) 100%);
}
 
/* ── Contact grid ───────────────────────────────────────────── */
.tpr-contact-g {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(2rem, 5vw, 4rem);
}
@media (min-width: 768px) { .tpr-contact-g { grid-template-columns: 1fr 1fr; } }
 
.tpr-contact-info { display: flex; flex-direction: column; gap: 1rem; }
 
.tpr-cinfo-row {
    display: flex; gap: 1rem; align-items: center;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 9px;
    padding: 1rem 1.25rem;
    font-size: .95rem;
    color: var(--text-color);
}
body.tpr-light .tpr-cinfo-row {
    background: rgba(0,0,0,.04);
    border-color: rgba(0,0,0,.1);
}
.tpr-cinfo-row span:first-child { font-size: 1.35rem; flex-shrink: 0; }
 
/* ── Form ───────────────────────────────────────────────────── */
.tpr-form { display: flex; flex-direction: column; gap: .875rem; }
.tpr-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: .875rem; }
@media (max-width: 480px) { .tpr-row2 { grid-template-columns: 1fr; } }
 
.tpr-field {
    display: flex; flex-direction: column; gap: .35rem;
    font-family: inherit;
}
.tpr-field span {
    font-size: .78rem; font-weight: 700;
    color: var(--primary-color, #FFD700);
    letter-spacing: .03em;
}
.tpr-field input,
.tpr-field select,
.tpr-field textarea {
    padding: .78rem 1rem;
    background: rgba(255,255,255,.07);
    border: 1.5px solid rgba(255,255,255,.14);
    border-radius: 7px;
    color: var(--text-color, #fff);
    font-family: inherit;
    font-size: .92rem;
    transition: border-color .2s, background .2s;
}
.tpr-field input:focus,
.tpr-field select:focus,
.tpr-field textarea:focus {
    outline: none;
    border-color: var(--primary-color, #FFD700);
    background: rgba(255,255,255,.1);
}
.tpr-field textarea { resize: vertical; min-height: 110px; }
.tpr-field select option { background: #1a1a1a; color: #fff; }
 
body.tpr-light .tpr-field input,
body.tpr-light .tpr-field select,
body.tpr-light .tpr-field textarea {
    background: rgba(0,0,0,.05);
    border-color: rgba(0,0,0,.15);
    color: #1f2937;
}
 
.tpr-alert {
    padding: .875rem 1rem;
    border-radius: 7px;
    font-size: .88rem; font-weight: 500;
}
.tpr-alert.ok  { background: rgba(34,197,94,.1); border: 1px solid rgba(34,197,94,.3); color: #22c55e; }
.tpr-alert.err { background: rgba(239,68,68,.1);  border: 1px solid rgba(239,68,68,.3);  color: #ef4444; }
 
/* ── Generic content block ──────────────────────────────────── */
.tpr-generic { margin-bottom: 3rem; }
.tpr-generic-h2 {
    font-size: clamp(1.4rem, 3vw, 2rem);
    color: var(--primary-color, #FFD700);
    margin: 0 0 .75rem;
}
 
.tpr-empty {
    text-align: center; padding: 3.5rem 2rem;
    color: rgba(255,255,255,.45);
}
.tpr-empty span { font-size: 3rem; display: block; margin-bottom: .75rem; }
body.tpr-light .tpr-empty { color: rgba(0,0,0,.4); }
 
.tpr-sec-foot { text-align: center; margin-top: 2.5rem; }
 
/* ═══════════════════════════════════════════════
   HOTEL
═══════════════════════════════════════════════ */
.tpr-hotel-hero {
    min-height: 95vh;
    position: relative;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}
.tpr-hotel-hero-inner {
    position: relative; z-index: 2;
    padding: 0 clamp(1.5rem,5vw,5rem) clamp(4rem,8vw,6.5rem);
    max-width: 760px; width: 100%;
}
.tpr-eyebrow {
    display: inline-block;
    background: var(--button-primary, #FFD700);
    color: #000;
    padding: .28rem .85rem;
    border-radius: 100px;
    font-size: .72rem; font-weight: 800;
    letter-spacing: .1em; text-transform: uppercase;
    margin-bottom: 1.25rem;
}
.tpr-hotel-hero-inner h1 {
    font-size: clamp(2.4rem, 6.5vw, 4.8rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.04;
    margin: 0 0 1rem;
    text-shadow: 0 2px 24px rgba(0,0,0,.45);
}
.tpr-tagline {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: rgba(255,255,255,.85);
    line-height: 1.65;
    margin: 0; max-width: 520px;
}
 
/* Rooms */
.tpr-rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(285px, 1fr));
    gap: 1.75rem;
}
.tpr-room {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 13px; overflow: hidden;
    transition: transform .3s, border-color .3s, box-shadow .3s;
}
.tpr-room:hover {
    transform: translateY(-7px);
    border-color: var(--primary-color, #FFD700);
    box-shadow: 0 20px 40px rgba(0,0,0,.3);
}
body.tpr-light .tpr-room { background: #fff; border-color: rgba(0,0,0,.09); }
 
.tpr-room-media { position: relative; }
.tpr-room-media img { width: 100%; height: 210px; object-fit: cover; display: block; }
.tpr-room-ph {
    height: 210px; background: rgba(255,255,255,.04);
    display: flex; align-items: center; justify-content: center; font-size: 3rem;
}
.tpr-avail-tag {
    position: absolute; top: .75rem; right: .75rem;
    background: rgba(34,197,94,.92); color: #fff;
    padding: .2rem .65rem; border-radius: 100px;
    font-size: .7rem; font-weight: 700;
}
.tpr-room-body { padding: 1.3rem; }
.tpr-room-body h3 {
    font-size: 1.1rem; font-weight: 800;
    color: var(--primary-color, #FFD700);
    margin: 0 0 .28rem;
}
.tpr-room-type { font-size: .76rem; color: rgba(255,255,255,.5); margin: 0 0 .6rem; }
body.tpr-light .tpr-room-type { color: rgba(0,0,0,.45); }
.tpr-room-desc { font-size: .85rem; color: rgba(255,255,255,.7); line-height: 1.5; margin: 0 0 1.1rem; }
body.tpr-light .tpr-room-desc { color: rgba(0,0,0,.6); }
.tpr-room-foot { display: flex; justify-content: space-between; align-items: center; gap: .75rem; }
.tpr-price { display: flex; align-items: baseline; gap: .25rem; }
.tpr-price strong { font-size: 1.3rem; font-weight: 900; color: var(--primary-color, #FFD700); }
.tpr-price span   { font-size: .75rem; color: rgba(255,255,255,.45); }
body.tpr-light .tpr-price span { color: rgba(0,0,0,.4); }
 
/* ═══════════════════════════════════════════════
   CHURCH
═══════════════════════════════════════════════ */
.tpr-church-hero {
    min-height: 92vh;
    position: relative;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    overflow: hidden; text-align: center;
}
.tpr-church-hero-inner {
    position: relative; z-index: 2;
    padding: clamp(2rem,5vw,4rem) clamp(1.5rem,5vw,3rem);
    max-width: 700px;
}
.tpr-cross {
    font-size: 3.5rem;
    color: var(--primary-color, #FFD700);
    display: block; margin-bottom: 1rem;
    filter: drop-shadow(0 0 14px rgba(255,215,0,.35));
}
.tpr-church-hero-inner h1 {
    font-size: clamp(2.2rem, 5.5vw, 4.2rem);
    font-weight: 900; color: #fff;
    margin: 0 0 1rem; line-height: 1.1;
    text-shadow: 0 2px 18px rgba(0,0,0,.55);
}
.tpr-church-hero-inner .tpr-tagline { color: rgba(255,255,255,.85); }
 
/* Service strip */
.tpr-service-strip {
    position: relative; z-index: 2;
    display: flex; gap: 0; flex-wrap: wrap;
    justify-content: center; align-items: center;
    width: 100%;
    background: rgba(0,0,0,.55);
    backdrop-filter: blur(14px);
    border-top: 1px solid rgba(255,215,0,.18);
    padding: 1.1rem clamp(1rem,4vw,3rem);
}
.tpr-svc {
    font-size: clamp(.8rem, 2vw, .92rem);
    color: rgba(255,255,255,.82);
    padding: .35rem clamp(.75rem,2vw,1.5rem);
}
.tpr-svc strong { color: #fff; }
.tpr-svc-sep {
    width: 1px; height: 20px;
    background: rgba(255,255,255,.2);
}
@media (max-width: 480px) { .tpr-svc-sep { display: none; } }
 
/* Programs */
.tpr-progs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 1.5rem;
}
.tpr-prog {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 13px; overflow: hidden;
    border-top: 3px solid var(--pc, #ffd700);
    transition: transform .3s, border-color .3s;
}
.tpr-prog:hover { transform: translateY(-5px); }
body.tpr-light .tpr-prog { background: #fff; border-color: rgba(0,0,0,.08); }
 
.tpr-prog-img  { width: 100%; height: 180px; object-fit: cover; display: block; }
.tpr-prog-icon { height: 110px; display: flex; align-items: center; justify-content: center; font-size: 3rem; }
.tpr-prog-body { padding: 1.2rem; }
.tpr-prog-badge {
    display: inline-block;
    padding: .2rem .65rem;
    border-radius: 100px;
    font-size: .7rem; font-weight: 800;
    text-transform: uppercase; letter-spacing: .07em;
    margin-bottom: .6rem;
}
.tpr-prog-body h3 { font-size: 1rem; font-weight: 700; color: #fff; margin: 0 0 .5rem; line-height: 1.3; }
body.tpr-light .tpr-prog-body h3 { color: #111; }
.tpr-prog-meta { font-size: .79rem; color: rgba(255,255,255,.5); margin: 0 0 .3rem; }
body.tpr-light .tpr-prog-meta { color: rgba(0,0,0,.45); }
.tpr-prog-desc { font-size: .84rem; color: rgba(255,255,255,.7); line-height: 1.55; margin: .5rem 0 0; }
body.tpr-light .tpr-prog-desc { color: rgba(0,0,0,.6); }
 
/* Message section */
.tpr-church-msg-g {
    display: grid; grid-template-columns: 1fr;
    gap: clamp(2rem,5vw,4rem);
}
@media (min-width: 768px) { .tpr-church-msg-g { grid-template-columns: 1fr 1fr; } }
 
.tpr-msg-types { display: flex; flex-direction: column; gap: 1rem; }
.tpr-msg-type {
    display: flex; gap: .9rem; align-items: flex-start;
    padding: 1rem 1.1rem;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 9px;
}
body.tpr-light .tpr-msg-type { background: rgba(0,0,0,.03); border-color: rgba(0,0,0,.08); }
.tpr-msg-type span { font-size: 1.6rem; flex-shrink: 0; }
.tpr-msg-type strong { display: block; font-size: .88rem; color: var(--primary-color,#FFD700); margin-bottom: .2rem; }
.tpr-msg-type p { font-size: .78rem; color: rgba(255,255,255,.5); margin: 0; line-height: 1.4; }
body.tpr-light .tpr-msg-type p { color: rgba(0,0,0,.45); }
 
.tpr-anon-label {
    display: flex; align-items: center; gap: .6rem;
    padding: .75rem 1rem;
    background: rgba(139,92,246,.08);
    border: 1px solid rgba(139,92,246,.22);
    border-radius: 7px;
    font-size: .88rem; color: var(--text-color);
    cursor: pointer;
}
 
/* ═══════════════════════════════════════════════
   SCHOOL
═══════════════════════════════════════════════ */
.tpr-school-hero {
    min-height: 90vh;
    position: relative;
    display: flex; flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
}
.tpr-school-hero-inner {
    position: relative; z-index: 2;
    padding: 0 clamp(1.5rem,5vw,5rem) 0;
    max-width: 720px;
    padding-bottom: 0;
    margin-bottom: 0;
}
.tpr-sch-badge {
    display: inline-block;
    background: rgba(255,215,0,.14);
    border: 1px solid rgba(255,215,0,.38);
    color: var(--primary-color, #FFD700);
    padding: .3rem .9rem;
    border-radius: 100px;
    font-size: .72rem; font-weight: 800;
    margin-bottom: 1.25rem; letter-spacing: .05em;
}
.tpr-school-hero-inner h1 {
    font-size: clamp(2.2rem, 5.5vw, 4.2rem);
    font-weight: 900; color: #fff;
    margin: 0 0 1rem; line-height: 1.1;
    text-shadow: 0 2px 18px rgba(0,0,0,.5);
}
.tpr-school-hero-inner .tpr-tagline { color: rgba(255,255,255,.85); }
 
/* Stats bar */
.tpr-sch-stat-bar {
    position: relative; z-index: 2;
    display: grid; grid-template-columns: repeat(4, 1fr);
    background: rgba(0,0,0,.62);
    backdrop-filter: blur(14px);
    border-top: 1px solid rgba(255,215,0,.16);
    margin-top: 3rem;
}
@media (max-width: 600px) { .tpr-sch-stat-bar { grid-template-columns: repeat(2,1fr); } }
.tpr-sch-stat {
    padding: 1.25rem 1rem; text-align: center;
    border-right: 1px solid rgba(255,255,255,.07);
}
.tpr-sch-stat:last-child { border-right: none; }
.tpr-sch-stat strong { display: block; font-size: 1.5rem; font-weight: 900; color: var(--primary-color,#FFD700); }
.tpr-sch-stat span   { font-size: .76rem; color: rgba(255,255,255,.58); }
 
/* CTA band */
.tpr-cta-band {
    background: var(--primary-color, #FFD700);
    padding: clamp(3rem,6vw,5rem) 0;
}
.tpr-cta-inner {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    text-align: center;
}
@media (min-width: 640px) {
    .tpr-cta-inner { flex-direction: row; justify-content: space-between; text-align: left; }
}
.tpr-cta-band h2 { font-size: clamp(1.5rem,3.5vw,2.2rem); color: #000; font-weight: 900; margin: 0 0 .4rem; }
.tpr-cta-band p  { color: rgba(0,0,0,.7); margin: 0; font-size: 1rem; }
 
/* ═══════════════════════════════════════════════
   BUSINESS
═══════════════════════════════════════════════ */
.tpr-biz-hero {
    min-height: 88vh;
    position: relative;
    display: flex; align-items: center;
    overflow: hidden;
}
.tpr-biz-hero-inner {
    position: relative; z-index: 2;
    padding: clamp(2rem,5vw,4rem) clamp(1.5rem,5vw,5rem);
    max-width: 680px;
}
.tpr-biz-hero-inner h1 {
    font-size: clamp(2.2rem, 5.5vw, 4rem);
    font-weight: 900; color: #fff;
    margin: .5rem 0 1rem; line-height: 1.1;
    text-shadow: 0 2px 18px rgba(0,0,0,.45);
}
.tpr-proof {
    display: inline-flex; align-items: center; gap: .5rem;
    margin-top: 1.25rem;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 100px;
    padding: .4rem 1rem;
    font-size: .82rem; color: rgba(255,255,255,.85);
    backdrop-filter: blur(6px);
}
 
/* Action bar */
.tpr-biz-bar {
    display: flex; gap: .65rem; flex-wrap: wrap;
    padding: .9rem clamp(1.25rem,4vw,2.5rem);
    background: rgba(0,0,0,.35);
    border-bottom: 1px solid rgba(255,255,255,.07);
    backdrop-filter: blur(10px);
}
body.tpr-light .tpr-biz-bar { background: rgba(0,0,0,.04); border-color: rgba(0,0,0,.09); }
.tpr-chip {
    display: inline-flex; align-items: center; gap: .35rem;
    padding: .5rem 1.1rem;
    border-radius: 100px;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.13);
    color: var(--text-color,#fff);
    font-size: .82rem; font-weight: 600;
    text-decoration: none;
    transition: all .2s;
}
.tpr-chip:hover {
    background: rgba(255,215,0,.12);
    border-color: rgba(255,215,0,.35);
    color: var(--primary-color,#FFD700);
}
.tpr-chip--wa { border-color: rgba(37,211,102,.3); }
.tpr-chip--wa:hover { background: rgba(37,211,102,.12); border-color: rgba(37,211,102,.55); color: #25d366; }
body.tpr-light .tpr-chip { background: rgba(0,0,0,.05); border-color: rgba(0,0,0,.12); color: #333; }
 
/* Products */
.tpr-prod-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.5rem;
}
.tpr-prod {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 12px; overflow: hidden;
    transition: transform .3s, border-color .3s;
}
.tpr-prod:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color,#FFD700);
}
body.tpr-light .tpr-prod { background: #fff; border-color: rgba(0,0,0,.08); }
.tpr-prod img { width: 100%; height: 180px; object-fit: cover; display: block; }
.tpr-prod-ph { height: 180px; display: flex; align-items: center; justify-content: center; font-size: 3rem; background: rgba(255,255,255,.03); }
.tpr-prod-body { padding: 1.1rem; }
.tpr-prod-body h3 { font-size: .95rem; font-weight: 800; color: #fff; margin: 0 0 .35rem; line-height: 1.35; }
body.tpr-light .tpr-prod-body h3 { color: #111; }
.tpr-prod-price { font-size: 1.15rem; font-weight: 900; color: var(--primary-color,#FFD700); margin-bottom: .4rem; }
.tpr-prod-body p { font-size: .8rem; color: rgba(255,255,255,.62); margin: 0; line-height: 1.5; }
body.tpr-light .tpr-prod-body p { color: rgba(0,0,0,.55); }
 
/* WhatsApp float */
.tpr-wa-float {
    position: fixed; bottom: 24px; right: 24px;
    width: 56px; height: 56px;
    background: #25d366;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem;
    text-decoration: none; z-index: 999;
    box-shadow: 0 4px 20px rgba(37,211,102,.5);
    animation: tprPulse 2.5s ease-in-out infinite;
    transition: transform .2s;
}
.tpr-wa-float:hover { transform: scale(1.1); }
@keyframes tprPulse {
    0%,100% { box-shadow: 0 4px 20px rgba(37,211,102,.5); }
    50%      { box-shadow: 0 4px 30px rgba(37,211,102,.8); }
}
 

/* ── Hero Pattern Overlay (when no image is uploaded) ──────────── */
.tpr-hero-pattern {
    position: absolute; inset: 0; z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(255,215,0,.18) 0%, transparent 65%),
        radial-gradient(ellipse at 70% 80%, rgba(255,215,0,.12) 0%, transparent 60%),
        radial-gradient(ellipse at 50% 50%, rgba(255,255,255,.06) 0%, transparent 70%),
        radial-gradient(ellipse at 80% 30%, rgba(255,180,0,.1) 0%, transparent 50%);
}
/* When an actual image is loaded via JS, hide the pattern so the image shows */
.tpr-cover-bg[style*="background-image"] ~ .tpr-hero-pattern { display: none; }

/* ── Vibrant section backgrounds (no more dull grey) ──────────── */
.tpr-section {
    position: relative;
}
/* Subtle top border glow on every section */
.tpr-section::before {
    content: '';
    position: absolute; top: 0; left: 10%; right: 10%; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,215,0,.15), transparent);
    z-index: 0; pointer-events: none;
}
/* Alternate sections get a warm gradient instead of flat grey */
.tpr-alt {
    background: linear-gradient(180deg, rgba(255,215,0,.03) 0%, rgba(0,0,0,.2) 50%, rgba(255,215,0,.02) 100%);
    border-top: 1px solid rgba(255,215,0,.06);
    border-bottom: 1px solid rgba(255,215,0,.06);
}
.tpr-dark {
    background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(255,215,0,.04) 50%, rgba(0,0,0,.45) 100%);
    border-top: 1px solid rgba(255,215,0,.08);
    border-bottom: 1px solid rgba(255,215,0,.08);
}
.tpr-spirit {
    background: linear-gradient(160deg, rgba(139,92,246,.12) 0%, rgba(0,0,0,.15) 40%, rgba(255,215,0,.04) 100%);
}

/* Gold shimmer accents on section headers */
.tpr-sec-hd::after {
    content: '';
    display: block;
    width: 60px; height: 3px;
    margin: 1rem auto 0;
    background: linear-gradient(90deg, transparent, var(--primary-color, #FFD700), transparent);
    border-radius: 2px;
}

/* Light theme overrides - keep them warm too */
body.tpr-light .tpr-alt {
    background: linear-gradient(180deg, rgba(255,215,0,.04) 0%, rgba(0,0,0,.02) 50%, rgba(255,215,0,.03) 100%);
    border-color: rgba(255,215,0,.12);
}
body.tpr-light .tpr-dark {
    background: linear-gradient(180deg, rgba(0,0,0,.04) 0%, rgba(255,215,0,.05) 50%, rgba(0,0,0,.04) 100%);
    border-color: rgba(255,215,0,.15);
}
body.tpr-light .tpr-spirit {
    background: linear-gradient(160deg, rgba(139,92,246,.08) 0%, rgba(0,0,0,.02) 40%, rgba(255,215,0,.05) 100%);
}

/* Card hover glow - adds life to product/room/program cards */
.tpr-room:hover,
.tpr-prog:hover,
.tpr-prod:hover {
    box-shadow: 0 12px 32px rgba(0,0,0,.25), 0 0 0 1px var(--primary-color, #FFD700) inset;
}
body.tpr-light .tpr-room:hover,
body.tpr-light .tpr-prog:hover,
body.tpr-light .tpr-prod:hover {
    box-shadow: 0 12px 32px rgba(0,0,0,.1), 0 0 0 1px var(--primary-color, #FFD700) inset;
}

/* Hero section: when no image, add a subtle animated shimmer */
@keyframes tprShimmer {
    0%   { opacity: .4; }
    50%  { opacity: .7; }
    100% { opacity: .4; }
}
 .tpr-hero-pattern {
    animation: tprShimmer 6s ease-in-out infinite;
}

/* Gold dot decoration scattered subtly */
.tpr-hero-pattern::before {
    content: '';
    position: absolute;
    top: 15%; left: 8%;
    width: 4px; height: 4px;
    background: rgba(255,215,0,.4);
    border-radius: 50%;
    box-shadow:
        80px 40px 0 rgba(255,215,0,.25),
        200px 120px 0 rgba(255,215,0,.15),
        340px 60px 0 rgba(255,215,0,.2),
        120px 280px 0 rgba(255,215,0,.12),
        300px 240px 0 rgba(255,215,0,.18),
        450px 300px 0 rgba(255,215,0,.1);
}
/* ── Reduced motion ─────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    .tpr-btn, .tpr-room, .tpr-prog, .tpr-prod, .tpr-wa-float,
    .tpr-scroll-hint, .tpr-gal img { transition: none; animation: none; }
}
 
/* ── Mobile nav gap (avoid hidden content under fixed nav) ─── */
@media (max-width: 767px) {
    .tpr-hotel-hero-inner,
    .tpr-biz-hero-inner,
    .tpr-school-hero-inner,
    .tpr-church-hero-inner { padding-left: 1.25rem; padding-right: 1.25rem; }
    .tpr-biz-bar { padding: .75rem 1rem; }
}
/* ── Hero Fallback Background (when no image uploaded) ──────── */
.tpr-hero-fallback {
    position: absolute; inset: 0; z-index: 0;
    pointer-events: none;
    overflow: hidden;
    /* Deep warm gradient base */
    background: linear-gradient(160deg, 
        #1a1a2e 0%, 
        #16213e 25%, 
        #0f0f1a 50%, 
        #1a1a1a 75%, 
        #0d0d0d 100%
    );
}

/* Floating gradient orbs */
.tpr-hero-fallback::before {
    content: '';
    position: absolute;
    width: 600px; height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,215,0,.12) 0%, transparent 70%);
    top: -200px; left: -100px;
    animation: tprOrbFloat1 12s ease-in-out infinite;
}

.tpr-hero-fallback::after {
    content: '';
    position: absolute;
    width: 500px; height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,180,50,.08) 0%, transparent 70%);
    bottom: -150px; right: -80px;
    animation: tprOrbFloat2 15s ease-in-out infinite;
}

/* Additional gold accent bubble */
.tpr-hero-fallback .tpr-fallback-bubble,
.tpr-hero-fallback-bubble {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

/* Inject bubbles via JS or use pseudo on parent */
.tpr-biz-hero .tpr-hero-fallback::before,
.tpr-hotel-hero .tpr-hero-fallback::before {
    content: '';
    position: absolute;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,215,0,.15) 0%, transparent 70%);
    top: 30%; left: 60%;
    animation: tprOrbFloat3 10s ease-in-out infinite;
}

/* Hide fallback when real image is loaded */
.tpr-cover-bg[style*="background-image"] ~ .tpr-hero-fallback,
.tpr-cover-bg[style*="background-image"] ~ .tpr-hero-pattern {
    opacity: 0;
    transition: opacity .5s ease;
}

/* Subtle grain texture overlay */
.tpr-hero-fallback-grain {
    position: absolute; inset: 0; z-index: 0;
    pointer-events: none;
    opacity: .04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 200px 200px;
}

/* Orb animations */
@keyframes tprOrbFloat1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%  { transform: translate(60px, -40px) scale(1.15); }
    66%  { transform: translate(-20px, 30px) scale(.92); }
}

@keyframes tprOrbFloat2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25%  { transform: translate(-50px, -30px) scale(1.1); }
    50%  { transform: translate(30px, 20px) scale(.88); }
    75%  { transform: translate(-15px, -50px) scale(1.05); }
}

@keyframes tprOrbFloat3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50%  { transform: translate(-80px, -60px) scale(1.2); }
}

/* Warm glowing dots scattered across hero */
.tpr-hero-fallback-dots {
    position: absolute; inset: 0; z-index: 0;
    pointer-events: none;
}

/* Force global background to show instantly when present */
.tpr-hotel-hero[style*="background-image"],
.tpr-church-hero[style*="background-image"],
.tpr-school-hero[style*="background-image"],
.tpr-biz-hero[style*="background-image"] {
    background-size: cover !important;
    background-position: center !important;
}

/* Hide pattern when background exists */
.tpr-hotel-hero[style*="background-image"] .tpr-hero-pattern,
.tpr-church-hero[style*="background-image"] .tpr-hero-pattern,
.tpr-school-hero[style*="background-image"] .tpr-hero-pattern,
.tpr-biz-hero[style*="background-image"] .tpr-hero-pattern {
    display: none !important;
}