* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
  position: relative;
  background-color: #333;
}

/* Banner Section */
.banner {
  position: relative;
  height: 300px;
  overflow: hidden;
}

.banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.banner-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.247);
  padding: 2px;
  border-radius: 5px;
  width: 50%;
}

.banner h1 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color:#ff9100;
}

.banner p {
  font-size: 1rem;
  color:white;
}

/* Photo Gallery Section */
.photo-gallery {
  width: 100%;
  padding: 1rem;
}

.photo-gallery h2 {
  color: #ff9100;
  font-size: 1.8rem;
  margin-bottom: 1rem;
  text-align: center;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 400px), 1fr));
  gap: 1rem;
  padding: 0 0.5rem;
  width: 100%;
  margin: 0 auto;
}

.photo-item {
  width: 100%;
  aspect-ratio: 3/2;
  overflow: hidden;
  border-radius: 8px;
}

.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.photo-item img:hover {
  transform: scale(1.05);
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
}

.modal.active {
  display: flex;
}

.modal-content {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
}

.close {
  position: fixed;
  top: 1rem;
  right: 1rem;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  z-index: 1001;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
}

.modal-arrows {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.arrow {
  pointer-events: auto;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer {
  width: 100%;
  padding: 1rem;
  text-align: center;
  background: #f4f4f4;
}

@media (max-width: 768px) {
  .photo-grid {
    grid-template-columns: 1fr;
    padding: 0;
  }

  .photo-item {
    aspect-ratio: 4/3;
  }

  .banner {
    height: 150px;
  }

  .banner h1 {
    font-size: 1.2rem;
  }

  .banner p {
    font-size: 0.9rem;
  }

  .photo-gallery {
    padding: 0.5rem;
  }

  .arrow {
    width: 35px;
    height: 35px;
    font-size: 1.5rem;
  }
}

@media (min-width: 769px) {
  .photo-grid {
    max-width: 1400px;
  }
}
