/* ============================================================
   Flair Studio — "Blush Bow"
   Palette & scallop edges derived from the newborn pricing flyer
   ============================================================ */

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

:root {
  --bg: #fdf2f6;
  --pink: #f7d9e3;
  --pink-soft: #fbe6ed;
  --cream: #fffaf7;
  --accent: #b3536e;
  --accent-deep: #97435c;
  --text: #5c3f47;
  --white: #ffffff;
  --scallop-size: 16px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Jost', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-weight: 300;
}

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

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

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  color: var(--accent-deep);
  letter-spacing: 0.01em;
}

.script {
  font-family: 'Caveat', cursive;
  font-size: 1.6rem;
  color: var(--accent);
  font-weight: 600;
}

/* ---------- 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(--pink)) 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(--pink)) 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 {
  text-align: center;
  padding: 36px 24px 28px;
  background: var(--cream);
}

.logo-wrap { margin-bottom: 14px; }

.logo { height: 78px; margin: 0 auto; }

.main-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 28px;
}

.main-nav a {
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text);
  padding-bottom: 6px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

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

/* ---------- Hero (home) ---------- */
.hero {
  background: var(--pink-soft);
  padding: 64px 24px 84px;
  text-align: center;
  --scallop-color: var(--pink-soft);
}

.hero .script { display: block; margin-bottom: 6px; }

.hero h1 {
  font-size: 2.6rem;
  margin-bottom: 22px;
}

.hero-photo {
  max-width: 460px;
  margin: 0 auto;
  border: 10px solid var(--white);
  border-radius: 6px;
  box-shadow: 0 12px 30px rgba(151, 67, 92, 0.15);
  overflow: hidden;
}

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

/* ---------- Section title (used on home for "Our Galleries") ---------- */
.section-heading {
  text-align: center;
  padding: 64px 24px 8px;
}

.section-heading h2 { font-size: 2rem; margin-bottom: 8px; }

/* ---------- Gallery tile grid (home) ---------- */
.tile-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  max-width: 1100px;
  margin: 36px auto 0;
  padding: 0 24px 70px;
}

.tile {
  text-align: center;
  text-decoration: none;
  color: var(--text);
}

.tile-photo {
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  border: 6px solid var(--white);
  box-shadow: 0 8px 22px rgba(151, 67, 92, 0.13);
  margin-bottom: 14px;
  transition: transform 0.25s ease;
  background: var(--pink-soft);
}

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

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

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

.tile h3 {
  font-size: 1.05rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 500;
}

/* ---------- Contact CTA (bottom of home + contact page) ---------- */
.cta-wrap {
  padding: 10px 24px 90px;
  max-width: 880px;
  margin: 0 auto;
}

.cta-box {
  background: var(--pink);
  border-radius: 4px;
  text-align: center;
  padding: 56px 32px;
  --scallop-color: var(--pink);
  position: relative;
  margin-bottom: var(--scallop-size);
}

.cta-box h2 { font-size: 2.2rem; margin-bottom: 10px; }

.cta-box p { margin-bottom: 26px; color: var(--accent-deep); }

.btn {
  display: inline-block;
  background: var(--accent-deep);
  color: var(--white);
  font-family: 'Jost', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 16px 38px;
  border-radius: 2px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.btn:hover { background: var(--accent); }

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

.cta-links a { color: var(--accent-deep); border-bottom: 1px solid var(--accent-deep); }

/* ---------- Footer ---------- */
.site-footer {
  text-align: center;
  padding: 46px 24px 36px;
  background: var(--cream);
  border-top: 1px solid var(--pink);
}

.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.12em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0.7;
  margin-top: 14px;
}

/* ---------- Page title (about / pricing / gallery / contact) ---------- */
.page-title {
  text-align: center;
  padding: 56px 24px 14px;
}

.page-title h1 { font-size: 2.4rem; margin-bottom: 8px; }

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

/* ---------- About page ---------- */
.about-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  align-items: center;
  padding: 30px 24px 90px;
  max-width: 980px;
  margin: 0 auto;
}

.about-photo {
  flex: 1 1 320px;
  border-radius: 6px;
  overflow: hidden;
  border: 10px solid var(--white);
  box-shadow: 0 12px 30px rgba(151, 67, 92, 0.13);
}

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

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

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

.about-text .sign-off {
  font-family: 'Caveat', cursive;
  font-size: 1.8rem;
  color: var(--accent);
  margin-top: 22px;
}

/* ---------- Pricing page ---------- */
.price-section {
  padding: 30px 24px 10px;
}

.price-sub {
  text-align: center;
  font-family: 'Caveat', cursive;
  font-size: 1.4rem;
  color: var(--accent);
  margin-top: -8px;
  margin-bottom: 30px;
}

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

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

.price-card {
  background: var(--white);
  border-radius: 4px;
  padding: 34px 24px 38px;
  text-align: center;
  --scallop-color: var(--white);
  position: relative;
  margin-bottom: var(--scallop-size);
  box-shadow: 0 6px 18px rgba(151, 67, 92, 0.08);
}

.price-card h3 {
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}

.price-card .price {
  font-family: 'Playfair Display', serif;
  font-size: 2.1rem;
  color: var(--accent);
  margin-bottom: 18px;
}

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

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

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

.addon-card {
  background: var(--white);
  border-radius: 4px;
  padding: 32px 36px 38px;
  max-width: 520px;
  margin: 0 auto 56px;
  --scallop-color: var(--white);
  position: relative;
  margin-bottom: calc(56px + var(--scallop-size));
  box-shadow: 0 6px 18px rgba(151, 67, 92, 0.08);
}

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

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

.price-line span:last-child { color: var(--accent); font-weight: 500; }

.addon-card .includes {
  margin-top: 16px;
  font-size: 0.88rem;
  font-style: italic;
  color: var(--text);
  text-align: center;
}

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

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

.tab-btn {
  font-family: 'Jost', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: var(--white);
  border: 1px solid var(--pink);
  color: var(--text);
  padding: 13px 26px;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.2s;
}

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

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

.tab-panels { padding: 40px 24px 90px; }

.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: 16px;
}

.gallery-item {
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  box-shadow: 0 4px 14px rgba(151, 67, 92, 0.08);
}

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

.gallery-empty {
  text-align: center;
  font-family: 'Caveat', cursive;
  font-size: 1.4rem;
  color: var(--accent);
  padding: 50px 0;
  grid-column: 1 / -1;
}

/* ---------- Contact page ---------- */
.contact-page {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  padding: 36px 24px 90px;
  max-width: 980px;
  margin: 0 auto;
}

.contact-info { flex: 1 1 260px; }

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

.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;
  margin-bottom: 6px;
  color: var(--accent-deep);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  font-family: 'Jost', sans-serif;
  font-size: 1rem;
  padding: 12px 14px;
  border: 1px solid var(--pink);
  border-radius: 3px;
  background: var(--white);
  color: var(--text);
}

.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(--accent);
}

/* ---------- 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 h1 { font-size: 2rem; }
  .cta-box h2 { font-size: 1.7rem; }
  .main-nav { gap: 16px 18px; }
}
