/**
 * css/landing.css
 * Homepage-specific styles including hero section and brand strip.
 */
/* Landing Page Specific Styles */

/* 1. Hero Section */
.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 800px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-bg);
  color: var(--text-primary);
}

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

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

.hero-video-desktop {
  display: block;
}

.hero-video-mobile {
  display: none;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background: 
    /* Left gradient overlay for text readability */
    linear-gradient(to right, rgba(15, 15, 16, 0.98) 0%, rgba(15, 15, 16, 0.88) 32%, rgba(15, 15, 16, 0.2) 65%, rgba(15, 15, 16, 0.7) 100%),
    /* Bottom gradient overlay to page body */
    linear-gradient(to bottom, transparent 65%, rgba(15, 15, 16, 0.98) 100%),
    /* Vignette gradient layer */
    radial-gradient(circle at 65% 50%, transparent 20%, rgba(15, 15, 16, 0.75) 95%);
  pointer-events: none;
}

.hero-ambient-glow {
  position: absolute;
  top: 30%;
  right: 15%;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(200, 155, 99, 0.06) 0%, transparent 70%);
  z-index: 2;
  pointer-events: none;
  filter: blur(60px);
}

.italic-serif {
  font-family: var(--font-family-heading);
  font-style: italic;
  font-weight: 500;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 3;
  width: 100%;
  padding-top: 100px; /* Navbar height + extra spacer */
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-content h1 {
  font-size: 82px;
  line-height: 1.08;
  margin-bottom: 28px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.hero-content p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 500px;
  margin-bottom: 38px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-ctas {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

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

.hero-delivery-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Hero Cards Slider Wrap */
.hero-cards-slider-wrap {
  width: 100%;
  overflow: visible;
}

.hero-card.duplicate {
  display: none;
}

/* Hero Floating Cards Column */
.hero-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: relative;
}

.hero-card {
  background: rgba(15, 15, 16, 0.45);
  border: 1px solid rgba(245, 235, 221, 0.08);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: var(--radius-card);
  padding: 24px 28px;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  align-items: center;
  gap: 20px;
}

.hero-card:hover {
  border-color: rgba(200, 155, 99, 0.35) !important;
  box-shadow: 0px 20px 45px rgba(0, 0, 0, 0.5), 0px 0px 30px rgba(200, 155, 99, 0.15) !important;
}

/* Staggered Floating animations on Desktop */
#hero-card-1 {
  transform: translate3d(35px, 0, 0);
  animation: floatCard1 8s ease-in-out infinite alternate;
}

#hero-card-2 {
  transform: translate3d(-35px, 0, 0);
  animation: floatCard2 9s ease-in-out infinite alternate;
}

#hero-card-3 {
  transform: translate3d(15px, 0, 0);
  animation: floatCard3 7s ease-in-out infinite alternate;
}

@keyframes floatCard1 {
  0% { transform: translate3d(35px, 0, 0); }
  100% { transform: translate3d(35px, -12px, 0); }
}

@keyframes floatCard2 {
  0% { transform: translate3d(-35px, 0, 0); }
  100% { transform: translate3d(-35px, -15px, 0); }
}

@keyframes floatCard3 {
  0% { transform: translate3d(15px, 0, 0); }
  100% { transform: translate3d(15px, -10px, 0); }
}

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

.hero-card-info h3 {
  font-family: var(--font-family-body);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.hero-card-info p {
  font-size: 12px;
  color: var(--text-secondary);
}

/* Responsive Hero and Breakpoint Rules */




/* 2. Quick Brand Strip */
.brand-strip {
  background-color: var(--color-surface-lowest);
  border-top: 1px solid rgba(245, 235, 221, 0.04);
  border-bottom: 1px solid rgba(245, 235, 221, 0.04);
  padding: 22px 0;
  overflow: hidden;
  width: 100%;
}

.brand-strip-track {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 64px;
}

.brand-strip-track::-webkit-scrollbar {
  display: none;
}

.brand-strip-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-tertiary);
  white-space: nowrap;
}

.brand-strip-item.duplicate {
  display: none;
}

.brand-strip-item svg {
  color: var(--color-tertiary);
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  transition: transform var(--transition-fast);
}

.brand-strip-item:hover svg {
  transform: scale(1.15);
}



@keyframes brandScroll {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(calc(-50% - 24px), 0, 0); }
}

@keyframes cardScroll {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-900px, 0, 0); }
}

/* 3. Interactive Menu Section */
.menu-section {
  position: relative;
  background-color: var(--color-bg);
}

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

.section-header h2 {
  margin-bottom: 16px;
}

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





/* 4. Workspace Section */
.workspace-section {
  background-color: var(--color-surface-dim);
}

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

.workspace-left {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.workspace-title-area {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.workspace-features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 40px;
  align-items: center;
}

.w-feature-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}

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

.w-feature-text {
  display: flex;
  align-items: center;
  line-height: 1.0;
  margin: 0;
  padding: 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
}

.workspace-quote {
  border-left: 2.5px solid var(--color-tertiary);
  padding-left: 20px;
  font-size: 15px;
  line-height: 1.6;
  font-style: italic;
  color: var(--text-secondary);
  background: rgba(255,255,255,0.01);
  padding-top: 10px;
  padding-bottom: 10px;
}

.workspace-quote-author {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  font-style: normal;
  letter-spacing: 0.05em;
}

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

.workspace-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}



/* 5. Rooftop Section */
.rooftop-section {
  background-color: var(--color-bg);
}

.rooftop-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: stretch;
}

.rooftop-left {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  height: 520px;
}

.rooftop-left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-cinematic);
}

.rooftop-left:hover img {
  transform: scale(1.03);
}

.rooftop-right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.rooftop-text-area {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.rooftop-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.event-teaser-card {
  padding: 24px 28px;
  display: flex;
  gap: 20px;
}

.etc-date-badge {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background-color: var(--color-primary);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.etc-date-day {
  font-family: var(--font-family-body);
  font-size: 18px;
  font-weight: 700;
  color: var(--color-tertiary);
  line-height: 1;
}

.etc-date-month {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
}

.etc-details h4 {
  font-family: var(--font-family-body);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.etc-details p {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.etc-details span {
  font-size: 12px;
  color: var(--text-muted);
}



/* 6. Coffee Subscription Teaser Block */
.subscription-teaser {
  background-color: var(--color-surface-dim);
}

.subscription-teaser-box {
  background: linear-gradient(135deg, rgba(42,30,23,0.3) 0%, rgba(200,155,99,0.02) 100%), rgba(255,255,255,0.02);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 60px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.subscription-teaser-box::after {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 300px;
  height: 300px;
  background-color: rgba(200,155,99,0.03);
  filter: blur(80px);
  border-radius: 50%;
  pointer-events: none;
}

.sub-teaser-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.sub-teaser-right {
  display: flex;
  justify-content: center;
  align-items: center;
}

.sub-teaser-img-wrap {
  width: 100%;
  max-width: 340px;
  height: 280px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.sub-teaser-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.subscription-teaser-box:hover .sub-teaser-img-wrap img {
  transform: scale(1.04);
}



/* 7. Testimonials Slider Section */
.testimonials-section {
  background-color: var(--color-bg);
  position: relative;
  overflow: hidden;
}

.testimonials-slider-container {
  width: 100%;
  overflow: hidden;
  padding: 20px 0;
}

.testimonials-track {
  display: flex;
  gap: 32px;
  width: max-content;
  animation: scrollTrack 120s linear infinite;
}

.testimonials-track:hover {
  animation-play-state: paused;
}

@keyframes scrollTrack {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(calc(-50% - 16px), 0, 0); } /* Scrolls exactly one set out of two (50% + gap compensation) */
}

.testimonials-track .testimonial-card {
  width: 360px;
  flex-shrink: 0;
}

/* ════ MEDIA QUERIES: (max-width: 1024px) ════ */
@media (max-width: 1024px) {
  .hero-section {
  height: auto;
  min-height: 100vh;
  padding-bottom: 60px;
  }
  .hero-grid {
  grid-template-columns: 1fr;
  gap: 50px;
  text-align: center;
  padding-top: 120px;
  }
  .hero-content {
  align-items: center;
  }
  .hero-content h1 {
  font-size: 52px;
  line-height: 1.1;
  }
  .hero-content p {
  max-width: 480px;
  }
  .hero-ctas {
  justify-content: center;
  }
  .hero-delivery {
  justify-content: center;
  }
  .hero-cards-slider-wrap {
  width: 100vw;
  margin-left: -48px; /* Offset tablet margin */
  overflow: hidden;
  }
  .hero-cards-stack {
  display: flex;
  flex-direction: row;
  width: max-content;
  gap: 20px;
  padding: 10px 0 24px 48px;
  margin: 0;
  overflow: visible;
  scroll-snap-type: none;
  -webkit-overflow-scrolling: auto;
  animation: cardScroll 25s linear infinite;
  }
  .hero-cards-stack::-webkit-scrollbar {
  display: none;
  }
  .hero-card {
  width: 280px;
  flex-shrink: 0;
  transform: none !important;
  animation: none !important;
  background: rgba(15, 15, 16, 0.65);
  }
  .hero-card.duplicate {
  display: flex;
  }

  .brand-strip-track {
  justify-content: flex-start;
  gap: 48px;
  width: max-content;
  animation: brandScroll 25s linear infinite;
  }

  .brand-strip-item.duplicate {
  display: flex;
  }

  .menu-grid {
  grid-template-columns: repeat(2, 1fr);
  }

  .workspace-grid {
  grid-template-columns: 1fr;
  gap: 48px;
  }
  .workspace-right {
  height: 380px;
  }

  .rooftop-grid {
  grid-template-columns: 1fr;
  gap: 40px;
  }
  .rooftop-left {
  height: 380px;
  }
  .rooftop-right {
  order: -1;
  }

  .subscription-teaser-box {
  grid-template-columns: 1fr;
  gap: 40px;
  padding: 40px;
  text-align: center;
  }
  .sub-teaser-left {
  align-items: center;
  }
  .sub-teaser-right {
  order: -1;
  }
}

/* ════ MEDIA QUERIES: (max-width: 768px) ════ */
@media (max-width: 768px) {
  .hero-video-desktop {
  display: none;
  }
  .hero-video-mobile {
  display: block;
  filter: brightness(0.85) contrast(1.03) saturate(0.9);
  }
  .hero-content h1 {
  font-size: 42px;
  }
  .hero-ctas {
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
  gap: 15px;
  }
  .hero-ctas .btn {
  width: 100%;
  box-sizing: border-box;
  }
  .hero-cards-slider-wrap {
  margin-left: -20px; /* Offset mobile margin */
  }
  .hero-cards-stack {
  padding-left: 20px;
  padding-right: 0;
  }

  .testimonials-track .testimonial-card {
  width: 290px;
  }
}

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