/* =====================================================================
   MYTURKBUDDY — PHOTOS
   =====================================================================
   This is the ONLY file you edit to add or change the site's photography.

   HOW TO ADD A PHOTO
   1. Download the image (see the licence-checked shortlist in README.md).
   2. Save it into  assets/img/  using EXACTLY the filename shown below.
   3. That's it. Nothing else to change.

   Every slot already looks finished without a photo — it falls back to a
   branded navy panel — so the site never looks broken while you collect
   images. Delete a file and the slot simply returns to the panel.

   SIZING: save photos at about 1600px wide, JPG, under ~350 KB each.
   Larger files slow the page down without looking any better.
   ===================================================================== */

:root{
  /* --- hero backdrop: a wide Istanbul / Bosphorus scene --------------- */
  --photo-hero: url("img/hero-istanbul.jpg");

  /* --- "Verify before you pay" band ---------------------------------- */
  --photo-verify: url("img/verify-backdrop.jpg");

  /* --- Group programmes panel: people, a venue, a table discussion --- */
  --photo-groups: url("img/groups-retreat.jpg");

  /* --- Events band backdrop ------------------------------------------ */
  --photo-events: url("img/events-backdrop.jpg");

  /* Opacity of the hero photo behind the cream scrim.
     0 hides it entirely; .55 is a good starting point. */
  --hero-photo-opacity: .5;
}

/* ---------------------------------------------------------------------
   Treatment. Every photo gets the same navy-and-cream handling so the
   images read as part of the brand rather than as stock drops.
   --------------------------------------------------------------------- */

/* Hero: photo sits behind the existing line art, under a cream scrim. */
.hero__photo{
  position:absolute; inset:0; z-index:0; pointer-events:none;
  background-image:var(--photo-hero); background-size:cover; background-position:center 38%;
  opacity:var(--hero-photo-opacity);
  -webkit-mask-image:linear-gradient(180deg, #000 0%, rgba(0,0,0,.35) 62%, transparent 100%);
  mask-image:linear-gradient(180deg, #000 0%, rgba(0,0,0,.35) 62%, transparent 100%);
}
.hero__scrim{
  position:absolute; inset:0; z-index:1; pointer-events:none;
  background:linear-gradient(180deg, rgba(252,242,232,.62) 0%, rgba(252,242,232,.86) 52%, var(--cream) 100%);
}
/* Keep the skyline line art and the hero content above the scrim, so adding
   a photo never washes out the artwork the brand is built on. */
.hero .sky{z-index:2}
.hero .hero__in{z-index:3}

/* Events band: subtle photo wash behind the cards. */
.events-home{position:relative; overflow:hidden}
.events-home__bg{
  position:absolute; inset:0; z-index:0; pointer-events:none; opacity:.14;
  background-image:var(--photo-events); background-size:cover; background-position:center;
  -webkit-mask-image:radial-gradient(120% 90% at 80% 0%, #000 0%, transparent 70%);
  mask-image:radial-gradient(120% 90% at 80% 0%, #000 0%, transparent 70%);
}
.events-home > .shell{position:relative; z-index:1}

/* Group panel: when the file exists it covers the fallback gradient. */
.groups__photo{background-blend-mode:normal}

@media (prefers-reduced-motion:reduce){
  .hero__photo,.events-home__bg{transition:none}
}
