/* ========================================
   Hoshino Coffee Malaysia — Global Styles
   ======================================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@300;400;600&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Jost:wght@300;400;500;600&display=swap');

/* ---- Variables ---- */
:root {
  --cream:        #faf6ef;
  --cream-dark:   #f0e8d8;
  --brown:        #2c1a0e;
  --brown-mid:    #5a3320;
  --gold:         #b8924a;
  --gold-light:   #d4aa70;
  --red:          #8b1a1a;
  --text:         #2c1a0e;
  --text-light:   #6b5744;
  --white:        #ffffff;
  --border:       #e0d0b8;
  --shadow:       0 4px 32px rgba(44,26,14,0.10);
  --nav-height:   80px;
  --max-width:    1200px;
  --font-serif:   'Cormorant Garamond', 'Noto Serif JP', Georgia, serif;
  --font-sans:    'Jost', sans-serif;
  --radius:       4px;
  --transition:   0.3s ease;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---- Utility ---- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section--alt { background: var(--cream-dark); }
.section-tag {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  display: block;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--brown);
  line-height: 1.2;
  margin-bottom: 20px;
}
.section-lead {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 620px;
  line-height: 1.8;
}
.text-center { text-align: center; }
.text-center .section-lead { margin: 0 auto; }
.divider {
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin: 20px 0;
}
.divider--center { margin: 20px auto; }
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 14px 36px;
  border-radius: var(--radius);
  transition: var(--transition);
  cursor: pointer;
  border: none;
}
.btn--primary {
  background: var(--brown);
  color: var(--white);
}
.btn--primary:hover { background: var(--brown-mid); }
.btn--gold {
  background: var(--gold);
  color: var(--white);
}
.btn--gold:hover { background: var(--gold-light); }
.btn--outline {
  background: transparent;
  border: 1.5px solid var(--brown);
  color: var(--brown);
}
.btn--outline:hover { background: var(--brown); color: var(--white); }

/* ---- Header / Navigation ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--brown);
  height: var(--nav-height);
  display: flex;
  align-items: center;
  box-shadow: 0 2px 16px rgba(44,26,14,0.18);
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav-logo-mark {
  width: 44px;
  height: 44px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nav-logo-mark span {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
}
.nav-logo-text { display: flex; flex-direction: column; }
.nav-logo-text .brand-main {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.06em;
  line-height: 1.1;
}
.nav-logo-text .brand-sub {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
  line-height: 1;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links a {
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  padding: 8px 12px;
  border-radius: 2px;
  transition: var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 12px; right: 12px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: var(--transition);
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-cta {
  background: var(--gold) !important;
  color: var(--white) !important;
  padding: 8px 20px !important;
  border-radius: var(--radius) !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--gold-light) !important; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0; right: 0;
  background: var(--brown);
  padding: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  z-index: 999;
  flex-direction: column;
  gap: 4px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  padding: 12px 8px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: var(--transition);
}
.mobile-nav a:hover { color: var(--gold); }

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--brown);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1495474472287-4d71bcdd2085?w=1600&q=80');
  background-size: cover;
  background-position: center;
  opacity: 0.28;
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 100px 0;
}
.hero-eyebrow {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-eyebrow::before {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--gold);
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.08;
  margin-bottom: 28px;
  max-width: 700px;
}
.hero-title em { font-style: italic; color: var(--gold-light); }
.hero-body {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.75);
  max-width: 480px;
  line-height: 1.8;
  margin-bottom: 40px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.4);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  z-index: 1;
}
.hero-scroll::after {
  content: '';
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.3);
  animation: scrollDown 1.6s ease-in-out infinite;
}
@keyframes scrollDown {
  0%,100% { opacity: 0.3; transform: scaleY(1); transform-origin: top; }
  50% { opacity: 0.8; }
}

/* ---- Feature Cards ---- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2px;
  background: var(--border);
}
.feature-card {
  background: var(--cream);
  padding: 48px 40px;
  text-align: center;
  transition: var(--transition);
}
.feature-card:hover { background: var(--cream-dark); }
.feature-icon {
  width: 60px;
  height: 60px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}
.feature-icon svg { width: 26px; height: 26px; stroke: var(--gold); }
.feature-card h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--brown);
  margin-bottom: 12px;
}
.feature-card p { font-size: 0.9rem; color: var(--text-light); line-height: 1.7; }

/* ---- Signature Section ---- */
.signature-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
}
.signature-image {
  position: relative;
  min-height: 500px;
  overflow: hidden;
}
.signature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.signature-content {
  padding: 80px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--cream-dark);
}
.signature-list {
  margin: 28px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.signature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-light);
}
.signature-list li::before {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--gold);
  margin-top: 12px;
  flex-shrink: 0;
}

/* ---- Menu Grid ---- */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.menu-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}
.menu-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.menu-card-img {
  height: 220px;
  overflow: hidden;
}
.menu-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.menu-card:hover .menu-card-img img { transform: scale(1.05); }
.menu-card-body { padding: 24px; }
.menu-card-cat {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.menu-card h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--brown);
  margin-bottom: 8px;
}
.menu-card p { font-size: 0.88rem; color: var(--text-light); line-height: 1.7; }
.menu-card-price {
  margin-top: 16px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--brown-mid);
}

/* ---- Category Nav ---- */
.cat-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.cat-nav a {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 10px 22px;
  border: 1.5px solid var(--border);
  border-radius: 99px;
  color: var(--text-light);
  transition: var(--transition);
}
.cat-nav a:hover,
.cat-nav a.active {
  border-color: var(--brown);
  background: var(--brown);
  color: var(--white);
}

/* ---- Location Cards ---- */
.location-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.location-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}
.location-card-map {
  height: 220px;
  background: var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}
.location-card-body { padding: 28px; }
.location-card-body h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--brown);
  margin-bottom: 4px;
}
.location-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #2e7d32;
  background: #e8f5e9;
  padding: 2px 10px;
  border-radius: 99px;
  margin-bottom: 16px;
}
.location-info { display: flex; flex-direction: column; gap: 10px; }
.location-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-light);
}
.location-row svg { width: 16px; height: 16px; stroke: var(--gold); flex-shrink: 0; margin-top: 2px; }

/* ---- Page Banner ---- */
.page-banner {
  background: var(--brown);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1509042239860-f550ce710b93?w=1400&q=60');
  background-size: cover;
  background-position: center;
  opacity: 0.15;
}
.page-banner .container { position: relative; z-index: 1; }
.page-banner-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 12px;
  display: block;
}
.page-banner h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 16px;
}
.page-banner p {
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
  max-width: 520px;
  margin: 0 auto;
}
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  margin-top: 20px;
}
.breadcrumb a { color: rgba(255,255,255,0.55); transition: var(--transition); }
.breadcrumb a:hover { color: var(--gold-light); }
.breadcrumb span { color: var(--gold-light); }

/* ---- Membership ---- */
.membership-hero {
  background: linear-gradient(135deg, var(--brown) 60%, var(--brown-mid));
  padding: 100px 0;
  text-align: center;
  color: var(--white);
}
.membership-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  margin-bottom: 20px;
}
.membership-hero p { font-size: 1.05rem; color: rgba(255,255,255,0.72); max-width: 520px; margin: 0 auto 36px; }
.tiers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.tier-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 28px;
  text-align: center;
  background: var(--white);
  transition: var(--transition);
}
.tier-card:hover { box-shadow: var(--shadow); }
.tier-card.featured {
  border-color: var(--gold);
  background: var(--brown);
  color: var(--white);
}
.tier-icon { font-size: 2.4rem; margin-bottom: 16px; }
.tier-card h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--brown);
  margin-bottom: 12px;
}
.tier-card.featured h3 { color: var(--gold-light); }
.tier-card ul {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tier-card ul li {
  font-size: 0.88rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 8px;
}
.tier-card.featured ul li { color: rgba(255,255,255,0.75); }
.tier-card ul li::before { content: '✓'; color: var(--gold); font-weight: 700; }

/* ---- FAQ ---- */
.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  cursor: pointer;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--brown);
  user-select: none;
  gap: 16px;
}
.faq-question svg {
  width: 20px;
  height: 20px;
  stroke: var(--gold);
  flex-shrink: 0;
  transition: var(--transition);
}
.faq-item.open .faq-question svg { transform: rotate(180deg); }
.faq-answer {
  display: none;
  padding: 0 0 24px;
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.8;
}
.faq-item.open .faq-answer { display: block; }

/* ---- CTA Band ---- */
.cta-band {
  background: var(--brown);
  padding: 80px 0;
  text-align: center;
}
.cta-band h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 300;
  color: var(--white);
  margin-bottom: 16px;
}
.cta-band p {
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 36px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.cta-band .cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---- Footer ---- */
.site-footer {
  background: #1a0e06;
  color: rgba(255,255,255,0.6);
  padding: 60px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 12px;
}
.footer-brand p { font-size: 0.88rem; line-height: 1.8; margin-bottom: 20px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  transition: var(--transition);
}
.footer-social a:hover { border-color: var(--gold); color: var(--gold); }
.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  transition: var(--transition);
}
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 12px;
}
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a {
  color: rgba(255,255,255,0.4);
  transition: var(--transition);
}
.footer-bottom-links a:hover { color: rgba(255,255,255,0.8); }

/* ---- About ---- */
.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-image-wrap {
  position: relative;
}
.about-image-wrap img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 2px;
}
.about-image-badge {
  position: absolute;
  bottom: -24px;
  right: -24px;
  width: 120px;
  height: 120px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  font-family: var(--font-serif);
}
.about-image-badge .year { font-size: 1.6rem; font-weight: 600; line-height: 1; }
.about-image-badge .since { font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase; }
.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 40px 0;
}
.stat-box {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
}
.stat-number {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-light); }

/* ---- Terms ---- */
.terms-content { max-width: 800px; margin: 0 auto; }
.terms-content h2 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--brown);
  margin: 40px 0 16px;
}
.terms-content p { font-size: 0.95rem; color: var(--text-light); line-height: 1.85; margin-bottom: 16px; }
.terms-content ul { margin: 16px 0 16px 20px; list-style: disc; }
.terms-content ul li { font-size: 0.95rem; color: var(--text-light); line-height: 1.8; margin-bottom: 8px; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-story { gap: 48px; }
}
@media (max-width: 768px) {
  :root { --nav-height: 70px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero { min-height: 80vh; }
  .signature-wrap { grid-template-columns: 1fr; }
  .signature-image { min-height: 300px; }
  .signature-content { padding: 48px 32px; }
  .about-story { grid-template-columns: 1fr; gap: 40px; }
  .about-image-badge { right: 0; bottom: -16px; width: 100px; height: 100px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .section { padding: 60px 0; }
}
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .signature-content { padding: 40px 24px; }
  .cta-band .cta-actions { flex-direction: column; align-items: center; }
}
