/* Leurasa — Warm, appetizing, Indonesian food aesthetic */

/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Inter:wght@400;500;600&display=swap');

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

:root {
  --amber-50: #fffbeb;
  --amber-100: #fef3c7;
  --amber-200: #fde68a;
  --amber-500: #f59e0b;
  --amber-600: #d97706;
  --amber-700: #b45309;
  --brown-800: #78350f;
  --brown-900: #451a03;
  --cream: #fff8f0;
  --white: #ffffff;
  --text-dark: #1c1108;
  --text-muted: #78716c;
  --border: #e8ddd4;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--cream);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4 { font-family: 'Playfair Display', Georgia, serif; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { font-size: 1rem; color: var(--text-muted); }

/* Layout helpers */
.container { max-width: 1140px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section--alt { background: var(--white); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--amber-600);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.35);
}
.btn-primary:hover { background: var(--amber-700); box-shadow: 0 6px 20px rgba(217, 119, 6, 0.45); }
.btn-secondary {
  background: var(--white);
  color: var(--amber-700);
  border: 2px solid var(--amber-600);
}
.btn-secondary:hover { background: var(--amber-50); }
.btn-dark {
  background: var(--brown-900);
  color: var(--white);
}
.btn-dark:hover { background: var(--brown-800); }

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

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(69, 26, 3, 0.85) 0%,
    rgba(69, 26, 3, 0.65) 50%,
    rgba(69, 26, 3, 0.3) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 6rem 1.5rem 4rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(251, 191, 36, 0.15);
  border: 1px solid rgba(251, 191, 36, 0.3);
  color: var(--amber-200);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.hero-badge svg { width: 14px; height: 14px; }

.hero h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero h1 span { color: var(--amber-200); }

.hero p.tagline-sub {
  color: rgba(255,255,255,0.85);
  font-size: 1.15rem;
  margin-bottom: 2.5rem;
  max-width: 520px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.hero-stat-value {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--amber-200);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.hero-stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

/* ===== HOW IT WORKS ===== */
.hiw-section { padding: 5rem 0; }
.hiw-section .section-header { text-align: center; margin-bottom: 3.5rem; }
.hiw-section .section-header h2 { color: var(--brown-900); margin-bottom: 0.75rem; }
.hiw-section .section-header p { max-width: 480px; margin: 0 auto; }

.hiw-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.hiw-step {
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: 16px;
  background: var(--white);
  border: 1px solid var(--border);
  position: relative;
}

.hiw-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--amber-100);
  color: var(--amber-700);
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hiw-step h3 { color: var(--brown-900); margin-bottom: 0.5rem; }
.hiw-step p { font-size: 0.9rem; }

/* ===== COOKS SECTION ===== */
.cooks-section { padding: 5rem 0; background: var(--brown-900); position: relative; overflow: hidden; }

.cooks-section::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(251, 191, 36, 0.06);
  pointer-events: none;
}

.cooks-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.cooks-content h2 { color: var(--white); margin-bottom: 1rem; }
.cooks-content p { color: rgba(255,255,255,0.7); margin-bottom: 2rem; }

.cook-steps { list-style: none; margin-bottom: 2.5rem; }
.cook-steps li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
}

.cook-steps li .step-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(251, 191, 36, 0.15);
  border: 1px solid rgba(251, 191, 36, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amber-200);
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 0.9rem;
}

.cooks-image { position: relative; border-radius: 16px; overflow: hidden; }
.cooks-image img { width: 100%; height: 380px; object-fit: cover; }
.cooks-image-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: rgba(69, 26, 3, 0.85);
  backdrop-filter: blur(8px);
  color: var(--amber-200);
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
}

/* ===== CATEGORIES ===== */
.categories-section { padding: 5rem 0; background: var(--cream); }
.categories-section .section-header { text-align: center; margin-bottom: 3rem; }
.categories-section .section-header h2 { color: var(--brown-900); margin-bottom: 0.75rem; }

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.25rem;
}

.category-card {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  height: 200px;
  cursor: pointer;
  transition: transform 0.2s;
}

.category-card:hover { transform: translateY(-4px); }

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(69,26,3,0.85) 0%, rgba(69,26,3,0.1) 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
}

.category-overlay h3 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.category-overlay p {
  color: rgba(255,255,255,0.75);
  font-size: 0.8rem;
}

/* ===== REQUEST FORM ===== */
.request-section { padding: 5rem 0; background: var(--white); }

.request-inner {
  max-width: 600px;
  margin: 0 auto;
}

.request-inner .section-header { text-align: center; margin-bottom: 2.5rem; }
.request-inner .section-header h2 { color: var(--brown-900); margin-bottom: 0.75rem; }

.form-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
}

.form-group { margin-bottom: 1.5rem; }

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--brown-800);
  margin-bottom: 0.5rem;
}

.form-group label .optional { font-weight: 400; color: var(--text-muted); }

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  background: var(--white);
  color: var(--text-dark);
  transition: border-color 0.2s;
}

.form-control:focus {
  outline: none;
  border-color: var(--amber-500);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

.form-control::placeholder { color: var(--text-muted); }

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2378716c' d='M6 8.825L1.175 4 2.238 2.938 6 6.7l3.763-3.762L10.825 4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

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

.form-submit { width: 100%; padding: 1rem; font-size: 1.05rem; }

.form-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

/* Success state */
.form-success {
  text-align: center;
  padding: 2rem;
}

.form-success .success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #dcfce7;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: #16a34a;
}

.form-success h3 { color: var(--brown-900); margin-bottom: 0.75rem; }
.form-success p { margin-bottom: 1.5rem; }

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: #25d366;
  color: white;
  padding: 0.85rem 1.75rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
  transition: transform 0.15s, box-shadow 0.15s;
}

.whatsapp-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4); }

/* ===== COOK SIGNUP ===== */
.cook-signup-section { padding: 5rem 0; background: var(--amber-50); }

.cook-signup-inner {
  max-width: 600px;
  margin: 0 auto;
}

.cook-signup-inner .section-header { text-align: center; margin-bottom: 2.5rem; }
.cook-signup-inner .section-header h2 { color: var(--brown-900); margin-bottom: 0.75rem; }
.cook-signup-inner .section-header p { max-width: 460px; margin: 0 auto; }

/* ===== FOOTER ===== */
.footer {
  background: var(--brown-900);
  color: rgba(255,255,255,0.6);
  padding: 3rem 0 2rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-brand { font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 700; color: var(--white); }
.footer-brand span { color: var(--amber-200); }

.footer-links { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.footer-links a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 0.9rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--amber-200); }

.footer-bottom { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.8rem; text-align: center; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero-content { padding: 5rem 1.5rem 3rem; }
  .hero h1 { font-size: 2.25rem; }
  .hero-stats { gap: 1.5rem; }
  .cooks-inner { grid-template-columns: 1fr; gap: 2rem; }
  .cooks-image { order: -1; }
  .cooks-image img { height: 260px; }
  .form-card { padding: 1.5rem; }
  .section { padding: 3.5rem 0; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}