/* ========================== */
/*   ACTIVITIES  MAIN PAGE    */
/* ========================== */

.card-container { 
  padding: 0;
}

.activities-headers h1 {
  font-family: var(--heading-font);
}

/* ========================== */
/*   CUSTOM CARDS (HOME PAGE) */
/* ========================== */

.custom-card {
  height: 400px;
  margin: 0;
  padding: 0;
  position: relative;
  cursor: pointer;
  background-size: cover;
  background-position: center;
}

.custom-card h5, 
.custom-card p { /* 27 Done - Descendant selector, Checklist 28 Done - Grouping selectors */
  font-weight: bold; /* 30 Done - Text formatting */
  text-shadow: 0 0 12px rgba(0, 0, 0, 0.8); /* 29 Done - Colors (rgba) */
}

.custom-card h5 {
  font-size: 1.6rem;
}

.custom-card p {
  margin-bottom: 90px;
}

/* Background images for each activity */

.hiking {
  background: url(/Images/Hiking/hiking-bg.webp) no-repeat center center/cover;
}

.paragliding {
  background: url(/Images/Paragliding/llogara-paragliding-bg.webp) no-repeat center center/cover;
}

.kayaking {
  background: url(/Images/Kayaking/kayaking-bg.webp) no-repeat center center/cover;
}

.diving {
  background: url(/Images/Diving/diving-bg.webp) no-repeat center center/cover;
}

.cycling {
  background: url(/Images/Cycling/cycling-bg.webp) no-repeat center center/cover;
}

.camping {
  background: url(/Images/Camping/camping-bg.webp) no-repeat center center/cover;
}

.row-wrapper {
  padding: 0;
  margin: 0;
}

.explore-more-cta { /* 26 Done - Class selector, Checklist 35 Done - Classes preferred over IDs */
  position: relative;
  border: 2px solid #00e0ff; /* 29 Done - Colors (hex), Checklist 33 Done - Borders */
  width: 50%;
  padding: 12px 24px; /* 32 Done - Box model */
  border-radius: 6px; /* 33 Done - Borders */
  color: white; /* 29 Done - Colors (named) */
  font-weight: bold; /* 30 Done - Text formatting */
  text-decoration: none;
  z-index: 1;
  display: inline-block;
}

.explore-more-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: #00e0ff;
  z-index: -1;
  transition: 0.5s;
}

.explore-more-cta:hover {
  color: white;
}

.explore-more-cta:hover::before {
  width: 100%;
}

/* ====================== */
/*   ACTIVITIES LIST      */
/* ===================== */

.activity-item {
  margin-bottom: 5rem;
  text-align: center;
}

.activity-item img {
  width: 70%; /* 50 Done - Responsive sizing, Checklist 65 Done - Responsive units (%) */
  max-width: 800px; /* Limit maximum width for better visual appeal */
  height: auto; /* Maintain aspect ratio */
  max-height: 500px; /* Limit maximum height for better visual appeal */
  object-fit: cover; /* Ensure images cover the area nicely */
  border-radius: 12px;
  display: block; /* 56 Done - Display values */
  margin: 0 auto 2rem auto;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth hover effect */
}

.activity-item img:hover {
  transform: scale(1.02); /* Slight zoom on hover */
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4); /* Enhanced shadow on hover */
}

.activity-item h2 {
  font-family: var(--heading-font), sans-serif;
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: #222;
}

.activity-item p {
  font-family: 'Poppins', sans-serif;
  font-size: 1.15rem;
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto 2rem auto;
  text-align: left;
}

/* ====================== */
/*   CTA BUTTON           */
/* ===================== */

.explore-cta {
  position: relative;
  border: 2px solid #00e0ff;
  width: 25%;
  padding: 12px 24px;
  border-radius: 6px;
  color: rgb(56, 56, 56);
  font-weight: bold;
  text-decoration: none;
  z-index: 1;
  display: inline-block;
  transition: color 0.3s;
}

.explore-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: #00e0ff;
  z-index: -1;
  transition: 0.5s;
  border-radius: 6px;
}

.explore-cta:hover {
  color: white;
}

.explore-cta:hover::before {
  width: 100%;
}

/* ====================== */
/* RESPONSIVE BREAKPOINTS */
/* ===================== */

@media (max-width: 1272px) {
  .explore-cta {
    width: 65%;
  }
}

@media (max-width: 992px) {
  .explore-cta {
    width: 50%;
  }
}

@media (max-width: 768px) {
  .activity-item img {
    width: 80%;
  }

  #activities-root p {
    font-size: 1rem;
  }

  .explore-cta {
    width: 60%;
  }
}

@media (max-width: 575px) {
  .activity-item img {
    width: 80%;
  }

  #activities-root p {
    font-size: 1rem;
  }

  .explore-cta {
    width: 50%;
  }
}

@media (max-width: 480px) {
  .activity-item img {
    width: 85%;
  }

  #activities-root p {
    font-size: 1rem;
  }

  .explore-cta {
    width: 60%;
  }
}

@media (max-width: 380px) {
  .activity-item img {
    width: 90%;
  }

  #activities-root p {
    font-size: 0.9rem;
  }

  .explore-cta {
    width: 70%;
  }
}

@media (max-width: 320px) {
  .activity-item img {
    width: 90%;
  }

  #activities-root h2 {
    font-size: 1.5rem;
  }

  #activities-root p {
    font-size: 0.9rem;
  }

  .explore-cta {
    width: 70%;
  }
}
