/* ========================================
   MIX — Artisan Bakery & Grocery
   Stylesheet
   ======================================== */

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  color: #1a1a1a;
  background-color: #F5F0E8;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Typography ---- */
.section-eyebrow {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #064e3b;
  margin-bottom: 16px;
  display: block;
}

.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.15;
  color: #1a1a1a;
  margin-bottom: 32px;
}

.title-accent {
  font-style: italic;
  color: #064e3b;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 0;
  transition: all 0.3s ease;
}

.btn--primary {
  background-color: #064e3b;
  color: #F5F0E8;
  border: 1px solid #064e3b;
}

.btn--primary:hover {
  background-color: #047857;
  border-color: #047857;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(6, 78, 59, 0.2);
}

.btn--ghost {
  background-color: transparent;
  color: #064e3b;
  border: 1px solid #064e3b;
}

.btn--ghost:hover {
  background-color: #064e3b;
  color: #F5F0E8;
}

.btn--full {
  width: 100%;
}

/* ---- Navigation ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(245, 240, 232, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(6, 78, 59, 0.08);
  transition: box-shadow 0.3s ease;
}

.nav.scrolled {
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-logo-mark {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 500;
  color: #064e3b;
}

.nav-logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 400;
  color: #1a1a1a;
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #4a4a4a;
  transition: color 0.2s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: #064e3b;
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: #064e3b;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link--cta {
  color: #064e3b;
  border: 1px solid #064e3b;
  padding: 8px 20px;
  transition: all 0.3s ease;
}

.nav-link--cta::after {
  display: none;
}

.nav-link--cta:hover {
  background-color: #064e3b;
  color: #F5F0E8;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.nav-toggle-line {
  display: block;
  width: 22px;
  height: 1.5px;
  background-color: #1a1a1a;
  transition: all 0.3s ease;
}

.nav-toggle.active .nav-toggle-line:nth-child(1) {
  transform: rotate(45deg) translate(4px, 5px);
}

.nav-toggle.active .nav-toggle-line:nth-child(2) {
  opacity: 0;
}

/* ---- Mobile Menu ---- */
.mobile-menu {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  background-color: #F5F0E8;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.mobile-menu-link {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 400;
  color: #1a1a1a;
  transition: color 0.2s ease;
}

.mobile-menu-link:hover {
  color: #064e3b;
}

.mobile-menu-link--cta {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #064e3b;
  border: 1px solid #064e3b;
  padding: 12px 28px;
  margin-top: 8px;
}

/* ---- Hero ---- */
.hero {
  min-height: 100vh;
  padding-top: 72px;
  background-color: #F5F0E8;
  display: flex;
  flex-direction: column;
}

.hero-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 24px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  min-height: calc(100vh - 72px);
}

.hero-content {
  max-width: 560px;
}

.hero-eyebrow {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #064e3b;
  margin-bottom: 24px;
}

.hero-headline {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 400;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.08;
  color: #1a1a1a;
  margin-bottom: 28px;
}

.hero-headline--accent {
  font-style: italic;
  color: #064e3b;
}

.hero-sub {
  font-size: 17px;
  line-height: 1.75;
  color: #4a4a4a;
  margin-bottom: 40px;
  max-width: 440px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-meta {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #6a6a6a;
  letter-spacing: 0.02em;
}

.hero-meta-item svg {
  color: #064e3b;
  flex-shrink: 0;
}

/* Hero Image Stack */
.hero-visual {
  position: relative;
  height: 680px;
}

.hero-image-stack {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-img {
  position: absolute;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

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

.hero-img--main {
  width: 380px;
  height: 520px;
  top: 40px;
  right: 0;
  z-index: 1;
}

.hero-img--float {
  width: 300px;
  height: 220px;
  bottom: 100px;
  left: 0;
  z-index: 2;
  border: 4px solid #F5F0E8;
}

.hero-img--accent {
  width: 180px;
  height: 180px;
  bottom: 20px;
  right: 40px;
  z-index: 3;
  border: 4px solid #F5F0E8;
  border-radius: 50%;
}

.hero-divider {
  background-color: #F5F0E8;
  margin-top: auto;
}

/* ---- About ---- */
.about {
  padding: 120px 0;
  background-color: #F5F0E8;
}

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

.about-image {
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 700px;
  object-fit: cover;
  display: block;
}

.about-content {
  padding: 20px 0;
}

.about-text {
  font-size: 16px;
  line-height: 1.8;
  color: #4a4a4a;
  margin-bottom: 20px;
}

.about-stats {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid rgba(6, 78, 59, 0.15);
}

.stat {
  flex: 1;
}

.stat-number {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 400;
  color: #064e3b;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 13px;
  line-height: 1.6;
  color: #6a6a6a;
}

.stat-divider {
  width: 1px;
  background-color: rgba(6, 78, 59, 0.15);
  align-self: stretch;
}

/* ---- Offerings ---- */
.offerings {
  padding: 120px 0;
  background-color: #EDE6D6;
}

.offerings-header {
  max-width: 640px;
  margin-bottom: 72px;
}

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

.offering-card {
  background-color: #F5F0E8;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.offering-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

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

.offering-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

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

.offering-body {
  padding: 32px;
}

.offering-title {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 400;
  color: #1a1a1a;
  margin-bottom: 12px;
}

.offering-desc {
  font-size: 15px;
  line-height: 1.75;
  color: #6a6a6a;
}

/* ---- Philosophy ---- */
.philosophy {
  padding: 120px 0;
  background-color: #F5F0E8;
}

.philosophy-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.philosophy-image {
  overflow: hidden;
}

.philosophy-image img {
  width: 100%;
  height: 750px;
  object-fit: cover;
  display: block;
}

.philosophy-points {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 48px;
}

.philosophy-point {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 20px;
}

.philosophy-point-num {
  font-family: 'Playfair Display', serif;
  font-size: 14px;
  color: #064e3b;
  padding-top: 4px;
}

.philosophy-point-title {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 400;
  color: #1a1a1a;
  margin-bottom: 8px;
}

.philosophy-point-desc {
  font-size: 15px;
  line-height: 1.75;
  color: #6a6a6a;
}

/* ---- Visit ---- */
.visit {
  padding: 120px 0;
  background-color: #EDE6D6;
}

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

.visit-info {
  padding: 20px 0;
}

.visit-details {
  display: flex;
  flex-direction: column;
  gap: 36px;
  margin-top: 48px;
}

.visit-detail {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.visit-detail svg {
  color: #064e3b;
  flex-shrink: 0;
  margin-top: 2px;
}

.visit-detail-label {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #064e3b;
  margin-bottom: 6px;
}

.visit-detail-value {
  font-size: 16px;
  line-height: 1.7;
  color: #1a1a1a;
}

.visit-detail-value a {
  color: #1a1a1a;
  border-bottom: 1px solid rgba(6, 78, 59, 0.3);
  transition: border-color 0.2s ease;
}

.visit-detail-value a:hover {
  border-color: #064e3b;
}

.visit-map {
  min-height: 480px;
  background-color: #d4cfc5;
}

.visit-map iframe {
  width: 100%;
  height: 100%;
  min-height: 480px;
}

/* ---- Contact ---- */
.contact {
  padding: 120px 0;
  background-color: #F5F0E8;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-text {
  padding-top: 20px;
}

.contact-desc {
  font-size: 16px;
  line-height: 1.8;
  color: #4a4a4a;
  margin-top: 24px;
}

.contact-form-wrapper {
  background-color: #EDE6D6;
  padding: 48px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #064e3b;
}

.form-input {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 15px;
  color: #1a1a1a;
  background-color: #F5F0E8;
  border: 1px solid rgba(6, 78, 59, 0.2);
  padding: 14px 16px;
  outline: none;
  transition: border-color 0.2s ease;
  border-radius: 0;
  -webkit-appearance: none;
}

.form-input:focus {
  border-color: #064e3b;
}

.form-input::placeholder {
  color: #a0a0a0;
}

.form-select {
  cursor: pointer;
}

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

.form-success {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  background-color: #d1fae5;
  color: #064e3b;
  font-size: 14px;
  font-weight: 400;
  border: 1px solid #a7f3d0;
}

.form-success svg {
  flex-shrink: 0;
}

/* ---- Footer ---- */
.footer {
  background-color: #064e3b;
  color: #F5F0E8;
  padding: 80px 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(245, 240, 232, 0.12);
}

.footer-brand {
  max-width: 320px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-bottom: 20px;
}

.footer-logo-mark {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 500;
  color: #F5F0E8;
}

.footer-logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 400;
  color: #F5F0E8;
  letter-spacing: 0.02em;
}

.footer-tagline {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(245, 240, 232, 0.65);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-col-title {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.5);
  margin-bottom: 20px;
}

.footer-link {
  display: block;
  font-size: 14px;
  color: rgba(245, 240, 232, 0.75);
  padding: 6px 0;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: #F5F0E8;
}

.footer-link--static {
  display: block;
  padding: 6px 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 0;
}

.footer-copy {
  font-size: 13px;
  color: rgba(245, 240, 232, 0.4);
}

.footer-location {
  font-size: 13px;
  color: rgba(245, 240, 232, 0.4);
}

/* ---- Scroll Animations ---- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .hero-grid {
    gap: 40px;
  }

  .hero-visual {
    height: 520px;
  }

  .hero-img--main {
    width: 280px;
    height: 400px;
  }

  .hero-img--float {
    width: 220px;
    height: 170px;
  }

  .hero-img--accent {
    width: 140px;
    height: 140px;
  }

  .about-grid,
  .philosophy-layout,
  .visit-grid,
  .contact-layout {
    gap: 48px;
  }

  .about-image img,
  .philosophy-image img {
    height: 520px;
  }
}

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

  .nav-toggle {
    display: flex;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    padding-top: 40px;
    padding-bottom: 0;
    min-height: auto;
    gap: 48px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-visual {
    height: 400px;
    order: -1;
  }

  .hero-img--main {
    width: 200px;
    height: 280px;
    top: 20px;
    right: 20px;
  }

  .hero-img--float {
    width: 160px;
    height: 120px;
    bottom: 60px;
    left: 10px;
  }

  .hero-img--accent {
    width: 100px;
    height: 100px;
    bottom: 10px;
    right: 20px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .about-grid,
  .philosophy-layout,
  .visit-grid,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-image img,
  .philosophy-image img {
    height: 400px;
  }

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

  .about-stats {
    flex-direction: column;
    gap: 24px;
  }

  .stat-divider {
    display: none;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .contact-form-wrapper {
    padding: 32px 24px;
  }

  .visit-map {
    min-height: 320px;
  }

  .visit-map iframe {
    min-height: 320px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 20px;
  }

  .hero {
    padding-top: 72px;
  }

  .hero-grid {
    padding: 24px 20px 0;
  }

  .hero-visual {
    height: 300px;
  }

  .hero-img--main {
    width: 160px;
    height: 220px;
  }

  .hero-img--float {
    width: 130px;
    height: 100px;
  }

  .hero-img--accent {
    width: 80px;
    height: 80px;
  }

  section {
    padding: 80px 0;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
