/* ============================================================
   Flair Studio — "Studio Edit"
   Bold editorial layout, deep rose color blocks, generous scallop framing
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,600;0,700;1,500&family=Poppins:wght@300;400;500;600&display=swap');

:root {
  --bg: #fff9f6;
  --cream: #fdeee7;
  --rose: #d9788f;
  --rose-soft: #f3d3da;
  --rose-deep: #a8425a;
  --dark: #3a2c2f;
  --white: #ffffff;
  --scallop-size: 20px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  background: var(--bg);
  color: var(--dark);
  line-height: 1.75;
}

img { max-width: 100%; display: block; }

a { color: var(--rose-deep); text-decoration: none; }

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--rose-deep);
}

.script {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 500;
  font-size: 1.3rem;
  color: var(--rose);
}

/* ---------- Scallop utilities ---------- */
.scallop-bottom { position: relative; }
.scallop-bottom::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: calc(var(--scallop-size) * -1 + 1px);
  height: var(--scallop-size);
  background-image: radial-gradient(circle at var(--scallop-size) 0,
      var(--scallop-color, var(--bg)) var(--scallop-size),
      transparent calc(var(--scallop-size) + 1px));
  background-size: calc(var(--scallop-size) * 2) var(--scallop-size);
  background-repeat: repeat-x;
  pointer-events: none;
}

.scallop-top { position: relative; }
.scallop-top::before {
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: calc(var(--scallop-size) * -1 + 1px);
  height: var(--scallop-size);
  background-image: radial-gradient(circle at var(--scallop-size) var(--scallop-size),
      var(--scallop-color, var(--bg)) var(--scallop-size),
      transparent calc(var(--scallop-size) + 1px));
  background-size: calc(var(--scallop-size) * 2) var(--scallop-size);
  background-repeat: repeat-x;
  pointer-events: none;
}

/* ---------- Header ---------- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 5%;
  flex-wrap: wrap;
  gap: 18px;
}

.logo { height: 60px; }

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.main-nav a {
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--dark);
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--rose-deep);
  border-bottom-color: var(--rose);
}

/* ---------- Hero (home) — full bleed ---------- */
.hero {
  position: relative;
  --scallop-color: var(--bg);
}

.hero-photo {
  width: 100%;
  height: 78vh;
  min-height: 420px;
  overflow: hidden;
}

.hero-photo img { width: 100%; height: 100%; object-fit: cover; }

.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(180deg, rgba(58,44,47,0.05) 0%, rgba(58,44,47,0.35) 100%);
  color: var(--white);
}

.hero-overlay .script {
  color: var(--white);
  margin-bottom: 8px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

.hero-overlay h1 {
  color: var(--white);
  font-size: 3.4rem;
  letter-spacing: 0.06em;
  text-shadow: 0 2px 16px rgba(0,0,0,0.3);
}

/* ---------- Section heading ---------- */
.section-heading {
  text-align: center;
  padding: 78px 24px 10px;
}

.section-heading .script { display: block; margin-bottom: 8px; }

.section-heading h2 { font-size: 2.3rem; }

/* ---------- Gallery tile grid — asymmetric editorial ---------- */
.tile-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  max-width: 1200px;
  margin: 44px auto 0;
  padding: 0 5% 90px;
}

.tile {
  text-decoration: none;
  color: var(--dark);
  background: var(--white);
  padding: 14px 14px 26px;
  --scallop-color: var(--white);
  position: relative;
  margin-bottom: var(--scallop-size);
  box-shadow: 0 10px 28px rgba(168, 66, 90, 0.12);
  transition: transform 0.25s ease;
}

.tile:hover { transform: translateY(-6px); }

.tile-photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  margin-bottom: 16px;
  background: var(--cream);
}

.tile-photo img { width: 100%; height: 100%; object-fit: cover; }

.tile-photo.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: var(--rose);
  padding: 16px;
}

.tile h3 {
  text-align: center;
  font-size: 1.05rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ---------- Contact CTA ---------- */
.cta-wrap { padding: 10px 0 0; }

.cta-box {
  background: var(--rose);
  text-align: center;
  padding: 80px 24px;
  --scallop-color: var(--rose);
  position: relative;
  margin-bottom: var(--scallop-size);
  color: var(--white);
}

.cta-box.scallop-top { margin-top: var(--scallop-size); }

.cta-box h2 { color: var(--white); font-size: 2.6rem; margin-bottom: 14px; }

.cta-box p { margin-bottom: 30px; max-width: 480px; margin-left: auto; margin-right: auto; }

.btn {
  display: inline-block;
  background: var(--white);
  color: var(--rose-deep);
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 17px 42px;
  border-radius: 2px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.btn:hover { background: var(--dark); color: var(--white); }

.cta-links {
  margin-top: 30px;
  font-size: 0.95rem;
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}

.cta-links a { color: var(--white); border-bottom: 1px solid rgba(255,255,255,0.6); }

/* ---------- Footer ---------- */
.site-footer {
  text-align: center;
  padding: 50px 24px 40px;
  background: var(--cream);
}

.footer-logo { height: 44px; margin: 0 auto 16px; opacity: 0.85; }

.site-footer p { font-size: 0.85rem; margin-bottom: 8px; }

.footer-contact a { margin: 0 4px; }

.footer-copy {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rose-deep);
  opacity: 0.7;
  margin-top: 16px;
}

/* ---------- Page title ---------- */
.page-title {
  text-align: center;
  padding: 64px 24px 16px;
}

.page-title .script { display: block; margin-bottom: 10px; }

.page-title h1 { font-size: 2.6rem; }

main { max-width: 1200px; margin: 0 auto; }

/* ---------- About page ---------- */
.about-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  align-items: center;
  padding: 30px 5% 100px;
}

.about-photo {
  flex: 1 1 360px;
  background: var(--white);
  padding: 14px;
  --scallop-color: var(--white);
  position: relative;
  margin-bottom: var(--scallop-size);
  box-shadow: 0 12px 30px rgba(168, 66, 90, 0.12);
}

.about-photo img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }

.about-text { flex: 1 1 380px; }

.about-text p { margin-bottom: 20px; }

.about-text .sign-off {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.5rem;
  color: var(--rose);
  margin-top: 22px;
}

/* ---------- Pricing page ---------- */
.price-section { padding: 36px 5% 30px; }

.price-sub {
  text-align: center;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--rose);
  margin-top: -8px;
  margin-bottom: 36px;
}

.price-section h2 { text-align: center; font-size: 2rem; }

.price-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  margin-bottom: 60px;
}

.price-card {
  background: var(--white);
  padding: 32px 24px 36px;
  text-align: center;
  --scallop-color: var(--white);
  position: relative;
  margin-bottom: var(--scallop-size);
  box-shadow: 0 8px 24px rgba(168, 66, 90, 0.1);
}

.price-card h3 {
  font-size: 1.25rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.price-card .price {
  font-size: 2.2rem;
  color: var(--rose);
  margin-bottom: 18px;
}

.price-card ul { list-style: none; text-align: left; font-size: 0.9rem; }

.price-card li {
  padding: 7px 0;
  border-bottom: 1px solid var(--cream);
}

.price-card li:last-child { border-bottom: none; }

.addon-card {
  background: var(--white);
  padding: 34px 38px 40px;
  max-width: 540px;
  margin: 0 auto;
  --scallop-color: var(--white);
  position: relative;
  margin-bottom: calc(60px + var(--scallop-size));
  box-shadow: 0 8px 24px rgba(168, 66, 90, 0.1);
}

.price-line {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--cream);
  font-size: 1rem;
}

.price-line:last-of-type { border-bottom: none; }

.price-line span:last-child { color: var(--rose); font-weight: 600; font-family: 'Playfair Display', serif; font-size: 1.15rem; }

.addon-card .includes {
  margin-top: 18px;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1rem;
  text-align: center;
  color: var(--dark);
}

.price-note {
  text-align: center;
  font-size: 0.9rem;
  padding: 0 24px 90px;
  color: var(--rose-deep);
}

/* ---------- Gallery page (tabs) ---------- */
.tabs {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 30px 24px 0;
}

.tab-btn {
  font-family: 'Poppins', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--white);
  border: 2px solid var(--rose-soft);
  color: var(--dark);
  padding: 14px 30px;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.2s;
}

.tab-btn:hover { border-color: var(--rose); color: var(--rose-deep); }

.tab-btn.active {
  background: var(--rose);
  border-color: var(--rose);
  color: var(--white);
}

.tab-panels { padding: 44px 5% 100px; }

.tab-panel { display: none; }

.tab-panel.active { display: block; animation: fadeIn 0.4s ease; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.gallery-item {
  overflow: hidden;
  aspect-ratio: 1 / 1;
  box-shadow: 0 6px 16px rgba(168, 66, 90, 0.1);
}

.gallery-item img { width: 100%; height: 100%; object-fit: cover; }

.gallery-empty {
  text-align: center;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.4rem;
  color: var(--rose);
  padding: 60px 0;
  grid-column: 1 / -1;
}

/* ---------- Contact page ---------- */
.contact-page {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  padding: 36px 5% 100px;
}

.contact-info {
  flex: 1 1 260px;
  background: var(--rose);
  color: var(--white);
  padding: 40px 34px;
  --scallop-color: var(--rose);
  position: relative;
  margin-bottom: var(--scallop-size);
}

.contact-info p { margin-bottom: 16px; font-size: 1.02rem; }

.contact-info a { color: var(--white); }

.contact-form { flex: 2 1 380px; display: flex; flex-direction: column; gap: 16px; }

.contact-form label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--rose-deep);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  padding: 13px 16px;
  border: 1px solid var(--rose-soft);
  border-radius: 4px;
  background: var(--white);
  color: var(--dark);
}

.contact-form textarea { min-height: 120px; resize: vertical; }

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--rose);
}

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .tile-grid, .price-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .tile-grid, .price-grid, .gallery-grid { grid-template-columns: repeat(1, 1fr); }
  .hero-overlay h1 { font-size: 2.2rem; }
  .cta-box h2 { font-size: 1.9rem; }
  .main-nav { gap: 16px 18px; justify-content: center; }
  .site-header { justify-content: center; text-align: center; }
}
