/* ===========================
   Reset and Base Styles
=========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Trebuchet MS', sans-serif;
}

body {
  background-color: #fff;
  color: #333;
  line-height: 1.6;
}



/* ===========================
   Navbar
=========================== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  background: #fff;
  border-bottom: 1px solid #ccc;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo img {
  height: auto;
  width: 164px;
}

.nav-links {
  display: flex;
  gap: 20px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: #000;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #83a9a5;
}

/* Donate Button */
.donate-button {
  background-color: #f5d2cd;
  padding: 8px 15px;
  border-radius: 15px;
  transition: background-color 0.3s ease;
}

.donate-button:hover {
  background-color: #e1b7b0;
  color: #000;
}


/* ===========================
   Hero Section
=========================== */
.hero {
  position: relative;
  text-align: left;
}

.hero-img {
  width: 100%;
  height: auto;
  display: block;
}

.welcome {
  position: absolute;
  bottom: 20px;
  left: 20px;
  font-size: 3em;
  color: white;
  opacity: 0;
  animation: fadeIn 2s forwards;
  font-weight: bold;
}


/* ===========================
   History Section
=========================== */
.history-text {
  max-width: 900px;
  margin-top: 20px; /* Adjust this value as needed */
  margin-bottom: 50px; /* Keep original bottom margin or adjust */
  margin-left: auto;
  margin-right: auto;
  padding: 20px;
}

.history-text h2 {
  margin-top: 30px;
  font-size: 2em;
}

.history-text p {
  margin: 20px 0;
}

.history-button{
  max-width: 900px;
  margin-top: 5px; /* Adjust this value as needed */
  margin-bottom: 10px; /* Keep original bottom margin or adjust */
  margin-left: auto;
  margin-right: auto;
  padding: 0px;
}


/* ===========================
   Image Rows
=========================== */
.image-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin: 20px 0;
}

.image-row img {
  width: 100%;
  max-width: calc(50% - 10px);
  max-height: 300px;
  object-fit: cover;
  border-radius: 10px;
}


.map-image {
  width: 100%;
  height: auto;
  margin: 20px 0;
  border-radius: 10px;
}


/* ===========================
   Piano Image Section
=========================== */
.piano {
  text-align: center;
  margin: 40px 0;
}

.piano img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}


/* ===========================
   Swipe Gallery
=========================== */
.carousel {
  position: relative;
  max-width: 720px;
  margin: 40px auto; /* Added vertical margin for spacing */
  text-align: center;
  overflow: hidden; /* Prevent arrow overflow */
}

.carousel-slide {
  display: none;
  width: 100%;
  /* Ensure slides take full container width */
}

.carousel-slide.active {
  display: block; /* Use 'active' class to show slides for easier JS control */
}

.carousel-slide img {
  width: 100%;
  max-height: 500px;
  object-fit: contain;
  border-radius: 10px; /* Optional: matches your image styling */
}

.caption {
  margin-top: 10px;
  font-size: 0.9em;
  color: #555;
}

button.prev,
button.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.7);
  border: none;
  padding: 10px 14px; /* A bit bigger for easier clicking */
  cursor: pointer;
  font-size: 28px; /* Slightly larger arrow */
  z-index: 10;
  border-radius: 50%;
  user-select: none;
  transition: background-color 0.3s ease;
}

button.prev:hover,
button.next:hover {
  background-color: #f4d4c5;
}

button.prev {
  left: 10px; /* Added a little padding from edge */
}

button.next {
  right: 10px; /* Added a little padding from edge */
}

/* Optional: to fix focus outlines on buttons for accessibility */
button.prev:focus,
button.next:focus {
  outline: 2px solid #83a9a5;
}



/* ===========================
   Footer
=========================== */
footer {
  background-color: #a9c0b6;
  padding: 30px;
  text-align: center;
  color: #333;
}

.footer-logo {
  font-weight: bold;
  margin-bottom: 10px;
}

.footer-links {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 10px;
}

.footer-links a {
  text-decoration: none;
  color: #000;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #83a9a5;
}

.credits {
  font-size: 0.75em;
  color: #555;
}


/* ===========================
   Animations
=========================== */
@keyframes fadeIn {
  to {
    opacity: 1;
  }
}



