/* ============================================
   Bee Kind Tea & Coffee — Stylesheet
   Palette: Emerald (#065f46) + Cream (#f5f0e8)
   Fonts: Playfair Display + Inter
   ============================================ */

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

:root {
  --emerald-900: #042f23;
  --emerald-800: #064e3b;
  --emerald-700: #065f46;
  --emerald-600: #047857;
  --emerald-500: #059669;
  --emerald-400: #10b981;
  --emerald-300: #34d399;
  --cream-50: #faf9f6;
  --cream-100: #f5f0e8;
  --cream-200: #ede6d6;
  --cream-300: #e0d5c0;
  --stone-50: #fafaf9;
  --stone-100: #f5f5f4;
  --stone-200: #e7e5e4;
  --stone-400: #a8a29e;
  --stone-500: #78716c;
  --stone-600: #57534e;
  --stone-700: #44403c;
  --stone-800: #292524;
  --stone-900: #1c1917;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(6,95,70,0.08);
  --shadow-md: 0 4px 20px rgba(6,95,70,0.10);
  --shadow-lg: 0 8px 40px rgba(6,95,70,0.12);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--stone-800);
  background: var(--cream-100);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

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

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   HEADER / NAV
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(245, 240, 232, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(6, 95, 70, 0.08);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--emerald-700);
  letter-spacing: -0.02em;
}

.logo-light {
  color: #f5f0e8;
}

.logo-light .logo-icon path:first-child {
  fill: #34d399;
}

.logo-light .logo-icon circle {
  fill: #065f46;
}

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

.nav a {
  font-size: 0.938rem;
  font-weight: 500;
  color: var(--stone-700);
  transition: color var(--transition);
  position: relative;
}

.nav a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--emerald-600);
  transition: width var(--transition);
}

.nav a:not(.btn):hover {
  color: var(--emerald-700);
}

.nav a:not(.btn):hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--emerald-700);
  padding: 4px;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.938rem;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--emerald-700);
  color: #f5f0e8;
  border-color: var(--emerald-700);
}

.btn-primary:hover {
  background: var(--emerald-600);
  border-color: var(--emerald-600);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(6,95,70,0.25);
}

.btn-outline-light {
  background: transparent;
  color: #f5f0e8;
  border-color: rgba(245,240,232,0.6);
}

.btn-outline-light:hover {
  background: rgba(245,240,232,0.15);
  border-color: #f5f0e8;
  transform: translateY(-2px);
}

.btn-cta {
  background: var(--emerald-600);
  color: #f5f0e8;
  border-color: var(--emerald-600);
  padding: 10px 22px;
  font-size: 0.875rem;
}

.btn-cta:hover {
  background: var(--emerald-500);
  border-color: var(--emerald-500);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(6,95,70,0.25);
}

.btn-sm {
  padding: 10px 22px;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1rem;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    #042f23 0%,
    #065f46 30%,
    #047857 55%,
    #065f46 80%,
    #042f23 100%
  );
  padding: 120px 24px 80px;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 80%, rgba(52,211,153,0.25) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(16,185,129,0.2) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 50% 50%, rgba(4,47,35,0.4) 0%, transparent 70%);
  pointer-events: none;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23f5f0e8' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245,240,232,0.12);
  border: 1px solid rgba(245,240,232,0.2);
  color: var(--cream-200);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.813rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 32px;
  backdrop-filter: blur(8px);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5.5vw, 4.25rem);
  font-weight: 700;
  color: #f5f0e8;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-title .accent-italic {
  font-style: italic;
  color: var(--emerald-300);
  font-weight: 600;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: rgba(245,240,232,0.8);
  max-width: 580px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

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

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--emerald-300);
  line-height: 1.2;
}

.stat-label {
  font-size: 0.813rem;
  color: rgba(245,240,232,0.65);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(245,240,232,0.2);
}

.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  line-height: 0;
}

.hero-wave svg {
  width: 100%;
  height: 80px;
}

/* ============================================
   SECTION COMMON
   ============================================ */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.813rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--emerald-600);
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--emerald-500);
  border-radius: 2px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--stone-900);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.063rem;
  color: var(--stone-500);
  max-width: 520px;
  line-height: 1.7;
}

/* ============================================
   CATEGORIES
   ============================================ */
.categories {
  padding: 100px 0 80px;
  background: var(--cream-100);
}

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

.categories .section-subtitle {
  margin: 0 auto 56px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  text-align: left;
}

.category-card {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--cream-50);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border: 1px solid rgba(6,95,70,0.06);
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(6,95,70,0.12);
}

.category-img {
  position: relative;
  height: 220px;
  background-size: cover;
  background-position: center;
}

.category-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6,95,70,0.3) 0%, transparent 60%);
}

.category-body {
  padding: 28px;
}

.category-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6,95,70,0.08);
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}

.category-body h3 {
  font-family: var(--font-display);
  font-size: 1.313rem;
  font-weight: 700;
  color: var(--stone-900);
  margin-bottom: 8px;
}

.category-body p {
  font-size: 0.938rem;
  color: var(--stone-600);
  line-height: 1.7;
}

/* ============================================
   ABOUT
   ============================================ */
.about {
  padding: 100px 0;
  background: var(--cream-50);
}

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

.about-images {
  position: relative;
}

.about-img-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-img-secondary {
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 55%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--cream-50);
}

.about-img-secondary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-accent-box {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 90px;
  height: 90px;
  background: var(--emerald-700);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: var(--shadow-md);
}

.about-accent-box .accent-box-label {
  font-size: 0.625rem;
  font-weight: 600;
  color: var(--cream-200);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: center;
  line-height: 1.3;
}

.about-content .section-title {
  margin-bottom: 24px;
}

.about-text {
  font-size: 1rem;
  color: var(--stone-600);
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-values {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}

.value-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.value-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6,95,70,0.08);
  border-radius: var(--radius-sm);
}

.value-item strong {
  display: block;
  font-size: 1rem;
  color: var(--stone-900);
  margin-bottom: 2px;
}

.value-item span {
  font-size: 0.875rem;
  color: var(--stone-500);
  line-height: 1.6;
}

/* ============================================
   GALLERY
   ============================================ */
.gallery {
  padding: 100px 0;
  background: var(--cream-100);
  text-align: center;
}

.gallery .section-subtitle {
  margin: 0 auto 56px;
}

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

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 5/4;
  position: relative;
  cursor: pointer;
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6,95,70,0.4) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ============================================
   VISIT
   ============================================ */
.visit {
  padding: 100px 0;
  background: var(--emerald-900);
  position: relative;
  overflow: hidden;
}

.visit::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(16,185,129,0.15) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 100% 0%, rgba(52,211,153,0.1) 0%, transparent 50%);
  pointer-events: none;
}

.visit .container {
  position: relative;
  z-index: 2;
}

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

.visit .section-label {
  color: var(--emerald-400);
}

.visit .section-label::before {
  background: var(--emerald-400);
}

.visit .section-title {
  color: #f5f0e8;
  margin-bottom: 20px;
}

.visit-text {
  font-size: 1.063rem;
  color: rgba(245,240,232,0.75);
  line-height: 1.8;
  margin-bottom: 40px;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 36px;
}

.contact-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: rgba(245,240,232,0.06);
  border: 1px solid rgba(245,240,232,0.1);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  transition: all var(--transition);
}

.contact-card:hover {
  background: rgba(245,240,232,0.1);
  border-color: rgba(245,240,232,0.18);
  transform: translateX(4px);
}

.contact-card-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6,95,70,0.4);
  border-radius: var(--radius-sm);
}

.contact-card strong {
  display: block;
  font-size: 0.813rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--emerald-300);
  margin-bottom: 4px;
  font-weight: 600;
}

.contact-card p {
  font-size: 0.938rem;
  color: rgba(245,240,232,0.85);
  line-height: 1.6;
  margin: 0;
}

.contact-card a {
  color: var(--emerald-300);
  transition: color var(--transition);
}

.contact-card a:hover {
  color: #f5f0e8;
}

.visit-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  min-height: 420px;
  border: 1px solid rgba(245,240,232,0.1);
}

.map-placeholder {
  width: 100%;
  height: 100%;
  min-height: 420px;
}

.map-placeholder iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  filter: saturate(0.7) brightness(1.05);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--stone-900);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(245,240,232,0.08);
}

.footer-brand p {
  font-size: 0.938rem;
  color: rgba(245,240,232,0.55);
  line-height: 1.7;
  margin-top: 16px;
  max-width: 280px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links strong {
  font-size: 0.813rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--emerald-400);
  margin-bottom: 4px;
}

.footer-links a {
  font-size: 0.938rem;
  color: rgba(245,240,232,0.6);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: #f5f0e8;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact strong {
  font-size: 0.813rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--emerald-400);
  margin-bottom: 4px;
}

.footer-contact p {
  font-size: 0.938rem;
  color: rgba(245,240,232,0.6);
  line-height: 1.7;
  margin: 0;
}

.footer-contact a {
  color: rgba(245,240,232,0.6);
  transition: color var(--transition);
}

.footer-contact a:hover {
  color: var(--emerald-300);
}

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

.footer-bottom p {
  font-size: 0.813rem;
  color: rgba(245,240,232,0.4);
  margin: 0;
}

.footer-bottom a {
  color: rgba(245,240,232,0.4);
  transition: color var(--transition);
}

.footer-bottom a:hover {
  color: var(--emerald-400);
}

/* ============================================
   MOBILE NAV OVERLAY
   ============================================ */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(4,47,35,0.97);
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

.nav-overlay-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.nav-overlay-link {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--cream-100);
  transition: color var(--transition);
}

.nav-overlay-link:hover {
  color: var(--emerald-300);
}

.nav-overlay-btn {
  margin-top: 8px;
}

/* ============================================
   SCROLL REVEAL (progressive enhancement)
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  }

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

  .reveal-delay-1 { transition-delay: 0.1s; }
  .reveal-delay-2 { transition-delay: 0.2s; }
  .reveal-delay-3 { transition-delay: 0.3s; }
  .reveal-delay-4 { transition-delay: 0.4s; }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .about-grid {
    gap: 48px;
  }

  .visit-grid {
    gap: 40px;
  }
}

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

  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hero {
    padding: 100px 20px 60px;
    min-height: auto;
  }

  .hero-stats {
    gap: 24px;
  }

  .stat-number {
    font-size: 1.375rem;
  }

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

  .about-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .about-img-secondary {
    right: 0;
    bottom: -24px;
    width: 60%;
  }

  .about-accent-box {
    top: -12px;
    right: -12px;
    width: 72px;
    height: 72px;
  }

  .about-accent-box svg {
    width: 24px;
    height: 24px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .visit-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

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

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.875rem;
  }

  .hero-actions {
    flex-direction: column;
    gap: 12px;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }

  .hero-stat-divider {
    width: 40px;
    height: 1px;
  }

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

  .category-img {
    height: 180px;
  }
}
