/*
  EDITING GUIDE — mobile-hero-object-protection.css
  ------------------------------------------------------------------
  PURPOSE: This stylesheet is part of EMBR's layered styling system.
  QUICK EDIT: Use the section notes below to locate the relevant block.
  SAFETY: Keep selectors and declarations intact when only changing a value.
  CSS LOAD ORDER matters: later stylesheets may override earlier ones.
  ------------------------------------------------------------------
*/
/* EMBR R30 — Mobile hero framing, warm canvas, and photo clarity
   Purpose:
   1. Preserve focal objects by showing the full source photograph on mobile.
   2. Replace the near-black letterbox canvas with EMBR's warm cream brand surface.
   3. Reduce the mobile hero shade so the original photo retains more visible detail.
   4. Keep desktop/tablet and homepage hero behavior untouched.

   Note: CSS cannot restore detail absent from the original image. This file
   avoids additional filters and heavy overlays that can make images look muddy.
*/
/* EDIT: Responsive rules below: adjust the breakpoint or the mobile/tablet layout inside this block. */
@media (max-width: 650px) {
  .page-hero {
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-color: #E9E1D6 !important; /* warm EMBR cream, matches page surface */
    background-position: center center !important;
    filter: none !important;
    image-rendering: auto;
  }


  /* Keep each hero's focal area visible without cropping its main subject. */
  .hero-experience { background-position: center 56% !important; }
  .hero-menu      { background-position: center center !important; }
  .hero-sunset    { background-position: center 52% !important; }
  .hero-events    { background-position: center 50% !important; }
  .hero-gaucho    { background-position: center 58% !important; }
  .hero-contact   { background-position: center 50% !important; }
  .hero-gift     { background-position: center 52% !important; }
  .hero-gallery   { background-position: center 56% !important; }

  /* A lighter shade preserves atmosphere but reveals texture and photo detail. */
  .page-hero .hero-shade {
    background:
      linear-gradient(0deg, rgba(18, 15, 12, .34), rgba(18, 15, 12, .04) 68%),
      linear-gradient(90deg, rgba(18, 15, 12, .08), transparent 72%) !important;
  }

  /* Do not soften or artificially sharpen hero photographs. */
  .page-hero,
  .page-hero * {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}
