/* RESET & BASE */
body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f3efe0;
  color: #2e2e2e;
  box-sizing: border-box;
}

:root {
  --soil-brown: #311f1a;
  --clay-orange: #d2691e;
  --beige: #f3efe0;
  --accent-yellow: #db981c;
  --overlay-dark: rgba(0, 0, 0, 0.5);
}

/* HERO */
.hero {
  position: relative;
  height: 85vh;
  overflow: hidden;
  background-color: #000;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  background: var(--overlay-dark);
  padding: 2.5rem 3rem;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}

.hero-text h1 {
  font-size: 3.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-text p {
  font-size: 1.3rem;
  opacity: 0.9;
}

/* SECTION STYLING */
.alternate-section {
  padding: 2rem 2rem;
  background: #f1efbd;
  color: #fff;
}

.container {
  max-width: 1400px;
  margin: auto;
  padding: 0 1rem;
}

/* Zig-zag layout */
.alternate-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  gap: 2rem;
}


.alternate-row:nth-child(even) {
  flex-direction: row-reverse;
}

.alternate-text {
  flex: 1;
  padding: 1rem;
}
.alternate-text h3{
  font-size: 2rem;
  color: #6e4226;
  margin-bottom: 1.2rem;
}

.alternate-text h2 {
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
    color: #6e4226;
}

.alternate-text p {
  font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 1rem 16px;
    color: #7a5a44;
    text-align: justify;
}

.alternate-text ul {
  list-style-type: disc;
  padding-left: 1.5rem;
}

.alternate-text li {
  margin-bottom: 0.75rem;
  line-height: 1.6;
  font-size: 1.2rem;
  color: #ddd;
}

/* IMAGES with border */
.alternate-image {
  flex: 1;
  position: relative;
  border: 4px solid var(--accent-yellow);
  border-radius: 11px;
  overflow: hidden;
  transition: transform 0.3s ease;
  box-shadow: none;
}

.alternate-image:hover {
  transform: none;
}

.alternate-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* CTA SECTION */
.cta {
  background: #5c421c;
  color: white;
  text-align: center;
  padding: 4rem 2rem;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  top: -30%;
  left: -20%;
  width: 150%;
  height: 200%;
  background: radial-gradient(circle at center, #ffffff10 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.cta h2 {
  font-size: 2.4rem;
  margin-bottom: 1rem;
  z-index: 2;
  position: relative;
}

.cta p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  z-index: 2;
  position: relative;
}

.cta-button {
  display: inline-block;
  padding: 1rem 2.2rem;
  font-size: 1.1rem;
  font-weight: bold;
  background-color: var(--accent-yellow);
  color: #311f1a;
  text-decoration: none;
  border-radius: 40px;
  transition: background 0.3s ease, color 0.3s ease;
  z-index: 2;
  position: relative;
}

.cta-button:hover {
  background-color: #f7c43d;
  color: #000;
}

/* SCROLL ANIMATION */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out;
}

.animate-on-scroll.animate-active {
  opacity: 1;
  transform: translateY(0px);
}

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
  .hero-text h1 {
    font-size: 2.5rem;
  }

  .hero-text p {
    font-size: 1.1rem;
  }

  .alternate-text h2 {
    font-size: 2.4rem;
  }

  .cta h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  .alternate-row {
    flex-direction: column !important;
  }

  .alternate-text, .alternate-image {
    width: 100%;
  }

  .cta-button {
    font-size: 1rem;
    padding: 0.8rem 1.8rem;
  }
}

@media (max-width: 480px) {
  .hero-text {
    padding: 1.5rem;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .cta p {
    font-size: 1rem;
  }
}
/* Fullwidth text-only block between sections */
.alternate-fullrow {
  display: flex;
  justify-content: center;
  margin: 2rem 0; /* Balanced top and bottom spacing */
}

.alternate-text.wide {
  flex: 1 1 100%;
  padding: 1rem;
  max-width: 100%;
}

.alternate-text.wide p {
  font-size: 1.3rem;
  line-height: 1.8;
  color: #6e4226;
  margin-top: 1.5rem !important;
}
/* Center-align full-width text and image block */
.alternate-text.wide.center {
  text-align: center;
}

/* Full-width image inside wide text block */
.alternate-text.wide img.full-img {
  margin-top: 1rem;
  max-width: 100%;
  border-radius: 16px;
  border: 4px solid var(--accent-yellow);
  height: auto;
}
/* Specific directional animations */
.animate-from-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.7s ease-out;
}

.animate-from-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.7s ease-out;
}

.animate-active .animate-from-left {
  opacity: 1;
  transform: translateX(0);
}

.animate-active .animate-from-right {
  opacity: 1;
  transform: translateX(0);
}
