/*********************************************
  1. CAMPING HERO
**********************************************/
.camping-hero {
  position: relative;
  height: 80vh;
  overflow: hidden;
}
.camping-hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.camping-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  padding: 1rem;
}

.camping-hero-overlay h1 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

.camping-hero-overlay p {
  font-size: 1.2rem;
}

/*********************************************
  2. CAMPING INTRO / OVERVIEW
**********************************************/
.camping-intro {
  padding: 2rem 5%;
  background: #fff;
  text-align: center;
}
.camping-intro h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--brown);
}
.camping-intro p {
  max-width: 900px;
  margin: 0 auto 1rem auto;
  line-height: 1.8;
  color: var(--deep-green);
}
/* Link styles inside intro */
.camping-intro p a {
  color: var(--brown);
  font-weight: 600;
  text-decoration: underline;
  transition: color 0.3s;
}
.camping-intro p a:hover {
  color: var(--burnt-orange);
  text-decoration: none;
}

/*********************************************
  3. CAMP STYLES SECTION
**********************************************/
.camping-styles {
  width: 90%;
  max-width: 1200px;
  margin: 2rem auto;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

/* Each block is a grid: text on one side, image on the other */
.camp-style-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

/* Add the .reverse class to flip the layout so photo can be on the left, text on the right */
.camp-style-block.reverse {
  grid-template-columns: 1fr 1fr;
}
.camp-style-block.reverse .camp-style-text {
  order: 2; /* text goes second */
}
.camp-style-block.reverse .camp-style-image {
  order: 1; /* image goes first */
}

/* Text styles */
.camp-style-text h3 {
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
  color: var(--brown);
}
.camp-style-text p {
  line-height: 1.8;
  color: var(--deep-green);
}

/* Image styles */
.camp-style-image img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  object-fit: cover;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/*********************************************
  4. RESPONSIVE DESIGN
**********************************************/
@media (max-width: 992px) {
  .camp-style-block {
    grid-template-columns: 1fr; /* Single column for mobile/tablet */
  }
  /* If reversed, revert to single column automatically */
  .camp-style-block.reverse {
    grid-template-columns: 1fr;
  }
  .camp-style-block.reverse .camp-style-text,
  .camp-style-block.reverse .camp-style-image {
    order: 0; /* standard order on mobile */
  }
}

/*********************************************
  5. FINAL CTA BANNER
**********************************************/
.camping-cta-banner {
  padding: 2rem 5%;
  background: var(--beige);
  text-align: center;
}
.camping-cta-banner .cta-content h2 {
  margin-bottom: 1rem;
  color: var(--brown);
  font-size: 2rem; /* Adjust as needed */
}
.camping-cta-banner .cta-content p {
  max-width: 900px;
  margin: 0 auto 1.5rem auto;
  line-height: 1.8;
  text-align: center;
  color: #333;
}
.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}
/* Reuse existing button styles in main.css */

/* Responsive adjustments for buttons */
@media (max-width: 600px) {
  .btn-primary,
  .btn-outline {
    width: 100%;
    text-align: center;
  }
}
