/* Wrapper for Centered Layout */
.wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.7); /* Black overlay for readability */
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

/* Header Styles */
h1, h2, p, li {
  color: #F5DEB3; /* Soft gold for all text */
}

h1 {
  font-family: 'Libre Baskerville', serif;
  font-size: 2.5rem;
  background-color: rgba(27, 59, 95, 0.8); /* Transparent blue */
  padding: 15px 20px;
  display: inline-block;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

/* Navigation Styles */
nav ul {
  list-style: none;
  padding: 0;
  text-align: center;
  background-color: #2A9D8F; /* Blue */
  margin: 10px 0;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

nav ul li {
  display: inline-block;
  margin: 0 15px;
}

nav ul li a {
  color: #F5DEB3; /* Soft gold for links */
  text-decoration: none;
  font-size: 1.2rem;
  padding: 10px;
}

nav ul li a:hover {
  background-color: #F4A261; /* Highlight color */
  border-radius: 5px;
  transition: background-color 0.3s;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Art Grid for Gallery */
.art-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

figure {
  background: #A8DADC; /* Light background for figures */
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s, box-shadow 0.3s;
}

figure:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.5);
}

figcaption {
  padding: 10px;
  text-align: center;
  font-style: italic;
}

/* Responsive Image Styles */
.responsive-img {
  width: 100%;
  height: auto;
  display: block;
  max-width: 100%;
  object-fit: cover;
}

/* Calendar Table Styles */
.calendar-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.calendar-table th, .calendar-table td {
  border: 1px solid #F5DEB3; /* Soft gold border */
  padding: 10px;
  text-align: center;
  color: #F5DEB3; /* Soft gold text */
}

.calendar-table th {
  background-color: #264653; /* Darker background for header */
}

/* Footer Styles */
footer {
  background-color: #2A9D8F; /* Footer background color */
  color: white;
  padding: 20px;
  text-align: center;
  box-shadow: 0 -6px 12px rgba(0, 0, 0, 0.3);
}

/* Media Queries for Mobile Optimization */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem; /* Smaller font size for header */
  }
  
  nav ul li {
    display: block; /* Stack navigation items */
    margin: 5px 0;
  }

  .wrapper {
    padding: 10px; /* Adjust padding for smaller screens */
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.5rem; /* Further reduce header font size */
  }

  .art-grid {
    grid-template-columns: 1fr; /* Single column for small screens */
    gap: 15px; /* Reduced gap */
  }
}