/* ==========================================================================
   GURMANDIA — Patisserie · Boulangerie · Café
   Master Visual Presentation (Zero Distortion, Pixel-Perfect Responsive)
   ========================================================================== */

:root {
  --bg-color: #EFE8DE;
  --bg-radial: #FAF5ED;
  --color-primary: #3F2618;
  --color-terracotta: #B2602F;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  background-color: var(--bg-color);
  background: radial-gradient(ellipse at center, var(--bg-radial) 0%, var(--bg-color) 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* --------------------------------------------------------------------------
   Main Stage Container
   -------------------------------------------------------------------------- */
.main-stage {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0;
}

/* The Responsive 16:9 Poster Box */
.poster-box {
  position: relative;
  container-type: inline-size;
  width: 100%;
  max-width: 100vw;
  max-height: 100vh;
  max-height: 100dvh;
  aspect-ratio: 16 / 9;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 10px 40px rgba(63, 38, 24, 0.08);
}

.poster-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* --------------------------------------------------------------------------
   Live Text Overlays for Updated Contact Info
   -------------------------------------------------------------------------- */
.phone-overlay {
  position: absolute;
  left: 45.4%;
  top: 83.8%;
  width: 10.4%;
  height: 3.8%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #E2DACD;
  color: var(--color-primary);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.25cqw;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: 2px;
  cursor: pointer;
  transition: transform 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.phone-overlay:hover {
  color: var(--color-terracotta);
  transform: scale(1.04);
}

.loc-overlay {
  position: absolute;
  left: 58.0%;
  top: 83.8%;
  width: 7.2%;
  height: 3.8%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #E2DACD;
  color: var(--color-primary);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.25cqw;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: 2px;
  cursor: pointer;
  transition: transform 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.loc-overlay:hover {
  color: var(--color-terracotta);
  transform: scale(1.04);
}

/* Instagram Hotspot */
.ig-hotspot {
  position: absolute;
  left: 36.5%;
  top: 80.5%;
  width: 6.8%;
  height: 8%;
  cursor: pointer;
  text-decoration: none;
}

/* Full Phone Hotspot */
.phone-hotspot {
  position: absolute;
  left: 46.5%;
  top: 80.5%;
  width: 8.8%;
  height: 8%;
  cursor: pointer;
  text-decoration: none;
}

/* Full Location Hotspot */
.loc-hotspot {
  position: absolute;
  left: 58.5%;
  top: 80.5%;
  width: 6.5%;
  height: 8%;
  cursor: pointer;
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   Mobile Dedicated Action Bar (Telefonlarda ekranın altına zarif butonlar)
   -------------------------------------------------------------------------- */
.mobile-card {
  display: none;
}

@media (max-width: 768px) {
  html, body {
    height: auto;
    min-height: 100vh;
    min-height: 100dvh;
    justify-content: flex-start;
  }

  .main-stage {
    height: auto;
    min-height: 100vh;
    min-height: 100dvh;
    justify-content: space-between;
    padding: 0 0 24px;
  }

  .poster-box {
    box-shadow: none;
  }

  /* Make overlays slightly bolder on small screens */
  .phone-overlay {
    font-size: 2.4cqw;
  }

  .loc-overlay {
    font-size: 2.4cqw;
  }

  /* Elegant Mobile Touch Bar below the artwork */
  .mobile-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: calc(100% - 32px);
    max-width: 400px;
    margin: 16px auto 8px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 24px rgba(63, 38, 24, 0.06);
  }

  .mobile-buttons-row {
    display: flex;
    gap: 10px;
    width: 100%;
  }

  .m-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 14px;
    background: #FFFFFF;
    color: var(--color-primary);
    border: 1px solid rgba(63, 38, 24, 0.12);
    border-radius: 12px;
    text-decoration: none;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    box-shadow: 0 2px 6px rgba(63, 38, 24, 0.04);
  }

  .m-btn-primary {
    background: var(--color-primary);
    color: #FFFFFF;
    border-color: var(--color-primary);
  }

  .mobile-address-text {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.76rem;
    line-height: 1.4;
    color: #63432F;
    text-align: center;
    padding: 0 8px;
  }
}
