@import url("https://fonts.googleapis.com/css2?family=EB+Garamond:wght@500&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "EB Garamond", serif;
}

body {
  background: #f4f0eb;
  color: #444;
}

/* Title */
.main-title {
  padding: 30px 0px;
  text-align: center;
  font-size: 3rem;
  font-weight: 700;
  color: #222;
  position: relative;
  line-height: 1.2;
  animation: fadeInUp 1.2s ease-out forwards;
}

.main-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background-color: #b08968; /* updated accent */
  margin: 1rem auto 0;
  border-radius: 4px;
}

/* Hero Section */
.hero-section {
  position: relative;
  width: 100%;
  height: 90vh;
  overflow: hidden;
}

.hero-image,
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s ease-out;
  will-change: transform;
}

/* Section Styling */
section {
  background-color: #FAF9F6;
  margin-bottom: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  padding: 3rem 1.2rem;
  max-width: 1100px;
  margin-inline: auto;
}

section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #2b2b2b;
  border-left: 5px solid #b08968; /* updated accent */
  padding-left: 15px;
}

section p {
  font-size: 1.3rem;
  line-height: 1.8;
  margin-bottom: 1rem;
  text-align: justify;
}

/* Image Gallery */
.image-gallery {
  display: flex;
  gap: 15px;
  justify-content: flex-start;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.image-gallery img {
  width: 100%;
  max-width: 340px;
  height: 220px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

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

/* List Styles */
section li {
  font-size: 1.3rem;
  line-height: 1.8;
  margin-bottom: 0.75rem;
  text-align: justify;
  list-style: none;
  padding-left: 1rem;
  position: relative;
}

section li::before {
  content: "•";
  color: #b08968; /* updated bullet color */
  font-weight: bold;
  display: inline-block;
  width: 1rem;
  margin-left: -1rem;
  position: absolute;
}

/* Animations */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInUp 1s ease-out forwards;
}

@keyframes fadeSlideIn {
  0% {
    opacity: 0;
    transform: translateY(40px) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.animated-section {
  opacity: 0;
  animation: fadeSlideIn 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* Responsive Design */

/* Tablets */
@media (max-width: 992px) {
  .main-title {
    font-size: 2.5rem;
    padding: 1 0rem;
  }

  section {
    padding: 2.5rem 1rem;
  }

  section h2 {
    font-size: 1.75rem;
  }

  section p,
  section li {
    font-size: 1.2rem;
  }

  .image-gallery {
    justify-content: center;
  }

  .image-gallery img {
    max-width: 300px;
    height: auto;
  }
}

/* Mobiles */
@media (max-width: 600px) {
  .main-title {
    font-size: 2rem;
  }

  section {
    padding: 2rem 1rem;
  }

  section h2 {
    font-size: 1.5rem;
  }

  section p,
  section li {
    font-size: 1.1rem;
  }

  .image-gallery {
    flex-direction: column;
    align-items: center;
  }

  .image-gallery img {
    max-width: 100%;
    height: auto;
  }
}
