/* ==========================================================================
   Pearl Executive Tours — Enhancements
   Floating WhatsApp · Cookie Consent · Social icons · Testimonials · Gallery
   ========================================================================== */

/* ---- Tour page logo watermark -------------------------------------- */
/* Replicates the site's pearl-surface gradient at 93% opacity over the
   tiled logo icon, so sections with their own backgrounds (section-sand)
   stay unaffected while plain white sections show the subtle watermark. */
.tour-main{
  background-image:
    linear-gradient(120deg,rgba(232,220,198,.90) 0%,rgba(247,239,223,.90) 32%,rgba(238,227,204,.90) 64%,rgba(233,219,194,.90) 100%),
    url('../img/pearl-logo-icon.webp');
  background-size:auto,260px;
  background-repeat:no-repeat,repeat;
}
/* Tour page — stronger, blacker body text throughout */
.tour-main p,
.tour-main li,
.tour-main dt,
.tour-main dd,
.tour-main .trip-subtitle,
.tour-main .trip-meta li,
.tour-main .package-category{
  color:#0A1F24;
  font-weight:500;
}
/* Preserve gold accents */
.tour-main .package-inclusions li::before{color:#705527}
.tour-main .traveller-list li::marker{color:#C7A46A}
.tour-main .eyebrow{color:#8E6F3E !important}

/* ---- Floating WhatsApp button --------------------------------------- */
.wa-float{position:fixed;bottom:28px;right:28px;z-index:9000;display:flex;align-items:center;gap:10px;background:#25D366;color:#fff;border-radius:50px;padding:13px 20px 13px 15px;text-decoration:none;font-size:.875rem;font-weight:600;letter-spacing:.01em;box-shadow:0 4px 24px rgba(37,211,102,.4);transition:transform .3s ease,box-shadow .3s ease}
.wa-float:hover{color:#fff;transform:translateY(-3px);box-shadow:0 8px 32px rgba(37,211,102,.55)}
.wa-float svg{width:22px;height:22px;flex-shrink:0}
@media(max-width:600px){.wa-float span{display:none}.wa-float{padding:14px;border-radius:50%}}

/* ---- Cookie consent banner ----------------------------------------- */
.cookie-banner{position:fixed;bottom:0;left:0;right:0;z-index:8900;background:#0A1F24;border-top:1px solid rgba(199,164,106,.25);padding:16px 24px;transform:translateY(100%);transition:transform .4s ease}
.cookie-banner.visible{transform:translateY(0)}
.cookie-top{display:flex;align-items:center;gap:20px;flex-wrap:wrap}
.cookie-top p{flex:1;margin:0;color:rgba(247,240,228,.8);font-size:.85rem;line-height:1.55;min-width:200px}
.cookie-top a{color:rgba(199,164,106,.9);text-decoration:underline}
.cookie-actions{display:flex;gap:10px;flex-shrink:0}
.cookie-accept,.cookie-manage{padding:8px 18px;border-radius:4px;font-size:.82rem;font-weight:600;cursor:pointer;border:none;transition:opacity .2s;white-space:nowrap;font-family:inherit}
.cookie-accept{background:#C7A46A;color:#0A1F24}
.cookie-manage{background:transparent;color:rgba(247,240,228,.7);border:1px solid rgba(247,240,228,.25)}
.cookie-accept:hover,.cookie-manage:hover{opacity:.82}
/* Preferences panel */
.cookie-prefs{display:none;padding-top:14px;margin-top:14px;border-top:1px solid rgba(199,164,106,.15)}
.cookie-prefs.open{display:block}
.cookie-pref-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 0;border-bottom:1px solid rgba(255,255,255,.05)}
.cookie-pref-row:last-of-type{border-bottom:none}
.cookie-pref-label strong{display:block;color:rgba(247,240,228,.9);font-size:.85rem;font-weight:600}
.cookie-pref-label span{color:rgba(247,240,228,.45);font-size:.78rem}
.cookie-always-on{color:rgba(199,164,106,.75);font-size:.78rem;font-weight:600;white-space:nowrap;flex-shrink:0}
.pref-toggle{position:relative;width:40px;height:22px;flex-shrink:0;display:inline-block}
.pref-toggle input{opacity:0;width:0;height:0;position:absolute}
.pref-slider{position:absolute;inset:0;background:rgba(255,255,255,.15);border-radius:22px;cursor:pointer;transition:background .25s}
.pref-toggle input:checked+.pref-slider{background:#C7A46A}
.pref-slider::before{content:'';position:absolute;width:16px;height:16px;left:3px;top:3px;background:#fff;border-radius:50%;transition:transform .25s}
.pref-toggle input:checked+.pref-slider::before{transform:translateX(18px)}
.cookie-save-row{display:flex;justify-content:flex-end;padding-top:14px}
.cookie-save{background:#C7A46A;color:#0A1F24;padding:9px 22px;border:none;border-radius:4px;font-size:.82rem;font-weight:700;cursor:pointer;font-family:inherit;transition:opacity .2s}
.cookie-save:hover{opacity:.85}
/* nudge floating button above banner when it is visible */
body:has(.cookie-banner.visible) .wa-float{bottom:calc(28px + var(--banner-h, 60px))}

/* ---- Social icons in footer ---------------------------------------- */
.footer-social{display:flex;gap:12px;margin-top:12px}
.footer-social a{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;border:1px solid rgba(199,164,106,.3);color:rgba(247,240,228,.6);transition:border-color .3s,color .3s;text-decoration:none;flex-shrink:0}
.footer-social a:hover{border-color:#C7A46A;color:#C7A46A}
.footer-social svg{width:16px;height:16px}

/* ---- Testimonials -------------------------------------------------- */
.testimonials-section{background:#0A1F24;padding:80px 0}
.testimonials-section .editorial-heading{display:grid;grid-template-columns:1fr;gap:0;margin-bottom:48px}
.testimonials-section .editorial-heading h2{color:#F7F0E4}
.testimonials-section .editorial-heading .eyebrow{color:rgba(199,164,106,.9)}
.testimonials-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
@media(max-width:900px){.testimonials-grid{grid-template-columns:1fr 1fr}}
@media(max-width:580px){.testimonials-grid{grid-template-columns:1fr}}
.testimonial-card{background:rgba(255,255,255,.04);border:1px solid rgba(199,164,106,.15);border-radius:8px;padding:28px 28px 24px}
.testimonial-stars{color:#C7A46A;font-size:.8rem;letter-spacing:3px;margin-bottom:14px}
.testimonial-quote{color:rgba(247,240,228,.85);font-size:.975rem;line-height:1.72;font-style:italic;margin:0 0 20px}
.testimonial-author{color:rgba(199,164,106,.9);font-size:.8rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;margin:0 0 2px}
.testimonial-country{color:rgba(247,240,228,.4);font-size:.78rem;margin:0}

/* ---- Photo gallery ------------------------------------------------- */
.gallery-section{padding:80px 0}
.gallery-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:48px}
.g-item{overflow:hidden;border-radius:6px;position:relative}
.g-item:nth-child(1){grid-column:span 2;aspect-ratio:16/9}
.g-item:nth-child(2){aspect-ratio:4/5}
.g-item:nth-child(3){aspect-ratio:4/5}
.g-item:nth-child(4){grid-column:span 2;aspect-ratio:16/9}
.g-item img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .6s ease}
.g-item:hover img{transform:scale(1.04)}
@media(max-width:680px){
  .gallery-grid{grid-template-columns:1fr 1fr}
  .g-item:nth-child(1),.g-item:nth-child(4){grid-column:span 2;aspect-ratio:16/9}
  .g-item:nth-child(2),.g-item:nth-child(3){aspect-ratio:1/1}
}
