/* arch.css - Realistic Oil Painting Floral Side Flanks & Smooth Outward Transition */
/* Cvetličarna Mahkovic (Ljubljana - Polje) */

/* FIXED/STICKY FLORAL FLANKS WRAPPER (Left & Right Sides Only) */
.seasonal-flanks-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  pointer-events: none;
  z-index: 6; /* Visible in Hero (over z-index: 2 background), but BEHIND sections (z-index: 20) */
  overflow: hidden;
}

.flank-side {
  position: absolute;
  top: 0;
  height: 100vh;
  width: clamp(240px, 25vw, 420px);
  pointer-events: none;
  will-change: transform, opacity;
  /* Strictly NO transform transition to prevent scroll lag/jitter */
  transition: opacity 0.5s ease;
}

.flank-left {
  left: 0;
  transform-origin: left center;
}

.flank-right {
  right: 0;
  transform-origin: right center;
}

.flank-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.07)) saturate(1.05);
  transition: opacity 0.5s ease;
  display: block;
}

.flank-img-right {
  transform: scaleX(-1);
  object-position: left center;
}

/* HERO SECTION (Framed by left & right florals, text sits in front) */
.hero-arch-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 35%, #fffbf0 0%, #fef3c7 35%, #fed7aa 65%, #fdba74 95%, #ea580c 100%);
  transition: background 1.2s ease;
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 80px 20px 60px;
  z-index: 2; /* Background layer under flanks */
}

/* Seasonal Hero Backgrounds */
[data-season="autumn"] .hero-arch-section {
  background: radial-gradient(ellipse at 50% 30%, #fffbf0 0%, #fef3c7 35%, #fed7aa 65%, #fdba74 95%, #ea580c 100%);
}

[data-season="winter"] .hero-arch-section {
  background: radial-gradient(ellipse at 50% 30%, #ffffff 0%, #f1f5f9 35%, #e2e8f0 65%, #cbd5e1 95%, #94a3b8 100%);
}

[data-season="spring"] .hero-arch-section {
  background: radial-gradient(ellipse at 50% 30%, #fffdfa 0%, #fdf2f8 35%, #fce7f3 65%, #fed7aa 95%, #fef08a 100%);
}

[data-season="summer"] .hero-arch-section {
  background: radial-gradient(ellipse at 50% 30%, #fffef0 0%, #fefce8 35%, #fef08a 65%, #bbf7d0 95%, #86efac 100%);
}

/* Canvas Texture & Ambient Sunlight */
.oil-canvas-texture {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  opacity: 0.14;
  background-image: 
    radial-gradient(#451a03 0.8px, transparent 0.8px),
    radial-gradient(#78350f 0.8px, transparent 0.8px);
  background-size: 14px 14px, 28px 28px;
  background-position: 0 0, 7px 7px;
}

.sunbeam-soft {
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  max-width: 100vw;
  height: 440px;
  background: radial-gradient(ellipse at center, rgba(254, 240, 138, 0.4) 0%, rgba(253, 224, 71, 0.12) 50%, transparent 75%);
  filter: blur(32px);
  pointer-events: none;
}

/* Ambient Canvas Particles */
.ambient-particle-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 8;
}

/* Hero Frosted Glass Container (Strictly on top of flanks) */
.hero-intro-bar {
  text-align: center;
  padding: 44px 38px 36px;
  max-width: 820px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 20px 48px rgba(67, 20, 7, 0.09), 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.5s ease;
}

[data-season="winter"] .hero-intro-bar {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(226, 232, 240, 0.95);
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.08);
}

[data-season="spring"] .hero-intro-bar {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(252, 231, 243, 0.95);
  box-shadow: 0 20px 48px rgba(190, 24, 93, 0.08);
}

[data-season="summer"] .hero-intro-bar {
  background: rgba(255, 255, 255, 0.90);
  border-color: rgba(254, 240, 138, 0.95);
  box-shadow: 0 20px 48px rgba(180, 83, 9, 0.08);
}

/* Quick Trust Badges in Hero */
.hero-highlights-row {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
}

.hero-highlight-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--season-text, #431407);
}

.hero-highlight-item .highlight-icon {
  font-size: 1.1rem;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .flank-side {
    width: clamp(200px, 22vw, 320px);
  }
}

@media (max-width: 900px) {
  .hero-arch-section {
    min-height: 75vh;
    padding: 50px 16px 40px;
  }
  .hero-intro-bar {
    padding: 30px 22px 26px;
    border-radius: 24px;
  }
  .flank-side {
    width: 150px;
    opacity: 0.65;
  }
  .hero-highlights-row {
    gap: 12px;
  }
  .hero-highlight-item {
    font-size: 0.82rem;
  }
}

@media (max-width: 600px) {
  .hero-arch-section {
    min-height: 70vh;
    padding: 35px 12px 30px;
  }
  .hero-intro-bar {
    padding: 24px 16px 20px;
    border-radius: 20px;
  }
  .flank-side {
    width: 95px;
    opacity: 0.45;
  }
}
