/* ==========================================================================
   KAMPUNG BAMBOO BANDUNG - PUBLIC STYLESHEET
   Domain: kampungbamboo.my.id
   Theme: Warm Cultural & Sustainable Forestry (Forest Green & Warm Sand)
   ========================================================================== */

:root {
  --primary: #2D4F1E;         /* Deep Forest Green */
  --primary-dark: #1E3713;    /* Dark Forest */
  --primary-light: #3D6A2A;   /* Leaf Green */
  --accent: #8C9C3E;          /* Sunda Bamboo Olive */
  --accent-light: #A3B54C;    /* Bright Bamboo */
  --bg-sand: #F5F2ED;         /* Warm Sand Natural Canvas */
  --bg-white: #FFFFFF;
  --text-dark: #2D4F1E;
  --text-muted: #5C6B55;
  --border-color: rgba(45, 79, 30, 0.12);
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --shadow-sm: 0 2px 8px rgba(45, 79, 30, 0.04);
  --shadow-md: 0 12px 32px rgba(45, 79, 30, 0.08);
  --shadow-lg: 0 20px 48px rgba(45, 79, 30, 0.12);
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-sand);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4, .font-serif {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.25;
  color: var(--primary);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.2s ease;
}

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

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header & Announcement Topbar */
.topbar-announcement {
  background: var(--primary-dark);
  color: #FFFFFF;
  font-size: 12px;
  padding: 8px 16px;
  text-align: center;
  border-bottom: 2px solid var(--accent);
  font-weight: 600;
}

.topbar-announcement a {
  color: #FDE047;
  text-decoration: underline;
  margin-left: 8px;
}

.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-icon {
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: #FFFFFF;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 4px 12px rgba(45, 79, 30, 0.2);
}

.brand-text h1 {
  font-size: 18px;
  letter-spacing: -0.5px;
  color: var(--primary);
  margin-bottom: 2px;
}

.brand-text p {
  font-size: 10px;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

.nav-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  padding: 8px 0;
  position: relative;
}

.nav-link.active, .nav-link:hover {
  color: var(--accent);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(45, 79, 30, 0.25);
}

.btn-primary:hover {
  background: var(--accent);
  color: #FFFFFF;
  transform: translateY(-1px);
}

.btn-accent {
  background: var(--accent);
  color: #FFFFFF;
}

.btn-accent:hover {
  background: var(--primary);
  color: #FFFFFF;
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: #FFFFFF;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 12px;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 15px;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-forest {
  background: rgba(45, 79, 30, 0.1);
  color: var(--primary);
  border: 1px solid rgba(45, 79, 30, 0.2);
}

.badge-olive {
  background: rgba(140, 156, 62, 0.15);
  color: var(--primary);
  border: 1px solid var(--accent);
}

.badge-amber {
  background: #FEF3C7;
  color: #92400E;
  border: 1px solid #F59E0B;
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 80px 0 100px;
  background: linear-gradient(135deg, rgba(45, 79, 30, 0.04) 0%, rgba(140, 156, 62, 0.08) 100%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-content {
  max-width: 600px;
}

.hero-title {
  font-size: 46px;
  line-height: 1.15;
  margin: 16px 0;
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image-box {
  position: relative;
  border-radius: 36px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 8px solid #FFFFFF;
}

.hero-image-box img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

.hero-floating-card {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  padding: 18px 22px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(45, 79, 30, 0.15);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Feature Highlights */
.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px;
}

.section-title {
  font-size: 32px;
  margin: 12px 0 16px;
}

.section-desc {
  font-size: 15px;
  color: var(--text-muted);
}

/* Grid & Cards */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

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

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

.card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-col: column;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(140, 156, 62, 0.4);
}

.card-img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: var(--primary);
}

.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.card:hover .card-img-wrap img {
  transform: scale(1.05);
}

.card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-title {
  font-size: 18px;
  margin-bottom: 8px;
}

.card-text {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
  flex: 1;
}

.card-price {
  font-size: 20px;
  font-weight: 800;
  font-family: monospace;
  color: var(--primary);
  margin: 12px 0;
}

.card-price span {
  font-size: 12px;
  font-weight: normal;
  color: var(--text-muted);
  font-family: var(--font-body);
}

.card-footer {
  padding: 16px 24px;
  background: #FAF8F5;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Forms */
.form-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 36px;
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--primary);
  margin-bottom: 8px;
}

.form-control, select.form-control, textarea.form-control {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  border: 1.5px solid rgba(45, 79, 30, 0.18);
  font-size: 14px;
  font-family: inherit;
  background: #FFFFFF;
  color: var(--primary);
  transition: border-color 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(140, 156, 62, 0.2);
}

/* Footer */
.footer {
  background: var(--primary-dark);
  color: #FFFFFF;
  padding: 64px 0 24px;
  border-top: 6px solid var(--accent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-col h3 {
  font-size: 16px;
  color: #FFFFFF;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--accent);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #D1D5DB;
  font-size: 13px;
}

.footer-links a:hover {
  color: #FDE047;
  padding-left: 4px;
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
  color: #9CA3AF;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--primary);
  cursor: pointer;
}
