/* =========================================================
   Wen Siong Trading 文翔生果行 — Display Landing
   Brand: orange + leaf green + warm cream · positive vibe
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;900&family=Noto+Sans+SC:wght@400;500;700;900&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css');

:root {
  --orange: #F6921E;
  --orange-deep: #E07A0A;
  --orange-light: #FFB75E;
  --leaf: #7CB342;
  --leaf-deep: #558B2F;
  --cream: #FFFAF2;
  --cream-warm: #FFF3E0;
  --ink: #2C1810;
  --ink-soft: #5C4438;
  --line: rgba(44, 24, 16, 0.08);

  --shadow-soft: 0 4px 24px rgba(246, 146, 30, 0.12);
  --shadow-lift: 0 12px 40px rgba(246, 146, 30, 0.18);
  --shadow-card: 0 8px 32px rgba(44, 24, 16, 0.06);

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans SC', 'PingFang SC', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
}

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

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

h1, h2, h3, h4 {
  font-family: 'Playfair Display', 'Noto Sans SC', serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
}

.cn-display {
  font-family: 'Noto Sans SC', 'PingFang SC', serif;
  font-weight: 900;
}

/* ===== Container ===== */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: all 0.3s ease;
  background: transparent;
}

.navbar.scrolled {
  background: rgba(255, 250, 242, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 16px rgba(44, 24, 16, 0.06);
  padding: 12px 0;
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-brand img {
  height: 44px;
  width: 44px;
  object-fit: contain;
}

.nav-brand .brand-text {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
}

.nav-brand .brand-since {
  font-size: 11px;
  color: var(--orange);
  letter-spacing: 2px;
  font-weight: 600;
}

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

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.2s;
  position: relative;
}

.nav-links a:hover {
  color: var(--orange);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width 0.3s;
}

.nav-links a:hover::after { width: 100%; }

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

/* ===== Hero ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 100px 24px 60px;
  background:
    radial-gradient(ellipse 80% 60% at 50% 30%, rgba(255, 183, 94, 0.22), transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 80%, rgba(124, 179, 66, 0.12), transparent 60%),
    var(--cream);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 10%;
  left: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(246, 146, 30, 0.15), transparent 70%);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 10%;
  right: -120px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(124, 179, 66, 0.12), transparent 70%);
  border-radius: 50%;
  animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(20px, -30px); }
}

.hero-content {
  text-align: center;
  max-width: 820px;
  position: relative;
  z-index: 2;
  animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-logo {
  width: 240px;
  height: 240px;
  object-fit: contain;
  margin: 0 auto 32px;
  animation: bobble 4s ease-in-out infinite;
  filter: drop-shadow(0 12px 32px rgba(246, 146, 30, 0.2));
}

@keyframes bobble {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-8px) rotate(1deg); }
}

.hero-eyebrow {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(246, 146, 30, 0.12);
  color: var(--orange-deep);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 900;
  letter-spacing: 2px;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--orange-deep), var(--orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-en {
  font-family: 'Playfair Display', serif;
  font-size: clamp(20px, 3vw, 28px);
  color: var(--ink-soft);
  font-weight: 600;
  letter-spacing: 4px;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.hero-tagline {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--ink-soft);
  max-width: 580px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: linear-gradient(135deg, var(--orange), var(--orange-deep));
  color: white;
  border-radius: 100px;
  font-weight: 700;
  font-size: 15px;
  box-shadow: var(--shadow-lift);
  transition: transform 0.2s, box-shadow 0.2s;
  min-height: 48px;
}

.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 48px rgba(246, 146, 30, 0.32);
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--orange);
  font-size: 24px;
  animation: scrollHint 2s ease-in-out infinite;
}

@keyframes scrollHint {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.6; }
  50% { transform: translateX(-50%) translateY(8px); opacity: 1; }
}

/* ===== Section base ===== */
section {
  padding: 100px 0;
  position: relative;
}

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

.section-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-head h2 {
  font-size: clamp(32px, 5vw, 48px);
  margin-bottom: 16px;
}

.section-head .sub {
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 600px;
  margin: 0 auto;
}

/* ===== Story ===== */
.story {
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-warm) 100%);
}

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

@media (max-width: 880px) {
  .story-grid { grid-template-columns: 1fr; gap: 40px; }
}

.story-text h2 {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 20px;
}

.story-text .eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--leaf-deep);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.story-text p {
  font-size: 16px;
  color: var(--ink-soft);
  margin-bottom: 16px;
  line-height: 1.85;
}

.story-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.stat {
  text-align: center;
  padding: 20px 12px;
  background: var(--cream);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
}

.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 900;
  color: var(--orange);
  display: block;
}

.stat-label {
  font-size: 12px;
  color: var(--ink-soft);
  letter-spacing: 1px;
  margin-top: 4px;
}

.story-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 30% 30%, rgba(246, 146, 30, 0.25), transparent 60%),
    radial-gradient(circle at 70% 70%, rgba(124, 179, 66, 0.2), transparent 60%),
    linear-gradient(135deg, var(--cream-warm), var(--cream));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.story-visual img {
  width: 70%;
  height: 70%;
  object-fit: contain;
  filter: drop-shadow(0 8px 24px rgba(246, 146, 30, 0.2));
}

/* ===== Fruits ===== */
.fruits {
  background: var(--cream);
}

.fruits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 880px) {
  .fruits-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

@media (max-width: 520px) {
  .fruits-grid { grid-template-columns: 1fr; }
}

.fruit-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  border: 1px solid var(--line);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: default;
}

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

.fruit-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--cream-warm), white);
  border-radius: 50%;
  border: 2px solid var(--line);
}

.fruit-icon svg {
  width: 48px;
  height: 48px;
}

.fruit-card h3 {
  font-size: 20px;
  margin-bottom: 4px;
}

.fruit-card .fruit-en {
  font-family: 'Playfair Display', serif;
  font-size: 13px;
  color: var(--orange);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

.fruit-card p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* ===== Why Us ===== */
.why {
  background: linear-gradient(180deg, var(--cream-warm), var(--cream));
}

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

@media (max-width: 880px) {
  .why-grid { grid-template-columns: 1fr; gap: 24px; }
}

.why-card {
  background: white;
  padding: 40px 32px;
  border-radius: var(--radius-md);
  text-align: center;
  border: 1px solid var(--line);
  transition: transform 0.3s;
}

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

.why-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  color: white;
  border-radius: 50%;
  font-size: 28px;
  box-shadow: var(--shadow-soft);
}

.why-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.why-card p {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.7;
}

/* ===== Visit ===== */
.visit {
  background: var(--cream);
}

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

@media (max-width: 880px) {
  .visit-grid { grid-template-columns: 1fr; }
}

.visit-info {
  background: linear-gradient(135deg, var(--orange-deep), var(--orange));
  color: white;
  border-radius: var(--radius-md);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: var(--shadow-lift);
}

.visit-info h3 {
  color: white;
  font-size: 28px;
  margin-bottom: 8px;
}

.visit-info .visit-eyebrow {
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 12px;
  display: block;
}

.visit-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.visit-row:first-of-type { border-top: 1px solid rgba(255, 255, 255, 0.18); margin-top: 24px; }

.visit-row i {
  font-size: 20px;
  width: 24px;
  text-align: center;
  margin-top: 2px;
  opacity: 0.9;
}

.visit-row .label {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.75;
  margin-bottom: 4px;
}

.visit-row .value {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
}

.visit-row .tbd {
  opacity: 0.6;
  font-style: italic;
  font-weight: 400;
}

.visit-map {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  min-height: 400px;
  border: 1px solid var(--line);
}

.visit-map iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: 0;
  display: block;
}

/* ===== Footer ===== */
.footer {
  background: var(--ink);
  color: rgba(255, 250, 242, 0.85);
  padding: 60px 0 30px;
  text-align: center;
}

.footer-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin: 0 auto 20px;
  filter: brightness(0) invert(1) sepia(1) saturate(8) hue-rotate(354deg);
  opacity: 0.95;
}

.footer h3 {
  color: var(--cream);
  font-size: 22px;
  margin-bottom: 8px;
}

.footer .footer-en {
  font-family: 'Playfair Display', serif;
  font-size: 13px;
  color: var(--orange-light);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 24px 0;
}

.footer-social a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(246, 146, 30, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--orange-light);
  transition: all 0.2s;
}

.footer-social a:hover {
  background: var(--orange);
  color: white;
  transform: translateY(-2px);
}

.footer-copy {
  font-size: 13px;
  opacity: 0.6;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 250, 242, 0.1);
}

/* ===== Floating WhatsApp (TBD display) ===== */
.float-wa {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 90;
  transition: transform 0.2s;
  animation: pulse 2.5s ease-out infinite;
}

.float-wa:hover { transform: scale(1.08); }

@keyframes pulse {
  0% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 0 0 20px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ===== Utility ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
