/* Passionfood replica — minimal overrides (no Joomla runtime) */
/* floating mobile menu button */
.pf-mnav{position:fixed;top:14px;right:14px;z-index:1200;display:none;width:44px;height:44px;
  border:0;border-radius:8px;background:#e8622c;color:#fff;font-size:20px;line-height:44px;cursor:pointer;box-shadow:0 3px 10px rgba(0,0,0,.2)}
@media (max-width:991px){
  .pf-mnav{display:block}
  #sp-menu .sp-megamenu-parent.pf-open{display:flex!important;flex-direction:column;gap:.25rem;
    position:absolute;top:100%;left:0;right:0;background:#fff;padding:1rem 1.25rem;
    box-shadow:0 10px 24px rgba(0,0,0,.12);z-index:1100}
  #sp-menu .sp-megamenu-parent.pf-open>li>a{color:#333!important}
}
/* hide leftover Joomla offcanvas toggler (replaced by .pf-mnav) */
#offcanvas-toggler{display:none!important}

/* ---- booking system ---- */
.pf-book{max-width:760px;margin:0 auto;padding:130px 20px 70px}
.pf-book h1{font-size:2rem;margin:0 0 .4rem;color:#2d2d2d}
.pf-lead{color:#666;margin:0 0 1.6rem}
.pf-course-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1.2rem}
.pf-course-card{display:block;padding:1.6rem;border:1px solid #eee;border-radius:14px;text-decoration:none;color:inherit;
  box-shadow:0 4px 16px rgba(0,0,0,.05);transition:transform .15s,box-shadow .15s;background:#fff}
.pf-course-card:hover{transform:translateY(-3px);box-shadow:0 10px 26px rgba(0,0,0,.1)}
.pf-course-card h2{margin:0 0 .3rem;font-size:1.35rem;color:#e8622c}
.pf-price{font-weight:600;color:#2d2d2d;margin:.2rem 0}
.pf-time{color:#888;margin:.1rem 0 1rem;font-size:.95rem}
.pf-btn{display:inline-block;background:#e8622c;color:#fff;padding:.7rem 1.4rem;border:0;border-radius:8px;
  font-weight:600;text-decoration:none;cursor:pointer;font-size:1rem}
.pf-btn:hover{background:#d1541f}
.pf-btn-lg{padding:.9rem 1.8rem;font-size:1.05rem;width:100%}
.pf-back{display:inline-block;color:#888;text-decoration:none;margin-bottom:.6rem}
.pf-form{display:flex;flex-direction:column;gap:1rem;margin-top:1.4rem}
.pf-form label{display:flex;flex-direction:column;gap:.35rem;font-weight:600;color:#444}
.pf-form input,.pf-form select,.pf-form textarea{padding:.7rem .8rem;border:1px solid #ccc;border-radius:8px;font-size:1rem;font-weight:400}
.pf-form input:focus,.pf-form select:focus,.pf-form textarea:focus{outline:none;border-color:#e8622c;box-shadow:0 0 0 3px rgba(232,98,44,.15)}
.pf-err{color:#c0392b;font-weight:400;font-size:.85rem}
.pf-formerr{background:#fdecea;color:#c0392b;padding:.8rem 1rem;border-radius:8px;margin-bottom:1rem}
.pf-note{color:#888;font-size:.9rem;text-align:center;margin:.4rem 0 0}
.pf-book-ok h1{color:#2a9d4a}
.pf-book-card{background:#f8f8f8;border-radius:12px;padding:1.2rem 1.5rem;margin:1.4rem 0}
.pf-book-card>div{display:flex;justify-content:space-between;padding:.5rem 0;border-bottom:1px solid #eaeaea}
.pf-book-card>div:last-child{border-bottom:0}
.pf-book-card span{color:#888}
.pf-pending{color:#e8912c}

/* ---- injected booking form on the captured experience pages ---- */
.pf-exp-err{color:#c0392b;font-size:.82rem;font-weight:600;margin:-6px 0 6px}
.pf-exp-banner{background:#fdecea;color:#c0392b;padding:.55rem .7rem;border-radius:6px;margin:0 0 .8rem;font-size:.88rem;font-weight:600}
.sr-experience .form-control,.sr-experience .form-select{font-weight:400}

/* ---- gallery: faithful os-gallery replica (tabs + masonry + lightbox) ---- */
.os-gallery-tabs-main,[class*="os-gallery-tabs-main"]{display:none!important}   /* hide the original JS gallery */
.pf-gal{max-width:1180px;margin:0 auto;padding:0 40px 30px}
.pf-gtabs{display:flex;flex-wrap:wrap;gap:6px;justify-content:center;margin:0 0 16px}
.pf-gtab{background:#fff;border:1px solid #e3d6c6;color:#8a6d52;padding:.22rem .7rem;border-radius:20px;font-weight:600;font-size:.75rem;line-height:1.35;cursor:pointer;transition:.15s}
.pf-gtab:hover{border-color:#e8622c;color:#e8622c}
.pf-gtab.active{background:#e8622c;border-color:#e8622c;color:#fff}
.pf-gpanel{display:none}
.pf-gpanel.active{display:block}
/* equal-width column masonry (Pinterest-style): fixed number of equal-width
   columns, images scaled to column width, portrait/landscape interlaced with no
   vertical gaps → a tight, near-rectangular block. */
.pf-gmasonry{column-count:4;column-gap:8px}
.pf-gitem{display:block;margin:0 0 8px;break-inside:avoid;border-radius:6px;overflow:hidden;cursor:zoom-in;box-shadow:0 2px 8px rgba(0,0,0,.12);background:#f2e8dc}
.pf-gitem img{width:100%;height:auto;display:block;transition:transform .25s}
.pf-gitem:hover img{transform:scale(1.05)}
@media(max-width:900px){.pf-gmasonry{column-count:3}}
@media(max-width:600px){.pf-gmasonry{column-count:2;column-gap:5px}.pf-gitem{margin-bottom:5px}}
/* lightbox */
.pf-lb{position:fixed;inset:0;background:rgba(0,0,0,.9);z-index:3000;display:none;align-items:center;justify-content:center}
.pf-lb.open{display:flex}
.pf-lb img{max-width:92vw;max-height:88vh;box-shadow:0 12px 50px rgba(0,0,0,.6);border-radius:4px}
.pf-lb button{position:absolute;background:rgba(255,255,255,.12);color:#fff;border:0;cursor:pointer;line-height:1;width:52px;height:52px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:2rem;transition:.15s}
.pf-lb button:hover{background:rgba(255,255,255,.28)}
.pf-lb-close{top:20px;right:24px;font-size:2.4rem}
.pf-lb-prev{left:24px;top:50%;transform:translateY(-50%)}
.pf-lb-next{right:24px;top:50%;transform:translateY(-50%)}
@media(max-width:600px){.pf-lb-prev{left:8px}.pf-lb-next{right:8px}.pf-lb-close{right:12px;top:12px}}
/* fix broken window scroll (Helix set html/body height:100% -> off-canvas needs JS) */
html,body{height:auto!important;overflow-x:hidden!important;overflow-y:visible!important}

/* tighten the gap between header/menu and the first page content — a uniform
   upward pull on the main content (bigger on inner pages, gentle on home).
   The empty section top-padding absorbs it, so nothing visually overlaps. */
.pf-inner #sp-main-body{margin-top:-110px;position:relative;z-index:1}
.pf-home  #sp-main-body{margin-top:-35px}
/* keep the header/menu above the pulled-up content so it can't be covered */
#sp-header{position:relative;z-index:1000}
/* also trim the leading empty-space spacer some pages put above their title */
.pf-inner #sp-main-body .sppb-section:first-of-type .sppb-addon-wrapper:first-child .sppb-empty-space{height:10px!important}

/* Contact page: the dark striped section — on the old site the faint-stripe SVG
   only applied via a JS-added ".sppb-element-loaded" class (which we strip), so it
   showed a Cloudinary placeholder over the #3d3d3d gray. Force the stripe SVG back
   over the same dark gray so it matches the old site. */
#contact{background-image:url("/images/svg/section-background-stripes2.svg")!important}
/* Google-map embed fills the old 350px canvas exactly */
.sppb-addon-gmap-canvas{overflow:hidden}
.sppb-addon-gmap-canvas iframe{width:100%;height:350px;border:0;display:block}
