:root {
  --plum: #6B2F5B;
  --plum-deep: #4A1F3F;
  --plum-light: #8B4572;
  --amber: #D4911A;
  --amber-light: #E8A832;
  --amber-pale: #FDF3E0;
  --cream: #FAFAF8;
  --white: #FFFFFF;
  --text: #1A1A1A;
  --text-muted: #6B6B6B;
  --text-light: #999999;
  --line: #E8E6E1;
  --font-serif: 'Instrument Serif', Georgia, serif;
  --font-sans: 'Inter', -apple-system, sans-serif;
}

*, *::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: var(--font-sans);
  font-weight: 300;
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
  font-size: 16px;
}

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

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

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

/* LABEL */
.label {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 16px;
  display: block;
}

/* SECTION TITLE */
.section-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

/* THIN TEXT */
.thin {
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 1.05rem;
}

/* SECTION */
.section {
  padding: 120px 0;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.04em;
  padding: 14px 32px;
  border-radius: 100px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn--small {
  padding: 10px 24px;
  font-size: 13px;
}

.btn--plum {
  background: var(--plum);
  color: var(--white);
  border-color: var(--plum);
}

.btn--plum:hover {
  background: var(--plum-deep);
  border-color: var(--plum-deep);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(107, 47, 91, 0.25);
}

.btn--light {
  background: var(--white);
  color: var(--plum);
  border-color: var(--white);
}

.btn--light:hover {
  background: var(--amber-pale);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.btn--outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}

.btn--outline-light:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
}

/* ========== NAV ========== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 24px;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

.nav.scrolled {
  background: rgba(250, 250, 248, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--white);
  transition: color 0.4s ease;
}

.nav.scrolled .nav-logo {
  color: var(--plum);
}

.nav-logo-icon {
  flex-shrink: 0;
}

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

.nav-links a {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: rgba(255,255,255,0.8);
  transition: color 0.3s ease;
  text-decoration: none;
}

.nav.scrolled .nav-links a {
  color: var(--text-muted);
}

.nav-links a:hover {
  color: var(--amber);
}

.nav.scrolled .nav-links a:hover {
  color: var(--plum);
}

.nav-links .btn {
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}

.nav.scrolled .nav-links .btn {
  color: var(--plum);
  border-color: var(--plum);
}

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

.nav-toggle span {
  width: 22px;
  height: 1.5px;
  background: var(--white);
  transition: all 0.3s ease;
  display: block;
}

.nav.scrolled .nav-toggle span {
  background: var(--plum);
}

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

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

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

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--plum-deep) 0%, var(--plum) 35%, var(--plum-light) 60%, var(--amber) 100%);
  z-index: 0;
}

.hero-gradient::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 80%, rgba(107, 47, 91, 0.4) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 20%, rgba(212, 145, 26, 0.3) 0%, transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding: 0 24px;
}

.hero-eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber-light);
  margin-bottom: 28px;
}

.hero-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}

.hero-sub {
  font-weight: 300;
  font-size: 1.15rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
  max-width: 520px;
  margin: 0 auto 44px;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  color: rgba(255,255,255,0.5);
  animation: scrollBounce 2s ease-in-out infinite;
}

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

/* ========== ABOUT ========== */
.about {
  background: var(--white);
}

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

.about-text .section-title {
  margin-bottom: 28px;
}

.about-text .thin {
  margin-bottom: 16px;
}

.about-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-num {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--plum);
  line-height: 1;
}

.stat-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--line);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

/* ========== PRODUCTS ========== */
.products {
  background: var(--cream);
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 72px;
}

.section-header .thin {
  margin: 0 auto;
}

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

.product-card {
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.08);
}

.product-card-img img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.product-card h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 400;
  padding: 20px 24px 0;
  color: var(--text);
}

.product-card .thin {
  padding: 10px 24px 24px;
  font-size: 0.95rem;
}

/* ========== BAKERY ========== */
.bakery {
  background: var(--white);
}

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

.bakery-image-wrap img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  border-radius: 4px;
}

.bakery-content .section-title {
  margin-bottom: 24px;
}

.bakery-content .thin {
  margin-bottom: 16px;
}

.bakery-list {
  list-style: none;
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.bakery-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-weight: 300;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
}

.bakery-list svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--amber);
}

/* ========== VISIT ========== */
.visit {
  background: var(--cream);
}

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

.visit-info .section-title {
  margin-bottom: 40px;
}

.visit-details {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

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

.visit-icon {
  color: var(--plum);
  flex-shrink: 0;
  margin-top: 2px;
}

.visit-detail strong {
  display: block;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
  color: var(--text);
}

.visit-detail p {
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 0.95rem;
}

.visit-detail a {
  color: var(--plum);
  border-bottom: 1px solid var(--line);
  transition: border-color 0.3s ease;
}

.visit-detail a:hover {
  border-color: var(--plum);
}

.visit-map {
  border-radius: 4px;
  overflow: hidden;
  min-height: 400px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

/* ========== CONTACT ========== */
.contact {
  background: var(--white);
}

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

.contact-text .section-title {
  margin-bottom: 20px;
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

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

.form-group label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-group input,
.form-group textarea {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 1rem;
  color: var(--text);
  background: var(--cream);
  border: 1.5px solid var(--line);
  border-radius: 4px;
  padding: 14px 16px;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--plum);
  box-shadow: 0 0 0 3px rgba(107, 47, 91, 0.08);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-light);
}

.form-success {
  display: none;
  font-weight: 400;
  color: var(--plum);
  font-size: 0.95rem;
  padding: 16px;
  background: rgba(107, 47, 91, 0.06);
  border-radius: 4px;
  text-align: center;
}

.form-success.show {
  display: block;
}

/* ========== FOOTER ========== */
.footer {
  background: var(--plum-deep);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 40px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-brand .thin {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
}

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

.footer-links a {
  font-size: 14px;
  font-weight: 400;
  color: rgba(255,255,255,0.6);
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--amber-light);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  font-weight: 300;
}

.footer-contact a {
  color: rgba(255,255,255,0.6);
  transition: color 0.3s ease;
}

.footer-contact a:hover {
  color: var(--amber-light);
}

.footer-bottom {
  padding-top: 32px;
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  font-weight: 300;
}

/* ========== ANIMATIONS ========== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .about-grid,
  .bakery-layout,
  .visit-grid,
  .contact-layout {
    gap: 48px;
  }

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

@media (max-width: 768px) {
  .section {
    padding: 80px 0;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    padding: 40px;
    transition: right 0.4s ease;
    box-shadow: -8px 0 32px rgba(0,0,0,0.1);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    color: var(--text) !important;
    font-size: 16px;
  }

  .nav-links .btn {
    color: var(--white) !important;
    border-color: var(--plum) !important;
  }

  .nav-toggle {
    display: flex;
  }

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

  .about-image {
    order: -1;
  }

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

  .form-row {
    grid-template-columns: 1fr;
  }

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

  .hero-title {
    font-size: clamp(2.4rem, 10vw, 3.6rem);
  }

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

  .bakery-image-wrap img {
    height: 300px;
  }
}

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

  .section {
    padding: 64px 0;
  }

  .hero-actions {
    flex-direction: column;
    gap: 12px;
  }

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