/* ===================================================
   Le Gourmet Cakes — Fitzroy
   French patisserie aesthetic: indulgent, warm, elegant
   =================================================== */

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

:root {
  --cream:      #FBF7F2;
  --white:      #FEFCF9;
  --burg:       #7B2D42;
  --burg-dark:  #5C1F30;
  --burg-light: #9E4060;
  --rose:       #C9856A;
  --gold:       #B8966A;
  --gold-light: #D4B896;
  --ink:        #1E1510;
  --ink-soft:   #5A4A40;
  --border:     #E8DDD4;
  --shadow:     rgba(30, 21, 16, 0.10);

  --font-sans:  'Inter', system-ui, -apple-system, sans-serif;
  --font-serif: 'Playfair Display', 'DM Serif Display', Georgia, serif;

  --radius: 6px;
  --max-w: 1100px;
}

html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* --- Typography ----------------------------------- */
h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.15;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.45rem); }
p  { color: var(--ink-soft); }

.label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

/* --- Layout --------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}
section { padding: 5.5rem 0; }

/* --- Buttons -------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2.2rem;
  border-radius: 2px;
  font-size: 0.82rem;
  font-weight: 700;
  font-family: var(--font-sans);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all 0.2s ease;
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--burg);
  color: #fff;
}
.btn-primary:hover {
  background: var(--burg-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(123,45,66,0.3);
}
.btn-outline {
  background: transparent;
  border-color: var(--burg);
  color: var(--burg);
}
.btn-outline:hover {
  background: var(--burg);
  color: #fff;
}
.btn-ghost-white {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.55);
  color: #fff;
}
.btn-ghost-white:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.9);
}

/* --- Nav ----------------------------------------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(251, 247, 242, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--burg);
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.nav-logo span {
  display: block;
  font-size: 0.65rem;
  font-family: var(--font-sans);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 1px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.nav-links a {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--burg); }
.nav-cta {
  padding: 0.55rem 1.4rem !important;
  background: var(--burg) !important;
  color: #fff !important;
  border-radius: 2px;
}
.nav-cta:hover { background: var(--burg-dark) !important; color: #fff !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); transition: all 0.3s; }

@media (max-width: 640px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 68px; left: 0; right: 0;
    flex-direction: column;
    background: var(--cream);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem;
    gap: 1.25rem;
    align-items: flex-start;
  }
  .nav-links.open { display: flex; }
}

/* --- Hero ----------------------------------------- */
.hero {
  position: relative;
  min-height: 96vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(15, 8, 5, 0.88) 0%,
    rgba(15, 8, 5, 0.50) 45%,
    rgba(15, 8, 5, 0.15) 100%
  );
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding-bottom: 6rem;
  padding-top: 80px;
  width: 100%;
}
.hero-content .label { margin-bottom: 1.2rem; color: var(--gold-light); }
.hero-content h1 {
  color: #fff;
  max-width: 14ch;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 30px rgba(0,0,0,0.4);
}
.hero-content p {
  color: rgba(255,255,255,0.78);
  font-size: 1.1rem;
  max-width: 46ch;
  margin-bottom: 2.5rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-ribbon {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 3;
  background: var(--burg);
  padding: 0.9rem 0;
}
.hero-ribbon-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
}
.ribbon-item { display: flex; align-items: center; gap: 0.5rem; }
.ribbon-dot { color: var(--gold-light); }

/* --- Section headers ------------------------------ */
.section-header { margin-bottom: 4rem; }
.section-header .label { margin-bottom: 0.75rem; display: block; }
.section-header h2 { margin-bottom: 0.75rem; }
.section-header p { max-width: 54ch; }
.section-header.centered { text-align: center; }
.section-header.centered p { margin: 0 auto; }

.divider {
  width: 56px; height: 2px;
  background: var(--gold);
  margin: 1.25rem 0;
  border-radius: 2px;
}
.centered .divider { margin: 1.25rem auto; }

/* --- Signature Cakes Gallery ---------------------- */
.cakes-intro-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 3.5rem;
}
@media (min-width: 560px) { .cakes-intro-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .cakes-intro-grid { grid-template-columns: 1fr 1fr 1fr; } }

.cake-card {
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  transition: transform 0.25s, box-shadow 0.25s;
}
.cake-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px var(--shadow);
}
.cake-card-img {
  height: 260px;
  overflow: hidden;
}
.cake-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.cake-card:hover .cake-card-img img { transform: scale(1.06); }

.cake-card-body {
  padding: 1.5rem;
}
.cake-card-body .tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 0.35rem;
  display: block;
}
.cake-card-body h3 { color: var(--ink); margin-bottom: 0.4rem; }
.cake-card-body p { font-size: 0.875rem; }

/* --- Photo Feature Split -------------------------- */
.feature-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}
@media (min-width: 768px) { .feature-split { grid-template-columns: 1fr 1fr; } }
@media (min-width: 768px) { .feature-split.flip .feature-img { order: -1; } }

.feature-img {
  position: relative;
}
.feature-img-main {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}
.feature-img-accent {
  position: absolute;
  bottom: -20px; right: -20px;
  width: 180px; height: 180px;
  border-radius: 6px;
  object-fit: cover;
  border: 4px solid var(--white);
  box-shadow: 0 8px 32px var(--shadow);
}
@media (max-width: 480px) { .feature-img-accent { display: none; } }

.feature-text .label { margin-bottom: 0.75rem; display: block; }
.feature-text h2 { margin-bottom: 0.75rem; }
.feature-text p { margin-bottom: 1rem; max-width: 48ch; }
.feature-text p:last-of-type { margin-bottom: 1.75rem; }

/* --- Offerings Grid ------------------------------- */
.offerings-section { background: var(--burg); }
.offerings-section .section-header .label { color: var(--gold-light); }
.offerings-section .section-header h2 { color: #fff; }
.offerings-section .section-header p { color: rgba(255,255,255,0.7); }
.offerings-section .divider { background: var(--gold-light); }

.offerings-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 540px) { .offerings-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .offerings-grid { grid-template-columns: repeat(4, 1fr); } }

.offering-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  padding: 2rem 1.75rem;
  transition: background 0.2s;
}
.offering-card:hover { background: rgba(255,255,255,0.14); }
.offering-icon { font-size: 2rem; margin-bottom: 1rem; line-height: 1; }
.offering-card h3 { color: #fff; font-size: 1.05rem; margin-bottom: 0.4rem; }
.offering-card p { color: rgba(255,255,255,0.68); font-size: 0.875rem; }

/* --- Testimonial / Pull Quote --------------------- */
.quote-section { background: var(--white); text-align: center; }
.pull-quote {
  max-width: 720px;
  margin: 0 auto;
}
.pull-quote blockquote {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-style: italic;
  color: var(--burg);
  line-height: 1.5;
  margin-bottom: 1.5rem;
}
.pull-quote blockquote::before { content: '\201C'; }
.pull-quote blockquote::after  { content: '\201D'; }
.pull-quote cite {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  font-style: normal;
}

/* --- Order CTA ------------------------------------ */
.order-cta {
  background: var(--cream);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 5rem 0;
  text-align: center;
}
.order-cta .label { margin-bottom: 0.75rem; display: block; }
.order-cta h2 { margin-bottom: 1rem; }
.order-cta p { max-width: 52ch; margin: 0 auto 2.5rem; }
.order-cta-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* --- About page ----------------------------------- */
.about-hero {
  padding-top: 130px;
  padding-bottom: 4rem;
  background: var(--burg);
  color: #fff;
}
.about-hero .label { color: var(--gold-light); margin-bottom: 1rem; display: block; }
.about-hero h1 { color: #fff; margin-bottom: 1.25rem; }
.about-hero p { color: rgba(255,255,255,0.75); font-size: 1.1rem; max-width: 58ch; }
.about-hero .divider { background: var(--gold-light); margin: 1.25rem 0; }

.story-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: start;
  padding: 5rem 0;
}
@media (min-width: 768px) { .story-grid { grid-template-columns: 2fr 3fr; } }

.story-sidebar { position: sticky; top: 90px; }
.story-sidebar-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem;
}
.detail-row {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
}
.detail-row:last-child { border-bottom: none; }
.detail-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 2px; }
.detail-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); display: block; margin-bottom: 0.2rem; }
.detail-value { font-size: 0.9rem; color: var(--ink-soft); }
.detail-value a { color: var(--burg); }
.detail-value a:hover { text-decoration: underline; }

.story-body p { margin-bottom: 1.25rem; max-width: 60ch; }
.story-body p:last-child { margin-bottom: 0; }

.values-list { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 3rem; }
.value-item { display: flex; gap: 1rem; align-items: flex-start; }
.value-num {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--gold);
  line-height: 1;
  flex-shrink: 0;
  min-width: 2rem;
}
.value-item h3 { color: var(--ink); font-size: 1rem; margin-bottom: 0.25rem; }
.value-item p { font-size: 0.875rem; }

/* --- Contact page --------------------------------- */
.contact-header {
  padding-top: 130px;
  padding-bottom: 4rem;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.contact-header .label { margin-bottom: 0.75rem; display: block; }
.contact-header h1 { margin-bottom: 1rem; }
.contact-header p { max-width: 54ch; font-size: 1.05rem; }
.contact-header .divider { margin: 1rem 0; }

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  padding: 5rem 0;
}
@media (min-width: 768px) { .contact-wrap { grid-template-columns: 2fr 3fr; } }

.contact-aside { display: flex; flex-direction: column; gap: 2rem; }
.contact-detail-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.contact-detail-card-header {
  background: var(--burg);
  padding: 1rem 1.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
}
.contact-detail-card-body { padding: 1.25rem 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.detail-row-sm { display: flex; gap: 0.75rem; align-items: flex-start; }
.detail-row-sm .icon { font-size: 1rem; flex-shrink: 0; margin-top: 2px; }
.detail-row-sm strong { display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); margin-bottom: 0.15rem; }
.detail-row-sm span, .detail-row-sm a { font-size: 0.9rem; color: var(--ink-soft); }
.detail-row-sm a:hover { color: var(--burg); text-decoration: underline; }

.map-embed { border-radius: 8px; overflow: hidden; border: 1px solid var(--border); height: 220px; }
.map-embed iframe { width: 100%; height: 100%; border: 0; }

/* Form */
.form-wrap { background: var(--white); border: 1px solid var(--border); border-radius: 8px; padding: 2.5rem; }
.form-wrap h2 { font-size: 1.5rem; margin-bottom: 0.5rem; color: var(--ink); }
.form-wrap > p { font-size: 0.9rem; margin-bottom: 2rem; }
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 480px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--cream);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: var(--font-sans);
  color: var(--ink);
  transition: border-color 0.2s;
  appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--burg);
  box-shadow: 0 0 0 3px rgba(123,45,66,0.1);
  background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 0.78rem; color: var(--ink-soft); }
.form-submit { width: 100%; justify-content: center; margin-top: 0.25rem; }

/* --- Footer --------------------------------------- */
footer {
  background: var(--ink);
  color: rgba(254,252,249,0.55);
  padding: 3.5rem 0 2rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 640px) { .footer-inner { grid-template-columns: 2fr 1fr 1fr; } }
.footer-brand .nav-logo { color: var(--white); font-size: 1.15rem; display: block; margin-bottom: 0.4rem; }
.footer-brand .nav-logo span { color: var(--gold); }
.footer-brand p { font-size: 0.85rem; margin-top: 0.5rem; max-width: 28ch; }
.footer-col h4 { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(254,252,249,0.35); margin-bottom: 1rem; }
.footer-col a { display: block; font-size: 0.85rem; margin-bottom: 0.55rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(254,252,249,0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.75rem;
}
.footer-bottom a { color: rgba(254,252,249,0.35); }
.footer-bottom a:hover { color: var(--white); }

/* --- Utility -------------------------------------- */
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.text-center { text-align: center; }
.white { color: #fff; }
