/* === GLOBAL RESET & TYPOGRAPHY === */
body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  color: #333;
  line-height: 1.6;
}

/* === HEADER === */
.header-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 1rem 2rem;
  background-image: linear-gradient(to right, rgba(200,0,0,0.3), rgba(150,0,0,1));
  color: white;
}

.header-wrapper > div:first-child {
  font-size: 1.2rem;
  font-weight: bold;
}

.home-button img{
		display: inline-block;
		max-width:500px;
}

#nav-links a {
  color: white;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  transition: background 0.3s ease;
  font-weight: 500;
  line-height: 3;
}

#nav-links a:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.language-picker {
  display: inline-block;
  margin-left: 1rem;
}

.language-picker select {
  padding: 0.3rem 0.6rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  background: #fff;
  color: #333;
  cursor: pointer;
  appearance: none;
}

.language-picker select:hover {
  border-color: #8B0000;
}

/* === HERO SECTION === */
.hero {
  background-color: #f2f2f2;
  background-image: linear-gradient(to right, rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('/images/hero-banner.png');
  background-position: center;
  background-size: 2000px;
  background-repeat: no-repeat; 
  padding: 3rem 2rem 2rem;
  text-align: center;
  color: #ffffff;
  text-shadow: 1px 1px 5px #000000, -1px 1px 5px #000000, 1px -1px 5px #000000, -1px -1px 5px #000000;  
}

.hero h1 {
  font-size: 3.2rem;
}

.hero p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.50rem;
}

/* === BREADCRUMB === */
.breadcrumb {
  max-width: 1200px;
  margin: 1rem auto;
  padding: 0 2rem;
  font-size: 0.9rem;
}

.breadcrumb a {
  text-decoration: none;
  color: #8B0000;
}

.breadcrumb span {
  margin: 0 0.5rem;
}

/* === MAIN WRAPPER & CONTENT === */
.content-wrapper {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.main-content {
  flex: 2 1 60%;
}

.sidebar {
  flex: 1 1 30%;
  background: #f9f9f9;
  padding: 1.5rem;
  border-radius: 8px;
  font-size: 0.95rem;
}

.sidebar h3 {
  color: #8B0000;
  margin-top: 1rem;
}

.sidebar ul {
  padding-left: 1.2rem;
  list-style-type: disc;
}

.sidebar ul li {
  margin-bottom: 0.5rem;
}

/* === CONTENT SECTIONS === */
.content-section {
  margin-bottom: 3rem;
}

.content-section h2 {
  color: #8B0000;
  margin-bottom: 1rem;
}

.content-section p {
  margin-bottom: 1rem;
}

/* === GRID LAYOUT (INDEX PAGE) === */
.grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin: 2rem;
}

.row {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.grid-item {
  position: relative;
  background-size: cover;
  background-position: center;
  width: 300px;
  height: 250px;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  color: white;
  transition: transform 0.5s ease;
  display: flex;
  align-items: flex-end;
}

.grid-item:hover {
  transform: scale(1.10);
}

.overlay {
  background: rgba(0, 0, 0, 0.45);
  width: 100%;
  height: 100%;
  padding: 1rem;
  box-sizing: border-box;
  text-shadow: 1px 1px 5px #000000, -1px 1px 5px #000000, 1px -1px 5px #000000, -1px -1px 5px #000000;  
}

.overlay h2 {
  margin: 0;
  font-size: 1.5rem;
}

.overlay p {
  margin-top: 0.5rem;
  font-size: 1rem;
}

/* === IMAGE GRID (WITH AND WITHOUT FIGURE) === */
.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
  margin-top: 2rem;
}

.image-grid img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.image-grid img:hover {
  transform: scale(1.05);
}

.image-grid figure {
  margin: 0;
}

.image-grid figcaption {
  text-align: center;
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: #555;
}

/* === VIDEO GRID === */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.video-grid video {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.video-grid figcaption {
  text-align: center;
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: #555;
}

/* === WIDE IMAGE === */
.wide-image {
  margin-top: 2rem;
}

.wide-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* === DIVIDER === */
.section-divider {
  border-top: 1px solid #ccc;
  margin: 3rem 0;
}

/* === FOOTER === */
footer {
/*  background-color: #333; */
  background-image: linear-gradient(to left, rgba(200,0,0,0.5), rgba(200,0,0,1));
  color: white;
  text-align: center;
  padding: 0.25rem;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .header-wrapper,
  nav,
  .row {
    flex-direction: column;
    align-items: center;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .image-grid {
    grid-template-columns: 1fr;
  }
}