/* ============================================================
   Singapore Food & Heritage — Main Stylesheet
   ============================================================ */

/* --- CSS Variables --- */
:root {
  --green-dark:   #1a3c34;
  --green-mid:    #255c4a;
  --green-light:  #3a7a62;
  --yellow:       #f5c518;
  --yellow-hover: #e0b010;
  --cream:        #fdf6e3;
  --cream-dark:   #f5e9c8;
  --terracotta:   #c1440e;
  --terracotta-light: #d9602a;
  --text-dark:    #1a1a1a;
  --text-mid:     #3d3d3d;
  --text-light:   #6b6b6b;
  --white:        #ffffff;
  --shadow-sm:    0 2px 8px rgba(26,60,52,0.12);
  --shadow-md:    0 4px 20px rgba(26,60,52,0.18);
  --shadow-lg:    0 8px 40px rgba(26,60,52,0.22);
  --radius-sm:    6px;
  --radius-md:    12px;
  --radius-lg:    20px;
  --transition:   all 0.28s ease;
  --font-main:    'Georgia', 'Times New Roman', serif;
  --font-ui:      'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

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

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

body {
  font-family: var(--font-ui);
  background-color: var(--cream);
  color: var(--text-dark);
  line-height: 1.7;
}

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

a {
  color: var(--green-dark);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--terracotta);
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-main);
  line-height: 1.3;
  color: var(--green-dark);
}

p { margin-bottom: 1rem; }

/* --- Utility --- */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-pad {
  padding: 72px 0;
}

.section-pad-sm {
  padding: 48px 0;
}

.text-center { text-align: center; }

.section-title {
  font-size: 2rem;
  color: var(--green-dark);
  margin-bottom: 0.5rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-mid);
  margin-bottom: 2.5rem;
  max-width: 640px;
}

.section-title + .section-subtitle {
  margin-top: 0.5rem;
}

.yellow-line {
  display: block;
  width: 56px;
  height: 4px;
  background: var(--yellow);
  border-radius: 2px;
  margin: 12px auto 20px;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-nav {
  background: var(--cream);
  border-bottom: 3px solid var(--yellow);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-main);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--green-dark);
  white-space: nowrap;
}

.nav-logo-icon {
  width: 38px;
  height: 38px;
  background: var(--green-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.nav-logo:hover {
  color: var(--terracotta);
}

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

.nav-links a {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--green-dark);
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--yellow);
  color: var(--green-dark);
}

.nav-cta {
  background: var(--terracotta) !important;
  color: var(--white) !important;
  border-radius: var(--radius-sm) !important;
}

.nav-cta:hover {
  background: var(--terracotta-light) !important;
  color: var(--white) !important;
}

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--green-dark);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--green-dark);
  border-radius: 1px;
  transition: var(--transition);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  background: url('https://images.unsplash.com/photo-1555396273-367ea4eb4db5?w=1600&q=80') center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 60, 52, 0.88) 0%,
    rgba(26, 60, 52, 0.72) 50%,
    rgba(193, 68, 14, 0.45) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 72px 0;
}

.hero-text h1 {
  font-size: 2.8rem;
  color: var(--cream);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-text h1 span {
  color: var(--yellow);
}

.hero-text p {
  font-size: 1.15rem;
  color: var(--cream-dark);
  margin-bottom: 1.5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--yellow);
  color: var(--green-dark);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 8px 18px;
  border-radius: 30px;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ============================================================
   FORMS
   ============================================================ */
.form-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-lg);
  border-top: 5px solid var(--yellow);
}

.form-card h3 {
  font-size: 1.4rem;
  color: var(--green-dark);
  margin-bottom: 0.4rem;
}

.form-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 1.2rem;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 14px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green-dark);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 11px 14px;
  border: 2px solid var(--cream-dark);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: var(--font-ui);
  background: var(--white);
  color: var(--text-dark);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px rgba(245, 197, 24, 0.18);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  font-family: var(--font-ui);
}

.btn-primary {
  background: var(--terracotta);
  color: var(--white);
  width: 100%;
}

.btn-primary:hover {
  background: var(--terracotta-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
  color: var(--white);
}

.btn-yellow {
  background: var(--yellow);
  color: var(--green-dark);
}

.btn-yellow:hover {
  background: var(--yellow-hover);
  color: var(--green-dark);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--green-dark);
  color: var(--green-dark);
}

.btn-outline:hover {
  background: var(--green-dark);
  color: var(--white);
}

.form-success {
  display: none;
  background: #e8f5e9;
  border: 2px solid #4caf50;
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  color: #2e7d32;
  font-weight: 600;
  margin-top: 12px;
  text-align: center;
}

.form-disclaimer {
  font-size: 0.78rem;
  color: var(--text-light);
  text-align: center;
  margin-top: 10px;
}

/* ============================================================
   TOUR MODULES GRID
   ============================================================ */
.modules-section {
  background: var(--green-dark);
}

.modules-section .section-title {
  color: var(--cream);
}

.modules-section .section-subtitle {
  color: var(--cream-dark);
}

.modules-section .yellow-line {
  background: var(--yellow);
}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 2rem;
}

.module-card {
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  border-bottom: 4px solid var(--yellow);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.module-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: var(--yellow);
}

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

.module-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: var(--green-dark);
  color: var(--yellow);
  font-weight: 700;
  font-size: 1rem;
  border-radius: 50%;
  margin-bottom: 16px;
  font-family: var(--font-main);
}

.module-card h3 {
  font-size: 1.1rem;
  color: var(--green-dark);
  margin-bottom: 10px;
}

.module-card p {
  font-size: 0.9rem;
  color: var(--text-mid);
  margin-bottom: 0;
}

.module-icon {
  font-size: 2rem;
  margin-bottom: 12px;
  display: block;
}

/* ============================================================
   PHOTO GALLERY
   ============================================================ */
.gallery-section {
  background: var(--cream-dark);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 2rem;
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--white);
  transition: var(--transition);
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.gallery-item img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-caption {
  padding: 16px 18px;
  border-top: 3px solid var(--yellow);
}

.gallery-caption h4 {
  font-size: 1rem;
  color: var(--green-dark);
  margin-bottom: 4px;
}

.gallery-caption p {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 0;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-section {
  background: var(--cream);
}

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

.company-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  box-shadow: var(--shadow-md);
  border-left: 5px solid var(--yellow);
}

.company-card h2 {
  font-size: 1.4rem;
  color: var(--green-dark);
  margin-bottom: 0.4rem;
}

.company-card .company-no {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--cream-dark);
}

.contact-detail:last-of-type {
  border-bottom: none;
}

.contact-detail-icon {
  font-size: 1.3rem;
  width: 32px;
  text-align: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-detail-text strong {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-light);
  margin-bottom: 2px;
}

.contact-detail-text span {
  font-size: 0.95rem;
  color: var(--text-dark);
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: var(--white) !important;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  margin-top: 20px;
  font-size: 1rem;
  transition: var(--transition);
}

.whatsapp-btn:hover {
  background: #1ebe5d;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
  color: var(--white) !important;
}

/* ============================================================
   LEGAL PAGES (TERMS / PRIVACY)
   ============================================================ */
.legal-hero {
  background: var(--green-dark);
  padding: 60px 0 48px;
  text-align: center;
}

.legal-hero h1 {
  color: var(--cream);
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

.legal-hero p {
  color: var(--cream-dark);
  font-size: 0.95rem;
  margin-bottom: 0;
}

.legal-hero .yellow-line {
  margin: 12px auto 0;
}

.legal-content {
  background: var(--cream);
  padding: 60px 0 72px;
}

.legal-body {
  max-width: 820px;
  margin: 0 auto;
  background: var(--white);
  padding: 48px 52px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border-top: 5px solid var(--yellow);
}

.legal-body h2 {
  font-size: 1.3rem;
  color: var(--green-dark);
  margin: 2rem 0 0.6rem;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--cream-dark);
}

.legal-body h2:first-child {
  margin-top: 0;
}

.legal-body h3 {
  font-size: 1.05rem;
  color: var(--green-mid);
  margin: 1.2rem 0 0.4rem;
}

.legal-body p, .legal-body li {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.75;
}

.legal-body ul, .legal-body ol {
  padding-left: 1.6rem;
  margin-bottom: 1rem;
}

.legal-body li {
  margin-bottom: 0.4rem;
}

.legal-meta {
  font-size: 0.82rem;
  color: var(--text-light);
  background: var(--cream);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
}

/* ============================================================
   DISCLAIMER BANNER
   ============================================================ */
.disclaimer-banner {
  background: var(--green-dark);
  border-top: 3px solid var(--yellow);
  padding: 22px 0;
}

.disclaimer-banner p {
  font-size: 0.82rem;
  color: var(--cream-dark);
  text-align: center;
  margin-bottom: 0;
  line-height: 1.6;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--green-dark);
  color: var(--cream-dark);
  padding: 48px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}

.footer-brand .nav-logo {
  color: var(--cream);
  margin-bottom: 12px;
  font-size: 1.15rem;
}

.footer-brand p {
  font-size: 0.88rem;
  color: var(--cream-dark);
  opacity: 0.85;
  line-height: 1.6;
  margin-bottom: 0.4rem;
}

.footer-brand .company-reg {
  font-size: 0.8rem;
  color: var(--yellow);
  opacity: 0.8;
}

.footer-col h4 {
  font-size: 0.9rem;
  color: var(--yellow);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 14px;
  font-family: var(--font-ui);
  font-weight: 700;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  color: var(--cream-dark);
  font-size: 0.9rem;
  opacity: 0.8;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--yellow);
  opacity: 1;
}

.footer-divider {
  border: none;
  border-top: 1px solid rgba(253, 246, 227, 0.15);
  margin: 0 0 20px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--cream-dark);
  opacity: 0.65;
  margin-bottom: 0;
}

.footer-bottom a {
  color: var(--cream-dark);
  opacity: 0.65;
  font-size: 0.8rem;
}

.footer-bottom a:hover {
  color: var(--yellow);
  opacity: 1;
}

/* ============================================================
   COOKIE BANNER
   ============================================================ */
#cookie-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9000;
  background: var(--green-dark);
  color: var(--cream);
  padding: 16px 24px;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.9rem;
  border-top: 3px solid var(--yellow);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.25);
}

#cookie-banner a {
  color: var(--yellow);
  text-decoration: underline;
}

#cookie-banner button {
  background: var(--yellow);
  color: var(--green-dark);
  border: none;
  padding: 9px 24px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-ui);
}

#cookie-banner button:hover {
  background: var(--yellow-hover);
}

/* ============================================================
   WHATSAPP FLOAT
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 80px;
  right: 24px;
  z-index: 8000;
  background: #25d366;
  color: var(--white);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45);
  transition: var(--transition);
  text-decoration: none;
}

.whatsapp-float:hover {
  background: #1ebe5d;
  transform: scale(1.1);
  color: var(--white);
}

.whatsapp-float::after {
  content: 'Chat with us';
  position: absolute;
  right: 66px;
  background: var(--green-dark);
  color: var(--cream);
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  font-family: var(--font-ui);
}

.whatsapp-float:hover::after {
  opacity: 1;
}

/* ============================================================
   PAGE-SPECIFIC HERO (Contact / Legal inner pages)
   ============================================================ */
.inner-hero {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-mid) 100%);
  padding: 56px 0 44px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.inner-hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0; right: 0;
  height: 40px;
  background: var(--cream);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.inner-hero h1 {
  color: var(--cream);
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

.inner-hero p {
  color: var(--cream-dark);
  font-size: 1rem;
  margin-bottom: 0;
  opacity: 0.85;
}

/* ============================================================
   INFO STRIP
   ============================================================ */
.info-strip {
  background: var(--yellow);
  padding: 14px 0;
}

.info-strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.info-strip-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--green-dark);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .modules-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0; right: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 16px 16px;
    border-top: 2px solid var(--yellow);
    box-shadow: var(--shadow-md);
    gap: 4px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 10px 14px;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: sticky;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 48px 0;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

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

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

  .gallery-item img {
    height: 220px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

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

  .legal-body {
    padding: 28px 20px;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .info-strip-inner {
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 1.7rem;
  }

  .form-card {
    padding: 24px 18px;
  }

  .inner-hero h1 {
    font-size: 1.7rem;
  }
}
