/* styles.css - consolidated */

/* Local font for headings (place TT-Ramilas.woff2 in same folder) */
@font-face {
  font-family: "TT Ramilas";
  src: url("TT-Ramilas.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

/* Color variables */
:root {
  --pink: #fde6ec;
  --dark-pink: #f4a6b8;
  --brown: #8b5e3c;
}

/* Global box-sizing */
* { box-sizing: border-box; }

/* Page base and background */
body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--brown);
  text-align: center;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  /* Background fallback and brand image */
  background-color: var(--pink);
  background-image: url("background-brand.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: scroll;
}

/* Headings: prefer TT Ramilas, fallback to Playfair Display then serif */
h1, h2, h3, h4, h5, h6 {
  font-family: "TT Ramilas", "Playfair Display", Georgia, serif;
  color: var(--dark-pink);
  margin: 0 0 0.6rem 0;
  line-height: 1.05;
}

/* Header */
header {
  padding: 3.5rem 1rem 2.5rem;
}
header img {
  width: 180px;
  margin-top: 1rem;
}
header p {
  font-size: 1.05rem;
  margin: 0.6rem 0 1.2rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.9rem 1.6rem;
  background: linear-gradient(135deg, #f4a6b8, #ff7aa8);
  color: #fff;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: transform .18s ease;
}
.btn:hover { transform: scale(1.04); }

/* Sections and cards */
section { padding: 3.5rem 1.25rem; max-width: 900px; margin: auto; }

.card {
  position: relative;
  z-index: 1; /* ensures cards sit above foreground graphic */
  background: rgba(255,255,255,0.95);
  border-radius: 20px;
  padding: 1.8rem;
  margin-bottom: 1.8rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.06);
}

/* About image */
.about img { width: 220px; border-radius: 50%; margin-bottom: 1.25rem; }

/* Menu layout */
.menu-item { display:flex; justify-content:space-between; margin:0.6rem 0; font-weight:500; }

/* Footer and lists */
footer { padding: 1.6rem 1rem; font-size:0.9rem; color:#a46b4f; }
ul { text-align:left; max-width:600px; margin:auto; padding-left:1rem; }
.contact-link { color: var(--dark-pink); text-decoration: none; font-weight: 600; }

/* Foreground graphic sits fixed and behind content cards */
.foreground-graphic {
  position: fixed;
  inset: 0;                       /* full viewport */
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;           /* clicks pass through */
  z-index: 0;                     /* behind cards which are z-index:1 */
  mix-blend-mode: normal;         /* try multiply or screen for stylized effect */
  opacity: 0.95;
  will-change: transform, opacity;
}

/* Size and placement of the foreground image */
.foreground-graphic img {
  max-width: 80vw;
  max-height: 80vh;
  width: auto;
  height: auto;
  transform: translateY(0);
  filter: saturate(1) contrast(1);
  transition: transform 0.6s ease-out;
}

/* Accessibility: respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .foreground-graphic img { transition: none; transform: none; }
}

/* Mobile adjustments */
@media (max-width:600px) {
  header img { width: 150px; }
  .menu-item { flex-direction: column; gap: 0.4rem; align-items: flex-start; }
  .foreground-graphic img { max-width: 95vw; max-height: 60vh; opacity: 0.9; }
  .card { padding: 1.2rem; border-radius: 16px; }
}

.gallery-btn {
  margin-top: 1rem;
  background: linear-gradient(135deg, #f4a6b8, #ff7aa8);
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
  font-size: 1.1rem;
  letter-spacing: 0.5px;
}

.gallery-btn:hover {
  transform: scale(1.07);
  box-shadow: 0 8px 22px rgba(0,0,0,0.22);
}
