/* ═══════════════════════════════════════════
   AMARA BAKERY & COFFEE — STYLESHEET
   ═══════════════════════════════════════════ */

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --clr-terracotta: #C0603C;
  --clr-terracotta-dark: #9E4A2A;
  --clr-sand: #E8D5C0;
  --clr-sand-light: #F5EDE3;
  --clr-cream: #FDF8F3;
  --clr-warm-white: #FFF9F4;
  --clr-charcoal: #2C2420;
  --clr-text: #3D302A;
  --clr-text-muted: #7A6558;
  --clr-border: #E8DCD2;
  --clr-dark-bg: #1E1814;
  --clr-dark-surface: #2C2420;
  --ff-serif: 'Lora', 'Georgia', serif;
  --ff-sans: 'Montserrat', 'Segoe UI', sans-serif;
  --shadow-sm: 0 1px 3px rgba(44,36,32,.08);
  --shadow-md: 0 4px 20px rgba(44,36,32,.10);
  --shadow-lg: 0 12px 40px rgba(44,36,32,.14);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --transition: .3s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--ff-serif);
  color: var(--clr-text);
  background: var(--clr-cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
address { font-style: normal; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Typography ── */
.section-eyebrow {
  font-family: var(--ff-sans);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--clr-terracotta);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--ff-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--clr-charcoal);
  margin-bottom: 20px;
}

.text-terracotta { color: var(--clr-terracotta); }

.section-sub {
  font-family: var(--ff-sans);
  font-size: 1.05rem;
  color: var(--clr-text-muted);
  max-width: 520px;
  line-height: 1.7;
}

.section-header--center { text-align: center; }
.section-header--center .section-sub { margin: 0 auto; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-sans);
  font-weight: 600;
  font-size: .875rem;
  letter-spacing: .04em;
  padding: 14px 30px;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-terracotta {
  background: var(--clr-terracotta);
  color: #FFF8F0;
  border-color: var(--clr-terracotta);
}
.btn-terracotta:hover {
  background: var(--clr-terracotta-dark);
  border-color: var(--clr-terracotta-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline-light {
  background: transparent;
  color: #FFF8F0;
  border-color: rgba(255,248,240,.5);
}
.btn-outline-light:hover {
  background: rgba(255,248,240,.12);
  border-color: #FFF8F0;
}

.btn-sm { padding: 10px 22px; font-size: .8125rem; }
.btn-lg { padding: 16px 36px; font-size: .9375rem; }

/* ── Header ── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 24px;
  transition: var(--transition);
}

.site-header.scrolled {
  background: rgba(253,248,243,.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--clr-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--clr-charcoal);
}

.logo-mark { color: var(--clr-terracotta); }

.logo-text { color: var(--clr-charcoal); }
.logo-accent { color: var(--clr-terracotta); }

.logo--light { color: #FFF8F0; }
.logo--light .logo-text { color: #FFF8F0; }

/* Nav */
.nav-list {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-list a {
  font-family: var(--ff-sans);
  font-size: .875rem;
  font-weight: 500;
  color: var(--clr-charcoal);
  position: relative;
  transition: var(--transition);
}

.nav-list a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--clr-terracotta);
  transition: var(--transition);
}

.nav-list a:not(.btn):hover { color: var(--clr-terracotta); }
.nav-list a:not(.btn):hover::after { width: 100%; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.hamburger {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--clr-charcoal);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-toggle[aria-expanded="true"] .hamburger:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .hamburger:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .hamburger:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--clr-dark-bg);
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(30,24,20,.92) 0%, rgba(44,36,32,.85) 50%, rgba(30,24,20,.90) 100%),
    url('https://images.pexels.com/photos/30797205/pexels-photo-30797205.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080') center/cover no-repeat;
  z-index: 0;
}

.hero-container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 60px;
  align-items: center;
}

/* Main hero card */
.hero-main-card {
  background: rgba(255,248,240,.07);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,248,240,.12);
  border-radius: var(--radius-lg);
  padding: 52px 48px;
  max-width: 580px;
}

.hero-eyebrow {
  font-family: var(--ff-sans);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--clr-sand);
  margin-bottom: 20px;
}

.hero-headline {
  font-family: var(--ff-serif);
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  font-weight: 500;
  line-height: 1.18;
  color: #FFF8F0;
  margin-bottom: 24px;
}

.accent-underline {
  position: relative;
  display: inline;
}
.accent-underline::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--clr-terracotta);
  border-radius: 2px;
  opacity: .7;
}

.hero-sub {
  font-family: var(--ff-sans);
  font-size: 1.05rem;
  color: rgba(255,248,240,.72);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 460px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Floating stat cards */
.hero-stats {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stat-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  animation: float 6s ease-in-out infinite;
}

.stat-card:nth-child(1) { animation-delay: 0s; }
.stat-card:nth-child(2) { animation-delay: 1.5s; }
.stat-card:nth-child(3) { animation-delay: 3s; }
.stat-card:nth-child(4) { animation-delay: 4.5s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.stat-card--warm {
  background: linear-gradient(135deg, var(--clr-sand) 0%, #D4BEA8 100%);
  color: var(--clr-charcoal);
}
.stat-card--sand {
  background: linear-gradient(135deg, #F0E4D6 0%, var(--clr-sand) 100%);
  color: var(--clr-charcoal);
}
.stat-card--terracotta {
  background: linear-gradient(135deg, var(--clr-terracotta) 0%, var(--clr-terracotta-dark) 100%);
  color: #FFF8F0;
}
.stat-card--dark {
  background: linear-gradient(135deg, var(--clr-charcoal) 0%, #3D302A 100%);
  color: #FFF8F0;
}

.stat-icon { flex-shrink: 0; opacity: .85; }

.stat-number {
  font-family: var(--ff-serif);
  font-size: 1.35rem;
  font-weight: 600;
  display: block;
  line-height: 1.2;
}

.stat-label {
  font-family: var(--ff-sans);
  font-size: .75rem;
  font-weight: 500;
  opacity: .8;
  letter-spacing: .03em;
}

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 1;
}

.scroll-hint span {
  font-family: var(--ff-sans);
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,248,240,.4);
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,248,240,.4), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: .4; transform: scaleY(.7); }
}

/* ── About ── */
.about {
  padding: 120px 0;
  background: var(--clr-cream);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.about-image-wrap {
  position: relative;
}

.about-image-wrap img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-image-accent {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  background: var(--clr-terracotta);
  border-radius: var(--radius-md);
  opacity: .15;
  z-index: -1;
}

.about-content { max-width: 480px; }

.about-content p {
  font-family: var(--ff-sans);
  font-size: 1rem;
  color: var(--clr-text-muted);
  line-height: 1.85;
  margin-bottom: 18px;
}

.about-signature {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--clr-border);
}

.sig-name {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--clr-charcoal);
}

.sig-sep {
  width: 40px;
  height: 2px;
  background: var(--clr-terracotta);
  border-radius: 2px;
  flex-shrink: 0;
}

.sig-role {
  font-family: var(--ff-sans);
  font-size: .8125rem;
  color: var(--clr-text-muted);
  letter-spacing: .06em;
}

/* ── Offerings ── */
.offerings {
  padding: 100px 0 120px;
  background: var(--clr-sand-light);
}

.offerings-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 60px;
}

.offering-card {
  background: var(--clr-warm-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--clr-border);
}

.offering-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.offering-img {
  overflow: hidden;
  height: 220px;
}

.offering-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.4,0,.2,1);
}

.offering-card:hover .offering-img img {
  transform: scale(1.06);
}

.offering-body {
  padding: 28px 28px 32px;
}

.offering-title {
  font-family: var(--ff-serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--clr-charcoal);
  margin-bottom: 10px;
}

.offering-desc {
  font-family: var(--ff-sans);
  font-size: .9375rem;
  color: var(--clr-text-muted);
  line-height: 1.75;
}

/* ── Gallery ── */
.gallery {
  padding: 100px 0 120px;
  background: var(--clr-cream);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto;
  gap: 20px;
  margin-top: 56px;
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.4,0,.2,1);
  display: block;
}

.gallery-item:hover img { transform: scale(1.04); }

.gallery-item--wide { grid-column: span 6; height: 280px; }
.gallery-item:not(.gallery-item--wide) { grid-column: span 3; height: 280px; }

/* ── Visit ── */
.visit {
  padding: 100px 0 120px;
  background: var(--clr-dark-bg);
  color: #FFF8F0;
}

.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.visit-info .section-title { color: #FFF8F0; }

.visit-details {
  font-family: var(--ff-sans);
  font-size: 1rem;
  line-height: 1.9;
  color: rgba(255,248,240,.78);
  margin: 28px 0;
}

.visit-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--clr-sand);
  font-weight: 500;
  transition: var(--transition);
}

.visit-phone:hover { color: var(--clr-terracotta); }

.visit-hours {
  margin-bottom: 36px;
}

.hours-title {
  font-family: var(--ff-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: #FFF8F0;
  margin-bottom: 14px;
}

.hours-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  font-family: var(--ff-sans);
  font-size: .9375rem;
  color: rgba(255,248,240,.68);
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,248,240,.08);
}

.hours-list .time { color: var(--clr-sand); font-weight: 500; }

.visit-map-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

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

.visit-map-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(30,24,20,.35);
  transition: var(--transition);
}

.visit-map-wrap:hover .visit-map-overlay { background: rgba(30,24,20,.2); }

/* ── Footer ── */
.site-footer {
  background: var(--clr-charcoal);
  color: rgba(255,248,240,.6);
  padding: 60px 0 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.footer-brand { display: flex; flex-direction: column; gap: 12px; }

.footer-tagline {
  font-family: var(--ff-sans);
  font-size: .9375rem;
  color: rgba(255,248,240,.5);
  max-width: 300px;
}

.footer-links {
  display: flex;
  gap: 28px;
}

.footer-links a {
  font-family: var(--ff-sans);
  font-size: .875rem;
  font-weight: 500;
  color: rgba(255,248,240,.6);
  transition: var(--transition);
}

.footer-links a:hover { color: var(--clr-terracotta); }

.footer-contact {
  font-family: var(--ff-sans);
  font-size: .875rem;
  line-height: 1.8;
}

.footer-contact a {
  color: var(--clr-sand);
  transition: var(--transition);
}

.footer-contact a:hover { color: var(--clr-terracotta); }

.footer-bottom {
  margin-top: 20px;
  padding: 20px 0;
  border-top: 1px solid rgba(255,248,240,.08);
  font-family: var(--ff-sans);
  font-size: .8125rem;
  color: rgba(255,248,240,.35);
}

/* ── Scroll reveal (progressive enhancement) ── */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(28px);
  }
  .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-stats {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
  .stat-card { flex: 1 1 140px; }
  .about-grid,
  .visit-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .about-content { max-width: 100%; }
  .gallery-item--wide,
  .gallery-item:not(.gallery-item--wide) {
    grid-column: span 6;
    height: 220px;
  }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .nav-list {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: var(--clr-cream);
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    transition: transform .35s cubic-bezier(.4,0,.2,1);
    z-index: 1000;
  }

  .nav-list.open { transform: translateX(0); }

  .nav-list a {
    font-size: 1.05rem;
    color: var(--clr-charcoal);
  }

  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(30,24,20,.5);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
  }

  .nav-overlay.active { opacity: 1; pointer-events: all; }

  .hero { padding: 100px 0 60px; min-height: auto; }
  .hero-main-card { padding: 36px 28px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { justify-content: center; }

  .offerings-grid { grid-template-columns: 1fr; }

  .gallery-item--wide,
  .gallery-item:not(.gallery-item--wide) {
    grid-column: span 12;
    height: 220px;
  }

  .footer-links { flex-wrap: wrap; gap: 16px 24px; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .hero-main-card { padding: 28px 22px; }
  .stat-card { flex: 1 1 100%; }
  .about-image-accent { display: none; }
}
