:root {
  --orange-color: #f5b554; /* Main accent / CTA button color */
  --purple-color: #4c1466; /* Text color */
  --pink-color: #ffedde; /* Page background */
  --text-color: black;
  --bg-color: white;
  --text-grey: #4e4e4e;
}

/* Global font */
body,
html {
  font-family: "Futura", Arial, Helvetica, sans-serif;
  margin: 0;
  scroll-behavior: smooth;
}

main {
  padding: 0px 20px;
}
.two-image-links {
  display: flex;
  gap: 20px;
  max-width: 1200px;
  margin: 40px auto;
}

.image-link {
  position: relative;
  flex: 1;
  height: 300px;
  overflow: hidden;
  border-radius: 16px;
  cursor: pointer;
  box-shadow: 5px 0 5px 0 rgba(0, 0, 0, 0.1);
}

.image-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.image-link:hover img {
  transform: scale(1.05);
}

.overlay-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  font-size: 28px;
  font-weight: 600;
  text-align: center;
}

/* Mobile */
@media (max-width: 768px) {
  .two-image-links {
    flex-direction: column;
  }

  .image-link {
    height: 220px;
  }
}

.camp-filters {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.camp-filters label {
  display: flex;
  flex-direction: column;
  font-size: 14px;
}

.camp-filters select {
  padding: 4px 6px;
  border-radius: 6px;
  border: 1px solid #ccc;
  margin-top: 4px;
  width: 250px;
}

#clearFilters {
  margin-bottom: 20px;
  padding: 10px 50px;
  background-color: var(--purple-color);
  color: white;
  border-radius: 10px;
  width: 250px;
}

.camp-calendar {
  border-top: 20px solid var(--purple-color);
  max-width: 1200px;
  margin: 40px auto;
  padding: 0px 20px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  font-family: Arial, sans-serif;
}

.camp-calendar h2 {
  text-align: center;
  margin-bottom: 20px;
}

.calendar {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
}

.calendar-header button {
  background: var(--purple-color);
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
}

.calendar-days,
.calendar-dates {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

.calendar-days div {
  text-align: center;
  font-weight: bold;
  padding-bottom: 6px;
  border-bottom: 1px solid #ccc;
}

.calendar-dates div {
  position: relative;
  text-align: center;
  padding: 10px 4px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
  min-height: 100px;
}

.calendar-dates div:hover {
  background: #e0e7ff;
}

.calendar-dates .today {
  background: var(--purple-color);
  color: white;
}

.drone {
  background-color: var(--pink-color);
}

.robotics {
  background: var(--orange-color);
}

#robotics-camp {
  scroll-margin-top: 150px; /* adjust height */
}

#drone-camp {
  scroll-margin-top: 150px; /* adjust height */
}

.camp-label {
  display: block;
  color: black;
  font-size: 15px;
  margin-top: 4px;
  border-radius: 4px;
  padding: 5px 5px;
}

.camps-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 1200px;
  margin: 40px auto;
}

.camp-header-text-download {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  font-size: x-large;
}

.scrollable-images {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 8px;
  margin-bottom: 16px;
}

.scrollable-images::-webkit-scrollbar {
  height: 8px;
}

.scrollable-images::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 4px;
}

.scrollable-images img {
  flex: 0 0 auto;
  width: calc(100% / 4 - 10px); /* adjust as needed */
  max-height: 60vh;
  object-fit: contain;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.scrollable-images img:hover {
  transform: translateY(-4px);
}

@media (max-width: 1400px) {
  .scrollable-images img {
    width: calc(100% / 3); /* adjust as needed */
  }
}

@media (max-width: 900px) {
  .scrollable-images img {
    width: 50%;
  }
}

@media (max-width: 600px) {
  .scrollable-images img {
    width: 100%;
    max-height: 100vh;
  }

  .camp-filters select {
    width: 80vw;
  }

  #clearFilters {
    width: 100%;
  }
}

/* Weekly vertical list on smaller screens */
@media (max-width: 768px) {
  .calendar-dates div {
    min-height: 50px;
  }

  .week-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 8px;
  }
  .week-container div {
    padding: 8px;
    border-bottom: 1px solid #eee;
  }
  .week-container div:last-child {
    border-bottom: none;
  }
}

.feature-grid-section {
  padding: 30px 15%;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 2,2,2 layout */
  gap: 30px;
  padding-top: 30px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 15px;
  background: #fff;
  transition: 0.3s ease;
}

.feature-item img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.feature-item p {
  margin: 0;
  font-size: 20px;
  color: var(--text-grey);
}

/* Hover effect */
.feature-item:hover {
  transform: translateY(-4px);
  /* box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12); */
}

/* Tablet (2 columns) */
@media (max-width: 1300px) {
  .feature-grid-section {
    padding: 0px 2%;
  }
}

/* Tablet (2 columns) */
@media (max-width: 1200px) {
  .feature-grid {
    gap: 20px;
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile (1 column) */
@media (max-width: 600px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}
