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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Header */
header {
  background-color: #1a3c5a;
  color: white;
  padding: 2rem 0;
  margin-bottom: 2rem;
  text-align: center;
}

header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

header .subtitle {
  font-size: 1.2rem;
  opacity: 0.8;
}

/* Main Content */
main {
  min-height: 70vh;
}

.intro {
  text-align: center;
  margin-bottom: 3rem;
}

.intro h2 {
  color: #1a3c5a;
  margin-bottom: 1rem;
}

.intro p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* Collection Cards */
.collections {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.collection-card {
  background-color: white;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.collection-card:hover {
  transform: translateY(-5px);
}

.collection-card h3 {
  color: #1a3c5a;
  margin-bottom: 1rem;
}

.collection-card p {
  margin-bottom: 1.5rem;
}

.btn {
  display: inline-block;
  background-color: #1a3c5a;
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #144b7e;
}

/* Footer */
footer {
  background-color: #1a3c5a;
  color: white;
  padding: 1.5rem 0;
  text-align: center;
  margin-top: 2rem;
}

/* Gallery Page */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.gallery-item {
  background: white;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-5px);
}

.gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.gallery-item figcaption {
  padding: 1rem;
  font-size: 0.9rem;
  font-style: italic;
  color: #555;
}

/* Documents Page */
.document-list {
  list-style: none;
}

.document-item {
  background: white;
  margin-bottom: 1.5rem;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.document-item:hover {
  transform: translateY(-3px);
}

.document-title {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
}

.document-title h3 {
  margin-right: 1rem;
  color: #1a3c5a;
}

.document-title .file-type {
  background-color: #e74c3c;
  color: white;
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  font-size: 0.8rem;
  font-weight: bold;
}

.document-description {
  margin-bottom: 1rem;
  color: #555;
}

/* Videos Page */
.video-collection {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin: 2rem 0;
}

.video-item {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
}

.video-container iframe, 
.video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-info {
  padding: 1rem;
}

.video-info h3 {
  color: #1a3c5a;
  margin-bottom: 0.5rem;
}

.video-info p {
  color: #555;
}

.video-source {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: #777;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  header h1 {
    font-size: 2rem;
  }
  
  .gallery {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}

@media (max-width: 480px) {
  header h1 {
    font-size: 1.8rem;
  }
  
  .collection-card,
  .gallery-item,
  .document-item,
  .video-item {
    padding: 1rem;
  }
  
  .gallery {
    grid-template-columns: 1fr;
  }
}