@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Outfit:wght@500;700;800&display=swap');

/* Color variables scoped to the container */
.hero-container {
  --gold-primary: #d4af37;
  --gold-light: #f3e5ab;
  --gold-dark: #aa7c11;
  --green-forest: #1b4332;
  --font-inter: 'Inter', sans-serif;
  --font-outfit: 'Outfit', sans-serif;
}

/* Dark/Green Gradient Overlay for readability (Stronger on the left/middle, transparent on the right) */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* Container holding the Hero block */
.hero-container {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #091e14 0%, #163e2a 100%);
  overflow: hidden;
  position: relative;
  margin: 0;
  padding: 0;
  border: none;
  box-shadow: none;
  min-height: 580px;
}

/* The Hero Section Grid */
.hero-section {
  width: 100%;
  height: 100%;
  min-height: 580px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0;
  overflow: hidden;
}

/* Dynamic Slider Background */
.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: 1;
  transform: translateX(100%);
  transition: transform 1.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 1.5s;
}

.slide.active {
  transform: translateX(0);
  opacity: 1;
  z-index: 2;
}

.slide.prev {
  transform: translateX(-100%);
  transition: transform 1.5s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Main Grid Structure - Horizontal layout: [Logo] [Text] [Rest of slider] */
.slide .hero-main-content {
  position: absolute;
  top: 50px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1200px;
  padding: 0 50px;
  bottom: 160px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 50px;
  z-index: 2;
}

/* Left Side: Logo Wrapper (Without pentagon shape) */
.logo-wrapper {
  position: relative;
  flex: 0 0 160px;
  animation: floatAnimation 6s ease-in-out infinite;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo {
  width: 160px;
  height: 160px;
  object-fit: contain;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.5));
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Subtle glow behind the logo */
.logo-wrapper::before {
  content: '';
  position: absolute;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.25) 0%, rgba(212, 175, 55, 0) 70%);
  z-index: -1;
  filter: blur(10px);
}

/* Hover effect on logo */
.logo-wrapper:hover .hero-logo {
  transform: scale(1.06) rotate(1deg);
  filter: drop-shadow(0 12px 30px rgba(212, 175, 55, 0.3));
}

/* Text & Brand Content stacked vertically next to the logo */
.text-block {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
  max-width: 540px;
  text-align: left;
}

.hero-title {
  font-family: var(--font-outfit);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.hero-title span {
  display: block;
  color: var(--gold-primary);
  font-size: 0.75em;
  font-weight: 500;
  letter-spacing: 1px;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.hero-description {
  font-family: var(--font-inter);
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(241, 245, 249, 0.85);
  max-width: 100%;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* CTA Call to action button */
.hero-cta-button {
  align-self: flex-start;
  margin-top: 10px;
  padding: 12px 28px;
  background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-dark) 100%);
  color: #07190f !important;
  font-family: var(--font-outfit);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none !important;
  border-radius: 30px;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3),
              inset 0 1px 0 0 rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-cta-button:hover {
  background: linear-gradient(135deg, #ffffff 0%, var(--gold-light) 100%);
  color: var(--green-forest) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.5);
}

.cta-arrow {
  transition: transform 0.3s ease;
}

.hero-cta-button:hover .cta-arrow {
  transform: translateX(4px);
}

/* ==========================================================================
   Curved Arch Footer (SVG & Circles)
   ========================================================================== */
.footer-curve-container {
  position: absolute;
  bottom: 0;
  left: 0;
  width: calc(100% + 100px);
  margin-left: -50px;
  margin-right: -50px;
  height: 160px;
  z-index: 3;
  overflow: hidden;
}

.footer-curve-svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Golden border separating the body and footer curve */
.curve-path-back {
  fill: none;
  stroke: var(--gold-primary);
  stroke-width: 3.5px;
  filter: drop-shadow(0 2px 8px rgba(212, 175, 55, 0.4));
}

/* Main deep green/black curved area */
.curve-path-main {
  /* Dynamic color from inline attribute */
}

/* 5 Circles sitting within the curved footer arch */
.footer-circles-overlay {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1200px;
  display: flex;
  justify-content: center;
  gap: 6.5%;
  z-index: 4;
  padding: 0 50px;
}

.circle-item {
  position: relative;
  width: 68px;
  height: 68px;
  background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-dark) 100%);
  color: #07190f !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), 
              0 0 0 1px rgba(255, 255, 255, 0.15) inset;
  cursor: pointer;
  text-decoration: none !important;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Inner circle hover effect */
.circle-item::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px dashed var(--gold-primary);
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.4s ease;
}

.circle-item:hover {
  transform: translateY(-10px) scale(1.1);
  background: linear-gradient(135deg, #ffffff 0%, var(--gold-light) 100%);
  color: var(--green-forest) !important;
  box-shadow: 0 15px 30px rgba(212, 175, 55, 0.4);
}

.circle-item:hover::before {
  opacity: 1;
  transform: scale(1);
}

/* Emoji style inside circle */
.circle-emoji {
  font-size: 1.8rem;
  line-height: 1;
}

/* Labels below circles */
.circle-label {
  position: absolute;
  bottom: -25px;
  font-family: var(--font-outfit);
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  white-space: nowrap;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
}

.circle-item:hover .circle-label {
  color: var(--gold-primary);
  text-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
  transform: scale(1.05);
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes floatAnimation {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(0.5deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

/* ==========================================================================
   Responsive adjustments
   ========================================================================== */
@media (max-width: 900px) {
  .hero-container {
    min-height: 600px;
  }

  .slide .hero-main-content {
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    padding: 0 24px;
    bottom: 130px;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
  }

  .logo-wrapper {
    flex: 0 0 auto;
    justify-content: center;
  }

  .hero-logo {
    width: 110px;
    height: 110px;
  }

  .text-block {
    flex: 0 0 auto;
    max-width: 100%;
    align-items: center;
    text-align: center;
  }

  .hero-cta-button {
    align-self: center;
  }

  .hero-description {
    margin: 0 auto;
  }

  .footer-curve-container {
    width: calc(100% + 48px);
    margin-left: -24px;
    margin-right: -24px;
    height: 130px;
  }

  .footer-circles-overlay {
    bottom: 18px;
    gap: 4%;
    padding: 0 24px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
  }

  .circle-item {
    width: 54px;
    height: 54px;
  }

  .circle-emoji {
    font-size: 1.4rem;
  }

  .circle-label {
    font-size: 0.65rem;
    bottom: -20px;
  }
}

@media (max-width: 550px) {
  .footer-circles-overlay {
    gap: 2%;
  }
  .circle-label {
    display: none;
  }
  .circle-item {
    width: 48px;
    height: 48px;
  }
}
