/* ==========================================
   Ugly Dumplings — Shared Stylesheet
   ========================================== */

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

/* ==========================================
   CUSTOM PROPERTIES
   ========================================== */
:root {
  --red: #9E2231;
  --red-dark: #7C1A26;
  --orange: #FF7A00;
  --orange-dark: #E06A00;
  --black: #111111;
  --dark: #1A1A1A;
  --gray-700: #444444;
  --gray-500: #666666;
  --gray-300: #CCCCCC;
  --gray-100: #E8E2CF;
  --cream: #F7F3E3;
  --cream-dark: #EFE8D2;
  --white: #FFFFFF;

  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.14);

  --radius: 8px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --max-width: 1200px;
  --nav-height: 72px;
  --ease: 0.2s ease;
}

/* ==========================================
   RESET
   ========================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--black);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ==========================================
   TYPOGRAPHY
   ========================================== */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.2;
  color: var(--black);
}
h1 { font-size: clamp(2.4rem, 5vw, 3.75rem); font-weight: 900; }
h2 { font-size: clamp(1.875rem, 4vw, 2.75rem); font-weight: 700; }
h3 { font-size: 1.375rem; font-weight: 700; }
h4 { font-size: 1.0625rem; font-weight: 700; }
p { color: var(--gray-700); line-height: 1.75; }
.center { text-align: center; }

/* ==========================================
   UTILITIES
   ========================================== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.75rem;
}
.section-label.center { display: block; }

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--gray-500);
  max-width: 600px;
  margin: 0.875rem auto 3rem;
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-full);
  font-size: 0.9375rem;
  font-weight: 600;
  transition: background var(--ease), color var(--ease), border-color var(--ease), transform var(--ease), box-shadow var(--ease);
  cursor: pointer;
  text-align: center;
  border: 2px solid transparent;
  font-family: var(--font-body);
}
.btn-lg { padding: 1rem 2.5rem; font-size: 1rem; }
.btn-sm { padding: 0.5rem 1.25rem; font-size: 0.875rem; }

.btn-red { background: var(--red); color: var(--white); border-color: var(--red); }
.btn-red:hover { background: var(--red-dark); border-color: var(--red-dark); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(158,34,49,0.3); }

.btn-orange { background: var(--orange); color: var(--black); border-color: var(--orange); }
.btn-orange:hover { background: var(--orange-dark); border-color: var(--orange-dark); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(255,122,0,0.3); }

.btn-black { background: var(--black); color: var(--white); border-color: var(--black); }
.btn-black:hover { background: var(--dark); transform: translateY(-1px); }

.btn-outline { background: transparent; color: var(--black); border-color: var(--black); }
.btn-outline:hover { background: var(--black); color: var(--white); }

.btn-outline-white { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline-white:hover { background: var(--white); color: var(--black); }

.btn.disabled, .btn:disabled { opacity: 0.45; cursor: not-allowed; pointer-events: none; transform: none !important; box-shadow: none !important; }

.link-arrow { font-size: 0.9375rem; font-weight: 600; color: var(--red); }
.link-arrow:hover { text-decoration: underline; }

/* ==========================================
   NAVIGATION
   ========================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  background: rgba(247,243,227,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-100);
}
.nav-container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}
.nav-logo img { height: 50px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: color var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--black); }
.nav-links a.btn-red, .nav-links a.btn-red:hover { color: var(--white); }
.nav-links .btn { margin-left: 0.5rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: transform var(--ease), opacity var(--ease);
}

/* ==========================================
   PAGE OFFSET (for fixed nav)
   ========================================== */
.page-top-offset {
  margin-top: var(--nav-height);
}

/* ==========================================
   HERO
   ========================================== */
.hero { background: var(--red); }
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: calc(var(--nav-height) + 5rem) 2rem 5rem;
  min-height: 100vh;
}
.hero-eyebrow {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1rem;
}
.hero-title { margin-bottom: 1.5rem; color: var(--white); }
.hero-subtitle {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 2.5rem;
  max-width: 460px;
}
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 90%;
  max-width: 420px;
  aspect-ratio: 1;
  margin: 0 auto;
  padding: 8%;
  background: var(--cream);
  border-radius: 50%;
  box-shadow: 0 20px 48px rgba(0,0,0,0.25);
  animation: float 6s ease-in-out infinite;
}
.hero-logo { width: 100%; }
.hero-image.no-circle { background: none; box-shadow: none; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

/* ==========================================
   MENU
   ========================================== */
.menu { padding: 6rem 0; }
.menu h2 { margin-bottom: 3rem; }
.menu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: start; }
.menu-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}
.menu-card h3 { font-size: 1.25rem; color: var(--red); margin-bottom: 0.5rem; }
.menu-note { font-size: 0.875rem; color: var(--gray-500); margin-bottom: 0.25rem; }
.menu-list li {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--gray-100);
}
.menu-list li:last-child { border-bottom: none; }
.menu-name { font-weight: 500; }
.menu-name small { font-size: 0.8125rem; color: var(--gray-500); margin-left: 0.25rem; }
.menu-dots { flex: 1; min-width: 1rem; border-bottom: 2px dotted var(--gray-300); }
.menu-price { font-weight: 700; white-space: nowrap; }
.menu-feature {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
  padding: 2rem 2.25rem;
  background: var(--red);
  border-radius: var(--radius-lg);
}
.menu-feature h3 { color: var(--white); font-size: 1.5rem; }
.menu-feature p { color: rgba(255,255,255,0.8); margin-top: 0.25rem; }
.menu-feature-price {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
  color: var(--orange);
}

@media (max-width: 1024px) {
  .menu-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .menu { padding: 4rem 0; }
  .menu-grid { grid-template-columns: 1fr; }
  .menu-feature { padding: 1.5rem; }
}

/* ==========================================
   VISIT US
   ========================================== */
.visit { padding: 6rem 0; background: var(--cream-dark); }
.visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.visit-text h2 { margin-bottom: 1rem; }
.visit-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 2rem 0;
  padding: 1.5rem 0;
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
}
.visit-details dt {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.375rem;
}
.visit-details dd { font-weight: 600; color: var(--black); line-height: 1.6; }
.visit-details dd a:hover { color: var(--red); }
.ig-handle { display: inline-flex; align-items: center; gap: 0.4rem; }
.visit-map iframe {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

@media (max-width: 768px) {
  .visit { padding: 4rem 0; }
  .visit-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ==========================================
   FOOTER
   ========================================== */
.footer { background: var(--red-dark); color: var(--white); padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 4rem; margin-bottom: 3rem; }
.footer-brand img { filter: brightness(0) invert(1); height: 56px; }
.footer-brand p { color: rgba(255,255,255,0.7); margin-top: 1.25rem; font-size: 0.9375rem; max-width: 300px; }
.footer-links h4, .footer-info h4 {
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  font-family: var(--font-body);
}
.footer-links ul { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-links a { color: rgba(255,255,255,0.7); font-size: 0.9375rem; transition: color var(--ease); }
.footer-links a:hover { color: var(--white); }
.footer-info p { color: rgba(255,255,255,0.7); font-size: 0.9375rem; }
.footer-info a:hover { color: var(--white); }
.footer-info .footer-sub-heading { margin-top: 1.5rem; }
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.4);
  color: var(--white);
  transition: background var(--ease), color var(--ease), border-color var(--ease);
}
.social-link:hover { background: var(--white); color: var(--red-dark); border-color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 2rem; }
.footer-bottom p { color: rgba(255,255,255,0.5); font-size: 0.8125rem; text-align: center; }

/* ==========================================
   INTERIOR PAGE HERO
   ========================================== */
.page-hero {
  background: var(--cream-dark);
  padding: calc(var(--nav-height) + 4rem) 0 4rem;
  text-align: center;
}
.page-hero h1 { margin-bottom: 1rem; }
.page-hero p { font-size: 1.0625rem; color: var(--gray-500); max-width: 600px; margin: 0 auto; }

.page-content { padding: 4rem 0; }

/* Cooking page */
.cooking-methods {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 740px;
  margin: 0 auto;
}
.cooking-method {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

/* Accordion header */
.cooking-method-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  background: var(--red);
  color: var(--white);
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
  font-family: var(--font-body);
}
.cooking-method-toggle:hover { background: var(--red-dark); }
.cooking-method.open .cooking-method-toggle { background: var(--red-dark); box-shadow: inset 4px 0 0 var(--orange); }

.cooking-method-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.cooking-method-icon { font-size: 1.5rem; }
.cooking-method-toggle h2 {
  font-size: 1.375rem;
  font-family: var(--font-display);
  color: var(--white);
  margin: 0;
}
.cooking-chevron {
  font-size: 1.25rem;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  color: var(--orange);
}
.cooking-method.open .cooking-chevron { transform: rotate(180deg); }

/* Accordion body */
.cooking-method-body {
  max-height: 0;
  overflow: hidden;
  background: var(--white);
  transition: max-height 0.35s ease;
}
.cooking-method.open .cooking-method-body {
  max-height: 600px;
}

.cooking-steps {
  list-style: none;
  counter-reset: step;
  padding: 1.5rem 2rem;
  margin: 0;
}
.cooking-steps li {
  counter-increment: step;
  padding: 0.75rem 0 0.75rem 2rem;
  position: relative;
  font-size: 0.9375rem;
  color: var(--gray-700);
  line-height: 1.7;
  border-bottom: 1px solid var(--gray-100);
}
.cooking-steps li:last-child { border-bottom: none; }
.cooking-steps li::before {
  content: counter(step) ".";
  position: absolute;
  left: 0;
  font-weight: 700;
  color: var(--red);
  font-size: 0.9375rem;
  font-family: var(--font-body);
}
.cooking-tip {
  margin: 0 2rem 1.5rem;
  padding: 1rem 1.25rem;
  background: var(--cream);
  border-radius: var(--radius);
  font-size: 0.875rem;
  color: var(--gray-700);
  border-left: 3px solid var(--orange);
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

@media (max-width: 768px) {
  :root { --nav-height: 60px; }
  .container { padding: 0 1.25rem; }

  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
    gap: 1rem;
    border-bottom: 1px solid var(--gray-100);
    box-shadow: var(--shadow-lg);
    transform: translateY(-110%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.25s ease, opacity var(--ease), visibility var(--ease);
    z-index: 99;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; visibility: visible; }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: calc(36px + var(--nav-height) + 2.5rem);
    padding-bottom: 3rem;
    gap: 2rem;
  }
  .hero-subtitle { margin: 0 auto 2rem; }
  .hero-cta { justify-content: center; }
  .hero-image { order: -1; max-width: 240px; }


  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 480px) {
  .hero-cta { flex-direction: column; align-items: center; }
  .btn-lg { width: 100%; text-align: center; }
}
