/*
 WOOW Lanka Leisure — FINAL text-render + visibility + logo fix
 2026-09-23
 Scope: typography/rendering only. Does not change page layout.
*/
:root{
  /* Use browser-safe serif stack for display text.
     This avoids broken/partial glyph rendering from the previous display font. */
  --f-display: Georgia, "Times New Roman", Times, serif !important;
}

/* Display headings: keep the existing luxury serif look but force a stable renderer. */
.h-display,
.section-head h1,.section-head h2,.section-head h3,
.intro h1,.intro h2,.intro h3,
.page-header h1,.page-header h2,
.about-copy h1,.about-copy h2,.about-copy h3,
.plan-band h1,.plan-band h2,.plan-band h3,
.fleet-copy h1,.fleet-copy h2,.fleet-copy h3,
.honeymoon h1,.honeymoon h2,.honeymoon h3,
.why-item h1,.why-item h2,.why-item h3,
.pillar h1,.pillar h2,.pillar h3,
.tour-card h1,.tour-card h2,.tour-card h3,
.exp-card h1,.exp-card h2,.exp-card h3,
.dest-card h1,.dest-card h2,.dest-card h3,
.woow-reviews-head h1,.woow-reviews-head h2,.woow-reviews-head h3,
.woow-review-text,
.woow-review-modal-dialog h3,
.plan-contact-item a,.plan-contact-item span,
.featured-story .story-quote,
.review-card blockquote,
.cta-image-band h1,.cta-image-band h2,.cta-image-band h3{
  font-family:Georgia,"Times New Roman",Times,serif !important;
  font-synthesis:none !important;
  text-rendering:optimizeLegibility !important;
  -webkit-font-smoothing:antialiased !important;
  -moz-osx-font-smoothing:grayscale !important;
}

/* Never let inherited filters/text-fill make ordinary light-section text look washed out. */
.section:not(.dark):not(.on-dark) .section-head h1,
.section:not(.dark):not(.on-dark) .section-head h2,
.section:not(.dark):not(.on-dark) .section-head h3,
.section:not(.dark):not(.on-dark) .h-display,
.woow-reviews-section .woow-reviews-head h2{
  opacity:1 !important;
  filter:none !important;
  -webkit-filter:none !important;
  -webkit-text-fill-color:currentColor !important;
}

/* Keep existing reveal animation behaviour; only prevent a stale filter from fading text. */
.reveal,.reveal.in-view{
  filter:none !important;
  -webkit-filter:none !important;
}

/* Logo clarity/brightness — header and footer only. */
.site-header .brand img,
.site-header.scrolled .brand img{
  opacity:1 !important;
  filter:brightness(1.18) saturate(1.20) contrast(1.06)
         drop-shadow(0 2px 8px rgba(0,0,0,.28)) !important;
  -webkit-filter:brightness(1.18) saturate(1.20) contrast(1.06)
         drop-shadow(0 2px 8px rgba(0,0,0,.28)) !important;
}
.site-footer .footer-brand img{
  opacity:1 !important;
  filter:brightness(1.20) saturate(1.22) contrast(1.06)
         drop-shadow(0 5px 18px rgba(0,0,0,.30)) !important;
  -webkit-filter:brightness(1.20) saturate(1.22) contrast(1.06)
         drop-shadow(0 5px 18px rgba(0,0,0,.30)) !important;
}

@media (max-width:780px){
  body#home .hero h1,
  .h-display,
  .section-head h1,.section-head h2,.section-head h3,
  .page-header h1,.about-copy h2,.plan-band h2,
  .fleet-copy h2,.honeymoon h2,
  .woow-reviews-head h2{
    font-family:Georgia,"Times New Roman",Times,serif !important;
  }
  .site-header .brand img,
  .site-header.scrolled .brand img{
    opacity:1 !important;
    filter:brightness(1.18) saturate(1.20) contrast(1.06)
           drop-shadow(0 2px 8px rgba(0,0,0,.28)) !important;
    -webkit-filter:brightness(1.18) saturate(1.20) contrast(1.06)
           drop-shadow(0 2px 8px rgba(0,0,0,.28)) !important;
  }
}
