/* ==========================================================================
   CIELO CAFE AND RESTRO - HOME PAGE & HERO STYLES
   ========================================================================== */

/* ==========================================================================
   CIELO CAFE AND RESTRO - VILLA AURELIA CINEMATIC HERO
   ========================================================================== */

.hero-cinematic-section {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-top: 5.5rem;
  padding-bottom: clamp(2rem, 5vh, 3.5rem);
  background-color: #0C0907;
  background-image: url('../images/cafe/gajra5.jpg');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
}

@media (min-width: 640px) {
  .hero-cinematic-section {
    padding-top: 6.5rem;
    padding-bottom: clamp(2.5rem, 6vh, 4.5rem);
    background-position: center center;
  }
}

@media (min-width: 1024px) {
  .hero-cinematic-section {
    padding-top: 7rem;
    padding-bottom: clamp(3rem, 7vh, 5rem);
    background-position: center center;
  }
}

@media (orientation: landscape) and (max-height: 550px) {
  .hero-cinematic-section {
    min-height: 120svh;
    background-position: center 40%;
  }
}

/* Cinematic Vignette Overlay (Right-focused and vertical gradients for crisp readability) */
.hero-cinematic-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: 
    linear-gradient(to left, rgba(12, 9, 7, 0.8) 0%, rgba(12, 9, 7, 0.45) 45%, rgba(12, 9, 7, 0.15) 70%, transparent 100%),
    linear-gradient(180deg, rgba(12, 9, 7, 0.6) 0%, transparent 20%, transparent 40%, rgba(12, 9, 7, 0.45) 60%, rgba(12, 9, 7, 0.92) 95%);
}

.hero-cinematic-container {
  width: 100%;
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
}

.hero-cinematic-content {
  width: 100%;
  max-width: 52rem;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  animation: textGentlyUp 1100ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes textGentlyUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-cinematic-content {
    animation: none !important;
    transform: none !important;
  }
}

/* Italian Greeting Accent (Villa Aurelia Style: Benvenuti) */
.hero-greeting-wrap {
  margin-bottom: 0.35rem;
  display: flex;
  justify-content: flex-end;
}

.hero-greeting-italic {
  display: inline-block;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 350;
  font-size: clamp(1.2rem, 2.5vw, 2.2rem);
  color: #FFFFFF;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.8);
}

/* Massive Editorial Title in Fraunces: Cielo Cafe and Restro */
.hero-brand-title {
  font-family: var(--font-display);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  margin: 0 0 1.25rem 0;
}

@media (min-width: 640px) {
  .hero-brand-title {
    margin: 0 0 1.75rem 0;
  }
}

.hero-brand-name {
  display: block;
  font-size: clamp(3.2rem, 13vw, 11.5rem);
  line-height: 0.88;
  font-weight: 340;
  letter-spacing: -0.035em;
  color: #FFFFFF;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.85), 0 1px 8px rgba(0, 0, 0, 0.95);
  word-break: normal;
}

.hero-brand-tagline {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3.8vw, 3rem);
  font-weight: 340;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.95);
  margin-top: 0.35rem;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.85);
}

.hero-scroll-wrap {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.5rem;
}

/* Scroll Arrive Vertical Cue */
.hero-scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  min-height: 44px;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  transition: color 200ms ease;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7);
}

.hero-scroll-cue:hover {
  color: #FFFFFF;
}

.hero-scroll-line {
  position: relative;
  display: block;
  width: 1px;
  height: 2.75rem;
  background-color: rgba(255, 255, 255, 0.35);
  overflow: hidden;
}

.hero-scroll-pulse {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background-color: #FFFFFF;
  animation: scrollHint 2.2s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

@keyframes scrollHint {
  0% {
    transform: translateY(-100%);
  }
  50% {
    transform: translateY(100%);
  }
  100% {
    transform: translateY(220%);
  }
}

/* Infinite Marquee Section */
.marquee-wrapper {
  padding: 1rem 0;
  background-color: var(--text-espresso);
  color: var(--bg-cream);
  overflow: hidden;
  border-top: 1px solid rgba(246, 239, 227, 0.15);
  border-bottom: 1px solid rgba(246, 239, 227, 0.15);
  user-select: none;
}

@keyframes marqueeAnim {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

.marquee-content {
  display: flex;
  width: max-content;
  animation: marqueeAnim 28s linear infinite;
}

.marquee-content:hover {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  .marquee-content {
    animation: none !important;
  }
}

.marquee-group {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 0 1rem;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.marquee-text {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 300;
  color: var(--bg-cream);
}

.marquee-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--accent-sky);
  font-size: 1rem;
}

/* Split Sections (Story & Fresh Ingredients) */
.split-sections {
  padding: 4rem 0;
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

@media (min-width: 640px) {
  .split-sections {
    padding: 6rem 0;
    gap: 7rem;
  }
}

.split-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .split-row {
    grid-template-columns: repeat(12, 1fr);
    gap: 4rem;
  }

  .split-col-7 {
    grid-column: span 7;
  }

  .split-col-5 {
    grid-column: span 5;
  }

  .split-row.reverse-desktop .split-col-7 {
    order: 2;
  }

  .split-row.reverse-desktop .split-col-5 {
    order: 1;
  }
}

.split-text-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.split-heading {
  font-family: var(--font-display);
  font-size: 2.15rem;
  line-height: 1.15;
  font-weight: 350;
  letter-spacing: -0.025em;
  color: var(--text-espresso);
}

@media (min-width: 640px) {
  .split-heading {
    font-size: 2.85rem;
  }
}

.split-paragraphs {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.9375rem;
  color: var(--text-espresso-muted);
  font-weight: 300;
  line-height: 1.7;
}

.quote-badge {
  padding: 1.25rem;
  border-radius: var(--border-radius-lg);
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.quote-line {
  width: 0.35rem;
  height: 3rem;
  background-color: var(--accent-terracotta);
  border-radius: var(--border-radius-full);
  flex-shrink: 0;
}

.quote-text {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 350;
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--text-espresso);
}

/* Image Column Styles */
.split-image-card {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  max-height: 380px;
  border-radius: var(--border-radius-xl);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--border-light);
}

@media (min-width: 640px) {
  .split-image-card {
    aspect-ratio: 16 / 11;
    max-height: 440px;
  }
}

@media (min-width: 1024px) {
  .split-image-card {
    aspect-ratio: 3 / 4;
    max-height: none;
  }
}

.split-image-card.aspect-4-5 {
  aspect-ratio: 16 / 10;
  max-height: 380px;
}

@media (min-width: 640px) {
  .split-image-card.aspect-4-5 {
    aspect-ratio: 16 / 11;
    max-height: 440px;
  }
}

@media (min-width: 1024px) {
  .split-image-card.aspect-4-5 {
    aspect-ratio: 4 / 5;
    max-height: none;
  }
}

.atmosphere-pill {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  right: 0.75rem;
  background-color: rgba(27, 21, 17, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--bg-cream);
  padding: 0.75rem;
  border-radius: var(--border-radius-md);
  border: 1px solid rgba(246, 239, 227, 0.15);
}

@media (min-width: 640px) {
  .atmosphere-pill {
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    padding: 0.875rem;
  }
}

.atmosphere-title {
  font-size: 0.625rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent-sky);
  display: block;
}

.atmosphere-caption {
  font-size: 0.75rem;
  color: rgba(246, 239, 227, 0.9);
  margin-top: 0.25rem;
}

.farm-fresh-tag {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background-color: var(--accent-terracotta);
  color: var(--bg-card);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: var(--border-radius-full);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

@media (min-width: 640px) {
  .farm-fresh-tag {
    top: 1rem;
    right: 1rem;
  }
}

/* Quality Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  padding-top: 0.5rem;
}

@media (min-width: 480px) {
  .stats-grid {
    gap: 1rem;
  }
}

.stat-box {
  padding: 0.75rem 0.35rem;
  border-radius: var(--border-radius-lg);
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
  text-align: center;
}

@media (min-width: 480px) {
  .stat-box {
    padding: 1.25rem 1rem;
  }
}

.stat-box-value {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 350;
  letter-spacing: -0.03em;
  color: var(--accent-terracotta);
  display: block;
  line-height: 1.1;
}

@media (min-width: 480px) {
  .stat-box-value {
    font-size: 2rem;
  }
}

@media (min-width: 640px) {
  .stat-box-value {
    font-size: 2.5rem;
  }
}

.stat-box-label {
  font-family: var(--font-sans);
  font-size: 0.5625rem;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent-sky-deep);
  margin-top: 0.35rem;
  display: block;
  word-break: break-word;
}

@media (min-width: 480px) {
  .stat-box-label {
    font-size: 0.6875rem;
    letter-spacing: 0.08em;
  }
}

/* Order Online Buttons */
.order-partners-block {
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.order-partners-title {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-espresso);
}

.order-buttons-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.btn-delivery-badge {
  padding: 0.7rem 1.35rem;
  border-radius: var(--border-radius-full);
  border: 1px solid var(--border-light);
  background-color: var(--bg-card);
  color: var(--text-espresso);
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: var(--transition-smooth);
}

.btn-delivery-badge:hover {
  background-color: var(--text-espresso);
  color: var(--bg-cream);
  border-color: var(--text-espresso);
  transform: translateY(-1px);
}
