/* ========================================== */
/* LANDING PAGE - Hero Sections CSS           */
/* ========================================== */
/* Contains: Slideshow hero, carousel        */
/* animations, and hero section               */
/* ========================================== */

/* ========================================== */
/* 0.5 SLIDESHOW HERO                        */
/* ========================================== */

.slideshow-hero {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
  background: #000;
}

.slideshow-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 2.2s ease-in-out;
  z-index: 5;
}

.slide.active {
  opacity: 1;
}

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

.slide:nth-child(1) img {
  object-position: center 60%;
}

.slide:nth-child(2) img {
  object-position: center 85%;
}

.slide:nth-child(3) img {
  object-position: center 25%;
}

.slide:nth-child(4) img {
  object-position: center 30%;
}

/* Dark overlay for readability */
.slide::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.35);
}

/* Left-aligned transparent card over slideshow */
.slideshow-card {
  position: absolute;
  top: 50%;
  left: 60px;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
  border-radius: 16px;
  padding: 40px;
  max-width: 500px;
  width: auto;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: left;
  animation: slideUpCard 0.6s ease-out;
}

@keyframes slideUpCard {
  from {
    opacity: 0;
    transform: translateY(-40px);
  }
  to {
    opacity: 1;
    transform: translateY(-50%);
  }
}

.slideshow-card__title {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  margin-bottom: 20px;
  line-height: 1.2;
  font-family: var(--font-lora);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.slideshow-card__text {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 30px;
  line-height: 1.6;
  font-family: var(--font-inter);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.slideshow-card__button {
  display: inline-block;
  padding: 18px 50px;
  background: #d4c47c;
  color: #2d2416;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 800;
  cursor: pointer;
  font-family: var(--font-inter);
  transition: all 0.3s ease;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5), 0 0 0 3px rgba(212, 196, 124, 0.3);
  letter-spacing: 0.5px;
}

.slideshow-card__button:hover {
  background: #e6d89f;
  transform: translateY(-4px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.6), 0 0 0 5px rgba(212, 196, 124, 0.4);
}

@media (max-width: 768px) {
  .slideshow-hero {
    height: 400px;
  }

  .slideshow-card {
    padding: 30px;
    max-width: 85%;
  }

  .slideshow-card__title {
    font-size: 1.5rem;
  }

  .slideshow-card__text {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .slideshow-hero {
    height: 350px;
  }

  .slideshow-card {
    padding: 20px;
    width: 90%;
  }

  .slideshow-card__title {
    font-size: 1.2rem;
  }

  .slideshow-card__text {
    font-size: 0.85rem;
  }

  .slideshow-card__button {
    padding: 12px 30px;
    font-size: 0.9rem;
  }
}

/* ========================================== */
/* 1. HERO SECTION - Subtle BG Accent       */
/* ========================================== */

.hero {
  min-height: 55vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 3rem 1rem;
  background: linear-gradient(135deg, var(--rooted-green) 0%, var(--rooted-light) 100%);
  overflow: hidden;
}

.hero__bg-accent {
  position: absolute;
  top: 0;
  left: 0;
  width: 40%;
  height: 100%;
  opacity: 0.12;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  z-index: 1;
}

.hero__bg-accent img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  text-align: center;
}

.hero__headline {
  font-family: var(--font-inter);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--rooted-dark);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero__subheadline {
  font-family: var(--font-lora);
  font-size: 1.2rem;
  color: var(--rooted-dark);
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero #hero-cta-btn {
  margin-top: 2rem;
  font-size: 1rem;
  padding: 1rem 2.5rem;
  background: #fbf7ec;
  color: var(--rooted-dark);
  border: 2.5px solid var(--rooted-dark);
  font-weight: 700;
  transition: all 0.3s ease;
}

.hero #hero-cta-btn:hover {
  background: var(--rooted-dark);
  color: #fbf7ec;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(46, 43, 40, 0.2);
}

/* Hero Trust Indicators */
.hero__trust-indicators {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.6s both;
  justify-content: center;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-inter);
  font-size: 0.95rem;
  color: var(--rooted-dark);
  font-weight: 500;
}

.trust-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--rooted-green);
  color: black;
  border-radius: 50%;
  font-weight: bold;
  font-size: 0.85rem;
  flex-shrink: 0;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile Hero */
@media (max-width: 768px) {
  .hero {
    min-height: 50vh;
    padding: 2rem 1rem;
  }

  .hero__headline {
    font-size: 2.2rem;
  }

  .hero__subheadline {
    font-size: 1rem;
  }

  .hero__bg-accent {
    width: 50%;
    opacity: 0.05;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 45vh;
  }

  .hero__headline {
    font-size: 1.8rem;
  }

  .hero__subheadline {
    font-size: 0.95rem;
  }

  .search-form__group {
    gap: 0.5rem;
  }
}




