/* ============================================
   ETMINAN MARKET — Brand Styles
   Palette: Burgundy (#7B2D3B) + Blush (#F5E6E0)
   Fonts: Playfair Display + Inter
   ============================================ */

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

:root {
  --burgundy: #7B2D3B;
  --burgundy-dark: #5C1F2B;
  --burgundy-light: #9A3D4E;
  --blush: #F5E6E0;
  --blush-light: #FAF3F0;
  --blush-dark: #E8D0C8;
  --neutral-900: #1A1A1A;
  --neutral-700: #3D3D3D;
  --neutral-500: #6B6B6B;
  --neutral-300: #B0B0B0;
  --neutral-100: #F7F7F7;
  --white: #FFFFFF;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --shadow-sm: 0 1px 3px rgba(123,45,59,0.08);
  --shadow-md: 0 4px 20px rgba(123,45,59,0.10);
  --shadow-lg: 0 8px 40px rgba(123,45,59,0.12);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: var(--font-body);
  color: var(--neutral-700);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

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

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(123,45,59,0.08);
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--burgundy);
}

.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--burgundy);
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 800;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.main-nav a {
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--neutral-700);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.main-nav a:hover {
  color: var(--burgundy);
  background: var(--blush-light);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  position: relative;
}

.hamburger {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: block;
  width: 22px;
  height: 2px;
  background: var(--burgundy);
  transition: var(--transition);
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--burgundy);
  transition: var(--transition);
}

.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

.nav-toggle[aria-expanded="true"] .hamburger {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .hamburger::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
  top: 0;
  transform: rotate(-45deg);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

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

.btn-primary:hover {
  background: var(--burgundy-dark);
  border-color: var(--burgundy-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background: transparent;
  color: var(--burgundy);
  border-color: var(--burgundy);
}

.btn-ghost:hover {
  background: var(--burgundy);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.875rem;
}

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

/* ============================================
   SECTION HELPERS
   ============================================ */
.section-eyebrow {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--burgundy);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--neutral-900);
  line-height: 1.2;
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--neutral-500);
  max-width: 560px;
  line-height: 1.7;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  background: linear-gradient(135deg, var(--blush-light) 0%, var(--white) 50%, var(--blush) 100%);
  overflow: hidden;
}

.hero-pattern {
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background:
    radial-gradient(circle at 80% 20%, rgba(123,45,59,0.04) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(123,45,59,0.03) 0%, transparent 50%);
  pointer-events: none;
}

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

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--burgundy);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--burgundy);
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--neutral-900);
  margin-bottom: 24px;
}

.hero-headline em {
  color: var(--burgundy);
  font-style: italic;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--neutral-500);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 480px;
}

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

.hero-stats {
  display: flex;
  gap: 32px;
  align-items: center;
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--burgundy);
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--neutral-500);
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--blush-dark);
}

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

.hero-image-stack {
  position: relative;
}

.hero-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-img-main {
  width: 100%;
  aspect-ratio: 600/750;
}

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

.hero-img-accent {
  position: absolute;
  bottom: -40px;
  left: -60px;
  width: 60%;
  aspect-ratio: 400/300;
  border: 6px solid var(--white);
  box-shadow: var(--shadow-lg);
}

.hero-img-accent img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.hero-badge {
  position: absolute;
  top: 32px;
  right: -20px;
  background: var(--white);
  color: var(--burgundy);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-md);
  z-index: 2;
}

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

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

.about-image {
  position: relative;
}

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

.about-image-accent {
  position: absolute;
  bottom: -24px;
  right: -24px;
  width: 200px;
  height: 200px;
  background: var(--blush);
  border-radius: var(--radius-lg);
  z-index: -1;
}

.about-content p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--neutral-500);
  margin-bottom: 16px;
}

.about-content p:first-of-type {
  font-size: 1.05rem;
  color: var(--neutral-700);
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 36px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--neutral-700);
}

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

/* ============================================
   PRODUCTS
   ============================================ */
.products {
  padding: 120px 0;
  background: var(--blush-light);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

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

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

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.product-img {
  overflow: hidden;
  aspect-ratio: 480/360;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-img img {
  transform: scale(1.05);
}

.product-info {
  padding: 28px;
}

.product-info h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--neutral-900);
  margin-bottom: 10px;
}

.product-info p {
  font-size: 0.95rem;
  color: var(--neutral-500);
  line-height: 1.7;
}

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

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

.bakery-content p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--neutral-500);
  margin-bottom: 16px;
}

.bakery-content p:first-of-type {
  font-size: 1.05rem;
  color: var(--neutral-700);
}

.bakery-content .btn {
  margin-top: 32px;
}

.bakery-images {
  position: relative;
  height: 640px;
}

.bakery-img-large {
  position: absolute;
  top: 0;
  right: 0;
  width: 75%;
  height: 80%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.bakery-img-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bakery-img-small {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 55%;
  height: 45%;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 6px solid var(--white);
  box-shadow: var(--shadow-md);
}

.bakery-img-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================
   VISIT
   ============================================ */
.visit {
  padding: 120px 0;
  background: var(--neutral-900);
  color: var(--white);
}

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

.visit .section-eyebrow {
  color: var(--blush);
}

.visit .section-title {
  color: var(--white);
}

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

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

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

.visit-detail strong {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}

.visit-detail p {
  font-size: 0.95rem;
  color: var(--neutral-300);
  line-height: 1.6;
}

.visit-detail a {
  color: var(--blush);
  transition: var(--transition);
}

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

.visit .btn-primary {
  margin-top: 16px;
}

.visit-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 420px;
  box-shadow: var(--shadow-lg);
}

.map-placeholder {
  width: 100%;
  height: 100%;
  min-height: 420px;
}

/* ============================================
   CTA
   ============================================ */
.cta {
  padding: 120px 0;
  background: linear-gradient(135deg, var(--burgundy) 0%, var(--burgundy-dark) 100%);
  color: var(--white);
}

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

.cta .section-eyebrow {
  color: var(--blush);
}

.cta .section-title {
  color: var(--white);
}

.cta-content p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.75;
  margin-top: 16px;
}

.cta-form-wrapper {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

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

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

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

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--neutral-700);
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 12px 16px;
  border: 1.5px solid var(--blush-dark);
  border-radius: var(--radius-sm);
  color: var(--neutral-900);
  background: var(--blush-light);
  transition: var(--transition);
  outline: none;
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--burgundy);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(123,45,59,0.1);
}

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

.form-success {
  text-align: center;
  padding: 16px;
  background: #E8F5E9;
  color: #2E7D32;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 500;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--neutral-900);
  color: var(--neutral-300);
  padding: 80px 0 0;
}

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

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--neutral-500);
  max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--neutral-500);
  transition: var(--transition);
}

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

.footer-contact p {
  font-size: 0.9rem;
  line-height: 1.7;
}

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

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

.footer-bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--neutral-500);
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero-grid,
  .about-grid,
  .bakery-grid,
  .visit-grid,
  .cta-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-visual {
    order: -1;
    max-width: 500px;
    margin: 0 auto;
  }

  .hero-img-accent {
    left: -30px;
    bottom: -20px;
  }

  .bakery-images {
    height: 480px;
    max-width: 500px;
    margin: 0 auto;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

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

  .main-nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid rgba(123,45,59,0.08);
    padding: 24px;
    box-shadow: var(--shadow-md);
    transform: translateY(-120%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
  }

  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 4px;
    width: 100%;
  }

  .main-nav a {
    display: block;
    padding: 12px 16px;
    width: 100%;
  }

  .hero {
    padding: 100px 0 60px;
    min-height: auto;
  }

  .hero-stats {
    gap: 20px;
  }

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

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

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

  .about-features {
    grid-template-columns: 1fr;
  }

  .bakery-images {
    height: 400px;
  }

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

  .cta-form-wrapper {
    padding: 28px;
  }

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

  .footer-brand {
    grid-column: auto;
  }

  .visit-grid {
    gap: 48px;
  }
}

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

  .hero-headline {
    font-size: 1.75rem;
  }

  .hero-img-accent {
    display: none;
  }

  .about-image-accent {
    display: none;
  }
}
