/* Bamboo Elite - Rich Design System */
:root {
  --bg-light: #F7F5F0;
  --bg-cream: #EDE9E1;
  --bg-warm: #E5E0D6;
  --gold: #B8860B;
  --gold-light: #D4A84B;
  --gold-dark: #8B6914;
  --text-dark: #2C2A26;
  --text-muted: #5C5A56;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Heebo', 'Segoe UI', sans-serif;
  background: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  margin: 0;
  min-height: 100vh;
}

/* Header - floats on top of content, transparent over hero video */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  color: var(--gold-dark);
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: none;
  transition: background 0.3s, border-color 0.3s;
}

/* Solid header when scrolled (on home) or on other pages */
.site-header.scrolled,
body:not(.home-page) .site-header {
  background: rgba(247, 245, 240, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(184, 134, 11, 0.15);
}

/* On home page hero: subtle dark overlay so nav is readable over video */
body.home-page .site-header:not(.scrolled) {
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(8px);
}

body.home-page .site-header:not(.scrolled) .site-nav a {
  color: var(--gold-light);
}

body.home-page .site-header:not(.scrolled) .site-nav a:hover {
  color: white;
}

.site-header .logo {
  height: 55px;
  width: auto;
}

.site-header .logo img {
  height: 100%;
  width: auto;
}

.site-nav {
  display: flex;
  gap: 2rem;
}

.site-nav a {
  color: var(--gold-dark);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.site-nav a:hover {
  color: var(--gold);
}

/* Main - no max-width for full-bleed sections */
main {
  padding-top: 0;
}

/* Typography */
h1, h2, h3 {
  font-family: 'Heebo', serif;
  font-weight: 600;
  color: var(--gold);
}

h1 {
  font-size: 3rem;
  margin: 0 0 0.5rem;
}

.hero-video-content h1 {
  color: var(--gold-dark);
  text-shadow: 0 1px 3px rgba(255,255,255,0.5);
}

h2 {
  font-size: 2rem;
  margin: 0 0 1rem;
}

h3 {
  font-size: 1.25rem;
  margin: 0 0 0.5rem;
}

p {
  margin: 0 0 1rem;
  color: var(--text-dark);
}

/* Hero Video - full viewport, menu overlays on top */
.hero-video-section {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 500px;
}

.hero-video-wrap {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(247, 245, 240, 0.85) 0%, rgba(247, 245, 240, 0.3) 50%, transparent 100%);
}

.hero-video-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.hero-video-content .tagline {
  font-size: 1.25rem;
  color: var(--gold-dark);
  margin-bottom: 2rem;
}

.hero-cta {
  display: inline-block;
  padding: 0.9rem 2rem;
  background: var(--gold);
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.2s, transform 0.2s;
}

.hero-cta:hover {
  background: var(--gold-dark);
  color: white;
  transform: translateY(-2px);
}

/* Sections */
.section {
  padding: 4rem 2rem;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  margin-bottom: 1.5rem;
}

.section-lead {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* Intro Section */
.section-intro {
  background: var(--bg-cream);
}

.intro-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.intro-text p {
  font-size: 1.05rem;
}

.intro-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.intro-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Applications Grid */
.section-applications {
  background: var(--bg-light);
}

.applications-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.application-card {
  background: white;
  border: 1px solid rgba(184, 134, 11, 0.2);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s;
}

.application-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.application-image {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.application-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.application-card h3 {
  padding: 1.25rem 1.25rem 0;
}

.application-card p {
  padding: 0 1.25rem 1.25rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0;
}

/* Features Section */
.section-features {
  background: var(--bg-cream);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-item {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 12px;
  border: 1px solid rgba(184, 134, 11, 0.2);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.feature-icon {
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 1rem;
}

.feature-item p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* CTA Section */
.section-cta {
  background: var(--bg-light);
}

.cta-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.cta-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.cta-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-text .btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  margin: 0.5rem 0.5rem 0.5rem 0;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.2s;
}

.btn-primary {
  background: var(--gold);
  color: white;
}

.btn-primary:hover {
  background: var(--gold-light);
}

.btn-secondary {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}

.btn-secondary:hover {
  background: rgba(184, 134, 11, 0.1);
}

/* Footer */
.site-footer {
  background: var(--bg-warm);
  padding: 3rem 2rem 2rem;
  border-top: 1px solid rgba(184, 134, 11, 0.15);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-brand .footer-logo {
  height: 50px;
  margin-bottom: 0.5rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}

.footer-nav {
  display: flex;
  gap: 2rem;
}

.footer-nav a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 500;
}

.footer-nav a:hover {
  color: var(--gold-light);
}

.footer-copy {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 2rem 0 0;
}

/* Catalog grid */
.catalog-intro {
  padding: 0 2rem 3rem;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.catalog-intro p {
  font-size: 1.1rem;
  color: var(--text-muted);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  padding: 0 2rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.catalog-card {
  background: white;
  border: 1px solid rgba(184, 134, 11, 0.25);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.catalog-card:hover {
  border-color: var(--gold);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

.catalog-card h3 {
  font-size: 1rem;
  color: var(--gold);
  margin: 0 0 1rem;
  font-weight: 500;
}

.catalog-card .btn {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: var(--gold);
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.2s, color 0.2s;
}

.catalog-card .btn:hover {
  background: var(--gold-dark);
  color: white;
}

.catalog-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* Page title */
.page-title {
  text-align: center;
  margin-bottom: 1rem;
  padding-top: 2rem;
}

.page-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 0;
  padding-bottom: 2rem;
}

/* Catalog page hero */
.catalog-hero {
  text-align: center;
  padding: 6rem 2rem 4rem;
  background: linear-gradient(180deg, var(--bg-warm) 0%, var(--bg-cream) 100%);
}

.catalog-hero h1 {
  margin-bottom: 0.5rem;
}

/* Contact form */
.contact-section {
  padding: 2rem;
  min-width: 0;
}

.contact-intro {
  text-align: center;
  margin-bottom: 2.5rem;
}

.contact-intro p {
  font-size: 1.1rem;
  color: var(--text-muted);
}

.contact-form {
  background: white;
  border: 1px solid rgba(184, 134, 11, 0.2);
  border-radius: 12px;
  padding: 2rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--gold);
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  background: var(--bg-light);
  border: 1px solid rgba(184, 134, 11, 0.2);
  border-radius: 6px;
  color: var(--text-dark);
  font-family: inherit;
  font-size: 1rem;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: white;
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-submit {
  padding: 0.75rem 2rem;
  background: var(--gold);
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
}

.form-submit:hover {
  background: var(--gold-light);
}

/* Contact page layout */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1300px;
  margin: 0 auto;
  padding: 2rem 4rem;
  align-items: start;
}

.contact-info {
  background: white;
  border: 1px solid rgba(184, 134, 11, 0.2);
  border-radius: 12px;
  padding: 2rem;
}

.contact-info h3 {
  margin-bottom: 1rem;
}

.contact-info p {
  margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 900px) {
  .intro-content,
  .cta-content,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .applications-grid,
  .features-grid {
    grid-template-columns: 1fr;
  }

  .applications-grid {
    max-width: 400px;
    margin: 0 auto;
  }

  h1 {
    font-size: 2.25rem;
  }

  .hero-video-section {
    height: 100vh;
  }
}

@media (max-width: 600px) {
  .site-nav {
    gap: 1rem;
  }

  .section {
    padding: 3rem 1rem;
  }

  .catalog-grid {
    padding: 0 1rem 3rem;
  }
}
