/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #003116;
  font-family: 'Inter', sans-serif;
}

/* Title and Paragraph */
.title-section {
  margin-top: 12vh;
  color: white;
  padding-left: 8vw;
  padding-right: 5vw;
  max-width: 1500px;
  text-align: left;
}

.title-section h1 {
  font-family: 'Playfair Display', serif;
  font-size: 45px;
  letter-spacing: 2px;
}


.title-section p {
  color: #CDFFE3;
  font-size: 20px;
  font-family: 'Inter', sans-serif;
  margin-top: 1rem;
  max-width: 1600px;
  text-align: left;
  line-height: 1.6;
}

.title-section a {
  text-decoration: none;
  font-weight: bold;
  color: white;
  
}

.carousel-container {
  display: flex;
  align-items: center;
  padding-left: 5vw;
  padding-right: 5vw;
  margin-top: 3rem;
  gap: 1rem; /* spacing between arrows and carousel */
}

.carousel {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 1rem 0;
  gap: 1rem;
  
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.carousel::-webkit-scrollbar {
  display: none;
}

.carousel-item {
  min-width: 200px;
  height: 300px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  background-color: #D9D9D9; /* fallback background */
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


/* Arrows */
.arrow {
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
  border: none;
  font-size: 2rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.arrow:hover {
  background-color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 768px) {
  .title-section p {
    max-width: 500px;
  }

  .carousel-item {
    height: auto;          
    max-width: 75px;      
    max-height: 250px;
  }

  .carousel-item img {
    height: 100%;          
    width: 100%;
    object-fit: contain;  
  }
}


