/**
 * css/coffee.css
 * Roastery hero, products carousel, and coffee page specific styles.
 */
/* Coffee Product Experience Specific Styles */

.coffee-hero {
  position: relative;
  width: 100%;
  height: 80vh;
  min-height: 550px;
  overflow: hidden;
  display: flex;
  align-items: center;
  color: var(--text-primary);
}

.coffee-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.coffee-hero-video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
  background-color: var(--color-bg);
}

.coffee-hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.8) contrast(1.02) saturate(0.9);
}

.coffee-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background: linear-gradient(to bottom, rgba(15,15,16,0.92) 0%, rgba(15,15,16,0.55) 60%, rgba(15,15,16,0.95) 100%);
}

.coffee-hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding-top: 88px; /* Navbar spacer */
}

.coffee-hero-label {
  font-family: var(--font-family-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-tertiary);
  margin-bottom: 16px;
  display: inline-block;
}

.coffee-hero-content h1 {
  margin-bottom: 24px;
}

.coffee-hero-content p {
  margin-bottom: 40px;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

.coffee-hero-ctas {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.scroll-down-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-muted);
  animation: bounceSlow 2s infinite;
  cursor: pointer;
  z-index: 3;
}

@keyframes bounceSlow {
  0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); }
  40% { transform: translate(-50%, -10px); }
  60% { transform: translate(-50%, -5px); }
}

/* Products Section & Slider Carousel */
.products-section {
  background-color: var(--color-bg);
}

.products-carousel-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
}

.products-carousel-header-text {
  max-width: 580px;
}

.products-carousel-header-text h2 {
  margin-bottom: 12px;
}

.carousel-nav-btns {
  display: flex;
  gap: 12px;
}

.carousel-nav-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.carousel-nav-btn:hover {
  background-color: var(--color-secondary);
  color: var(--color-primary);
  border-color: var(--color-secondary);
}

.products-carousel-wrapper {
  overflow: hidden;
  padding: 10px 0;
}

.products-carousel-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  transition: transform var(--transition-normal);
}





/* Why BrewNest Roastery Split section */
.why-roastery-section {
  background-color: var(--color-surface-dim);
}

.why-roastery-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 60px;
  align-items: center;
}

.why-roastery-left {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  height: 480px;
}

.why-roastery-left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.roastery-quote-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 32px;
  background: linear-gradient(to top, rgba(15,15,16,0.92) 0%, rgba(15,15,16,0.3) 100%);
  color: var(--text-primary);
}

.roastery-quote-text {
  font-size: 15px;
  font-style: italic;
  line-height: 1.6;
  max-width: 480px;
}

.why-roastery-right {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.roastery-features-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.roastery-feature-item {
  display: flex;
  gap: 20px;
}

.roastery-feature-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background-color: rgba(200, 155, 99, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-tertiary);
  flex-shrink: 0;
}

.roastery-feature-info h3 {
  font-family: var(--font-family-body);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.roastery-feature-info p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}



/* Membership Waitlist Callout */
.membership-section {
  background-color: var(--color-bg);
}

.membership-card {
  background: linear-gradient(135deg, rgba(200,155,99,0.04) 0%, rgba(42,30,23,0.3) 100%), rgba(255, 255, 255, 0.02);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 60px;
  text-align: center;
  box-shadow: var(--shadow-card);
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.membership-card-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(200, 155, 99, 0.1);
  color: var(--color-tertiary);
  margin-bottom: 20px;
}

.membership-card h2 {
  font-size: 32px;
  margin-bottom: 12px;
}

.membership-card p {
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto 32px;
  font-size: 15px;
}

.membership-form {
  display: flex;
  gap: 16px;
  justify-content: center;
  max-width: 540px;
  margin: 0 auto 16px;
}

.membership-form .form-input {
  max-width: 320px;
}

.membership-note {
  font-size: 12px;
  color: var(--text-muted);
}

/* ════ MEDIA QUERIES: (max-width: 1024px) ════ */
@media (max-width: 1024px) {
  .products-carousel-track {
  grid-template-columns: repeat(2, 1fr);
  }

  .why-roastery-grid {
  grid-template-columns: 1fr;
  gap: 48px;
  }
  .why-roastery-left {
  height: 380px;
  }
}

/* ════ MEDIA QUERIES: (max-width: 640px) ════ */
@media (max-width: 640px) {
  .products-carousel-track {
  grid-template-columns: 1fr;
  }

  .membership-form {
  flex-direction: column;
  align-items: center;
  }
  .membership-form .form-input {
  max-width: 100%;
  }
  .membership-form .btn {
  width: 100%;
  }
}
