/* ============================================
   ANNA EXPRESS by Surin Foodworks
   Yellow · Red · Green · White background
   Mobile-first friendly
   ============================================ */

:root {
  --yellow: #F5C518;
  --yellow-dark: #E0B000;
  --yellow-light: #FFF8DC;

  --red: #D9171F;
  --red-dark: #B01218;

  --green: #1A8F3C;
  --green-dark: #14702E;

  --white: #FFFFFF;
  --off-white: #FAFAFA;
  --cream: #FFF9E6;
  --charcoal: #1A1A1A;
  --charcoal-soft: #333333;
  --gray: #666666;
  --gray-light: #F0F0F0;
  --border: #EAEAEA;

  --shadow-sm: 0 2px 10px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 25px rgba(0,0,0,0.08);
  --shadow-lg: 0 15px 40px rgba(0,0,0,0.1);
  --radius: 12px;
  --radius-lg: 18px;
  --transition: all 0.3s ease;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul { list-style: none; }

h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.25;
  color: var(--charcoal);
}

/* Typography */
.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.7rem;
}

.section-title {
  font-size: clamp(1.7rem, 4vw, 2.7rem);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 620px;
  margin: 0 auto 2rem;
}

/* Layout */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 4rem 0;
}

.section-alt {
  background: var(--cream);
}

.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.highlight-text { color: var(--red); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.7rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background: var(--yellow);
  color: var(--charcoal);
  border-color: var(--yellow);
}

.btn-primary:hover {
  background: var(--yellow-dark);
  border-color: var(--yellow-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(245, 197, 24, 0.35);
}

.btn-secondary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.btn-secondary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
}

.btn-outline {
  background: transparent;
  color: var(--charcoal);
  border-color: var(--charcoal);
}

.btn-outline:hover {
  background: var(--charcoal);
  color: var(--white);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.02rem;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header.scrolled {
  box-shadow: var(--shadow-sm);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
}

.logo img {
  height: 46px;
  width: auto;
  flex-shrink: 0;
}

.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.15;
}

.logo-text span {
  display: block;
  font-size: 0.58rem;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  color: var(--gray);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--charcoal-soft);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2.5px;
  background: var(--yellow);
  transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--charcoal);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2.5px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  min-height: auto;
  display: flex;
  align-items: center;
  padding: 7rem 0 3rem;
  background: var(--white);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -8%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(245,197,24,0.16) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  padding: 0.5rem 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--yellow-light);
  color: var(--charcoal);
  padding: 0.4rem 0.95rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 1.1rem;
  border: 1px solid rgba(245,197,24,0.4);
}

.hero h1 {
  font-size: clamp(1.9rem, 4.5vw, 3.3rem);
  margin-bottom: 1rem;
}

.hero h1 .highlight {
  color: var(--red);
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--gray);
  margin-bottom: 1.6rem;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.6rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--charcoal-soft);
}

.trust-item .icon {
  width: 24px;
  height: 24px;
  background: var(--green);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
}

.hero-visual {
  position: relative;
}

.hero-visual > div {
  max-width: 320px;
  margin-left: auto;
}

/* Why Us */
.why-us {
  background: var(--yellow);
  color: var(--charcoal);
  padding: 2rem 0;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  text-align: center;
}

.why-item .icon-wrap {
  width: 50px;
  height: 50px;
  background: rgba(0,0,0,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.7rem;
  font-size: 1.35rem;
}

.why-item h4 {
  color: var(--charcoal);
  font-size: 1rem;
  margin-bottom: 0.25rem;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
}

.why-item p {
  font-size: 0.84rem;
  opacity: 0.85;
}

/* Menu cards */
.delicacies-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.3rem;
}

.delicacy-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border);
}

.delicacy-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--yellow);
}

.delicacy-card .img-wrap {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.delicacy-card .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.delicacy-card .badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--yellow);
  color: var(--charcoal);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.28rem 0.7rem;
  border-radius: 50px;
}

.delicacy-card .content {
  padding: 1.2rem;
}

.delicacy-card h3 {
  font-size: 1.12rem;
  margin-bottom: 0.35rem;
}

.delicacy-card p {
  font-size: 0.9rem;
  color: var(--gray);
}

/* Cards / media */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.testimonial-card {
  background: var(--white);
  padding: 1.4rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--yellow);
  transition: var(--transition);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
}

.testimonial-card p {
  font-size: 0.92rem;
  color: var(--charcoal-soft);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.testimonial-card .author {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.testimonial-card .avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--yellow), var(--red));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
}

.testimonial-card .author-info strong {
  display: block;
  font-size: 0.9rem;
}

.testimonial-card .author-info span {
  font-size: 0.78rem;
  color: var(--gray);
}

/* Location */
.location-highlight {
  background: var(--cream);
  padding: 3.5rem 0;
  text-align: center;
}

.location-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--yellow);
  max-width: 700px;
  margin: 0 auto;
}

.location-box h2 { margin-bottom: 0.7rem; }
.location-box p {
  color: var(--gray);
  margin-bottom: 1.3rem;
}

/* Footer */
.footer {
  background: var(--charcoal);
  color: #ccc;
  padding: 3.2rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2rem;
  padding-bottom: 2.4rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .logo-text { color: var(--yellow); }
.footer-brand .logo-text span { color: #999; }

.footer-brand p {
  font-size: 0.9rem;
  margin: 1rem 0 1.3rem;
  line-height: 1.6;
  max-width: 280px;
}

.footer h5 {
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-links li { margin-bottom: 0.5rem; }
.footer-links a {
  font-size: 0.9rem;
  color: #aaa;
}
.footer-links a:hover { color: var(--yellow); }

.footer-contact p {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.social-links {
  display: flex;
  gap: 0.65rem;
  margin-top: 1rem;
}

.social-links a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ccc;
}

.social-links a:hover {
  background: var(--yellow);
  color: var(--charcoal);
}

.footer-bottom {
  padding: 1.2rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.7rem;
  font-size: 0.84rem;
  color: #888;
}

/* Inner pages */
.page-hero {
  padding: 8rem 0 3rem;
  background: var(--cream);
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin-bottom: 0.6rem;
}

.page-hero p {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 580px;
  margin: 0 auto;
}

.philosophy-box {
  background: var(--yellow);
  color: var(--charcoal);
  padding: 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
  margin: 1.5rem 0;
}

.philosophy-box p {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  font-style: italic;
  line-height: 1.5;
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 1.8rem;
}

.value-card {
  background: var(--white);
  padding: 1.4rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  text-align: center;
  border: 1px solid #f0e6b8;
  border-bottom: 3px solid var(--yellow);
  transition: var(--transition);
}

.value-card:hover {
  border-bottom-color: var(--red);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.value-card .icon {
  font-size: 1.7rem;
  margin-bottom: 0.7rem;
}

.value-card h4 {
  font-size: 1.02rem;
  margin-bottom: 0.4rem;
  font-family: 'Inter', sans-serif;
}

.value-card p {
  font-size: 0.9rem;
  color: var(--gray);
}

/* =========================
   TABLET
   ========================= */
@media (max-width: 1024px) {
  .hero-grid,
  .story-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
  }

  .hero-visual > div {
    margin: 0 auto;
  }

  .why-grid,
  .delicacies-grid,
  .testimonials-grid,
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* =========================
   MOBILE
   ========================= */
@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }

  .nav {
    height: 64px;
  }

  .logo img {
    height: 40px;
  }

  .logo-text {
    font-size: 1rem;
  }

  .logo-text span {
    font-size: 0.55rem;
  }

  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1rem 1rem;
    box-shadow: var(--shadow-md);
    border-top: 1px solid var(--border);
    z-index: 1000;
  }

  .nav-links.open {
    display: flex !important;
  }

  .nav-links a {
    padding: 0.9rem 0.2rem;
    border-bottom: 1px solid var(--border);
    width: 100%;
  }

  .nav-links a::after {
    display: none;
  }

  .hero {
    padding: 5.5rem 0 2rem;
  }

  .hero-grid {
    grid-template-columns: 1fr !important;
    gap: 1.4rem !important;
  }

  .hero-content {
    text-align: center;
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions,
  .hero-trust {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }

  .hero-visual > div {
    max-width: 230px !important;
    margin: 0 auto !important;
  }

  .hero-visual img {
    height: 270px !important;
  }

  .why-grid,
  .delicacies-grid,
  .testimonials-grid,
  .values-grid,
  .story-grid,
  .footer-grid {
    grid-template-columns: 1fr !important;
  }

  .section {
    padding: 2.6rem 0;
  }

  .page-hero {
    padding: 6.2rem 0 2rem;
  }

  .btn-lg {
    width: 100%;
    max-width: 280px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  /* Force 3-column inline grids to 1 column on mobile */
  .section div[style*="grid-template-columns: repeat(3"] {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.65rem;
  }

  .section-title {
    font-size: 1.45rem;
  }

  .hero-badge {
    font-size: 0.72rem;
  }
}