/* ==========================================================================
   MEM PATISSERIE — AMBIANCE PAGE STYLES
   Photography · Asymmetric grid · Parallax · Pull quote
   ========================================================================== */

/* ==========================================================================
   1. AMBIANCE HERO
   ========================================================================== */

.ambiance-hero {
  min-height: 70vh;
  background-color: var(--dark-brown);
  display: flex;
  align-items: center;
  padding: var(--space-32) var(--space-8) var(--space-16);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--copper-dim);
}

.ambiance-hero__content {
  max-width: 680px;
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  position: relative;
  z-index: 1;
}

.ambiance-hero__headline {
  font-family: var(--font-display);
  font-size: clamp(4rem, 7vw, 7.5rem);
  color: var(--text-light);
  line-height: 1;
}

.ambiance-hero__sub {
  font-family: var(--font-body);
  font-size: 1.125rem;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.8;
  max-width: 45ch;
}

/* ==========================================================================
   2. PHOTO GRID — Asymmetric layout
   Parallax: background images move at 60% scroll speed (data-parallax="0.6")
   ========================================================================== */

.photo-grid {
  background-color: var(--dark-brown-2);
  padding: var(--space-16) var(--space-8);
}

.photo-grid__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 80px;
  gap: var(--space-3);
}

/* Photo cells — each is a flex-shrink-0 grid item */
.photo-cell {
  position: relative;
  overflow: hidden;
  background-color: rgba(255,255,255,0.03);
  border: 1px solid var(--copper-dim);
  border-radius: var(--radius);
  cursor: zoom-in;
  transition: border-color var(--transition);
}

.photo-cell:hover {
  border-color: var(--copper);
}

.photo-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease-out;
}

.photo-cell:hover img {
  transform: scale(1.04);
}

/* Asymmetric grid positions */
.photo-cell--1  { grid-column: 1 / 6;  grid-row: 1 / 7; }   /* Large left */
.photo-cell--2  { grid-column: 6 / 9;  grid-row: 1 / 4; }   /* Small top-centre */
.photo-cell--3  { grid-column: 9 / 13; grid-row: 1 / 5; }   /* Medium top-right */
.photo-cell--4  { grid-column: 6 / 9;  grid-row: 4 / 7; }   /* Small bottom-centre */
.photo-cell--5  { grid-column: 9 / 11; grid-row: 5 / 7; }   /* Small right-centre */
.photo-cell--6  { grid-column: 1 / 5;  grid-row: 7 / 11; }  /* Medium bottom-left */
.photo-cell--7  { grid-column: 5 / 9;  grid-row: 7 / 10; }  /* Medium bottom-centre */
.photo-cell--8  { grid-column: 9 / 13; grid-row: 7 / 11; }  /* Medium bottom-right */
.photo-cell--9  { grid-column: 5 / 9;  grid-row: 10 / 13; } /* Small footer-centre */
.photo-cell--10 { grid-column: 1 / 5;  grid-row: 11 / 14; } /* Small footer-left */

/* Placeholder when no real photo */
.photo-cell__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(184,115,51,0.06) 0%, rgba(44,24,16,0.4) 100%);
}

.photo-cell__placeholder-text {
  font-family: var(--font-heading);
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ==========================================================================
   3. PULL QUOTE — centred on cream
   ========================================================================== */

.ambiance-quote {
  background-color: var(--cream);
  padding: var(--space-24) var(--space-8);
  text-align: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.ambiance-quote__text {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 5rem);
  color: var(--text-dark);
  line-height: 1.15;
  max-width: 900px;
  margin: 0 auto var(--space-8);
}

.ambiance-quote__accent {
  color: var(--copper);
}

.ambiance-quote__attr {
  font-family: var(--font-heading);
  font-size: 0.6875rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted-light);
}

/* ==========================================================================
   4. VERANDA SECTION — text + atmosphere description
   ========================================================================== */

.ambiance-veranda {
  background-color: var(--dark-brown);
  padding: var(--space-24) var(--space-8);
}

.ambiance-veranda__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.ambiance-veranda__text {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.ambiance-veranda__headline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 3.5vw, 4rem);
  color: var(--text-light);
  line-height: 1.1;
}

.ambiance-veranda__body {
  font-family: var(--font-body);
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.85;
  font-style: italic;
  max-width: 50ch;
}

.ambiance-veranda__visual {
  height: 480px;
  background-color: rgba(255,255,255,0.03);
  border: 1px solid var(--copper-dim);
  border-radius: var(--radius);
  overflow: hidden;
}

.ambiance-veranda__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   5. RESPONSIVE
   ========================================================================== */

@media (max-width: 1023px) {
  .photo-grid__inner {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 100px;
  }

  .photo-cell--1  { grid-column: 1 / 4; grid-row: 1 / 5; }
  .photo-cell--2  { grid-column: 4 / 7; grid-row: 1 / 3; }
  .photo-cell--3  { grid-column: 4 / 7; grid-row: 3 / 5; }
  .photo-cell--4  { grid-column: 1 / 4; grid-row: 5 / 8; }
  .photo-cell--5  { grid-column: 4 / 7; grid-row: 5 / 8; }
  .photo-cell--6  { grid-column: 1 / 3; grid-row: 8 / 11; }
  .photo-cell--7  { grid-column: 3 / 5; grid-row: 8 / 10; }
  .photo-cell--8  { grid-column: 5 / 7; grid-row: 8 / 11; }
  .photo-cell--9  { grid-column: 3 / 5; grid-row: 10 / 12; }
  .photo-cell--10 { display: none; }
}

@media (max-width: 767px) {
  .photo-grid__inner {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 160px;
  }

  .photo-cell--1  { grid-column: 1 / 3; grid-row: 1 / 3; }
  .photo-cell--2  { grid-column: 1 / 2; grid-row: 3 / 4; }
  .photo-cell--3  { grid-column: 2 / 3; grid-row: 3 / 4; }
  .photo-cell--4  { grid-column: 1 / 3; grid-row: 4 / 6; }
  .photo-cell--5  { grid-column: 1 / 2; grid-row: 6 / 7; }
  .photo-cell--6  { grid-column: 2 / 3; grid-row: 6 / 7; }
  .photo-cell--7  { grid-column: 1 / 3; grid-row: 7 / 9; }
  .photo-cell--8  { grid-column: 1 / 2; grid-row: 9 / 10; }
  .photo-cell--9  { grid-column: 2 / 3; grid-row: 9 / 10; }
  .photo-cell--10 { display: none; }

  .ambiance-veranda__inner {
    grid-template-columns: 1fr;
  }

  .ambiance-veranda__visual {
    height: 300px;
  }
}
