/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #fdfdfd;
  color: #333;
  padding: 1rem;
}
header {
  text-align: center;
  margin-bottom: 2rem;
}
header h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  padding: 0;
}
nav a {
  text-decoration: none;
  color: #0077cc;
  font-weight: bold;
}
nav a:hover,
nav a[aria-current="page"] {
  text-decoration: underline;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.gallery img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease;
}
.gallery img:hover {
  transform: scale(1.05);
}
.gallery p {
  text-align: center;
  margin-top: 0.5rem;
  font-weight: 600;
}
footer {
  text-align: center;
  margin-top: 2rem;
  padding: 1rem;
  font-size: 0.9rem;
  color: #666;
}
footer a {
  color: #0077cc;
  text-decoration: none;
}
footer a:hover {
  text-decoration: underline;
}
.video-wrapper {
  max-width: 800px;
  margin: 2rem auto;
  text-align: center;
}
.video-description {
  margin-top: 1rem;
  font-size: 1rem;
  color: #444;
}
main section {
  text-align: center;
  margin: 3rem auto;
  max-width: 600px;
}
.button {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  background-color: #0077cc;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.2s ease;
}
.button:hover {
  background-color: #005fa3;
}
@media (max-width: 600px) {
  header h1 {
    font-size: 1.5rem;
  }
  nav ul {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* Light Theme (default) */
body {
  background-color: #fff;
  color: #000;
  transition: background 0.3s, color 0.3s;
}

/* Dark Theme */
body.dark {
  background-color: #121212;
  color: #eee;
}

/* Header and Footer contrast */
body.dark header, body.dark footer {
  background-color: #1e1e1e;
}

#theme-toggle {
  float: right;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}


/* === Responsive Header Styles === */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 10px 20px;
}

header h1 {
  font-size: 1.5rem;
  margin: 0;
}

header nav ul {
  list-style: none;
  display: flex;
  gap: 15px;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

header nav ul li a {
  text-decoration: none;
  color: inherit;
  font-size: 1rem;
}

.toggle {
  margin-left: auto;
}

@media (max-width: 600px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }
  header nav ul {
    flex-direction: column;
    width: 100%;
    gap: 10px;
    margin-top: 10px;
  }
  .toggle {
    align-self: flex-end;
    margin-top: 10px;
  }
}
