:root {
  --bg-primary: #ffffff;
  --bg-secondary: #dedede;
  --text-primary: #333;
  --text-secondary: #333;
  --border-color: #eee;
  --shadow-color: rgba(0, 0, 0, 0.2);
}
body.dark-theme {
  --bg-primary: #2d2d2d;
  --bg-secondary: #1e1e1e;
  --text-primary: #e0e0e0;
  --text-secondary: #b0b0b0;
  --border-color: #404040;
  --shadow-color: rgba(0, 0, 0, 0.5);
}
html {
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  font-family: 'Raleway', sans-serif;
  font-size: 1.1rem;
  color: var(--text-primary);
  transition: background-color 0.3s ease, color 0.3s ease;
}
.container {
  margin: 0 auto;
}
header {
  background-color: var(--bg-secondary);
  padding: 20px;
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: background-color 0.3s ease;
}
.header-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  max-width: 1200px;
  margin: 0 auto;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s ease;
}
.logo:hover {
  opacity: 0.7;
}
.logo .logo-icon {
  height: 50px;
  width: auto;
  padding-bottom: 2px;
  filter: drop-shadow(1px 1px #dedede) drop-shadow(1px -1px #dedede) drop-shadow(-1px 1px #dedede) drop-shadow(-1px -1px #dedede);
}
.logo h1 {
  margin: 0;
  font-size: 1.95rem;
  font-weight: 600;
  letter-spacing: 1px;
}
.logo p {
  margin: 0;
  font-size: 1.17rem;
}
.logo h1,
section h2,
.logo p {
  font-family: "Syncopate", sans-serif;
}
nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
nav li {
  display: inline-block;
  margin-left: 20px;
}
nav a {
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 400;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.3s ease;
}
.banner {
  height: 640px;
  background-image: url('images/banner11.jpg');
  background-size: cover;
  background-position: center top;
  overflow: hidden;
}
section {
  padding: 40px;
  display: flex;
  justify-content: center;
  position: relative;
}
section .section-wrapper {
  display: grid;
  grid-template-columns: 15rem 1fr;
  max-width: 1200px;
  width: 100%;
}
@media screen and (max-width: 840px) {
  section .section-wrapper {
    grid-template-columns: 1fr;
  }
}
section:nth-of-type(odd) {
  z-index: 2;
  background-color: var(--bg-secondary);
  box-shadow: 0 3px 6px var(--shadow-color), 0 -2px 4px -1px var(--shadow-color), 0 4px 8px var(--shadow-color);
  transition: background-color 0.3s ease;
}
section:nth-of-type(even) {
  background-color: var(--bg-primary);
  transition: background-color 0.3s ease;
}
section h2 {
  padding-bottom: 0.5rem;
  margin: 0;
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 2px;
}
section .content {
  flex: 1;
}
section .content h3 {
  margin-top: 0;
  font-weight: 400;
}
#about p {
  line-height: 1.8;
  margin-top: 0;
}
#awards ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
#awards li {
  margin-bottom: 10px;
}
.award-year {
  margin-bottom: 15px;
}
.award-year summary {
  cursor: pointer;
  list-style: none;
  display: inline-flex;
  align-items: center;
}
.award-year summary::-webkit-details-marker {
  display: none;
}
.award-year summary::marker {
  display: none;
}
.award-year summary::after {
  content: '\25b8';
  display: inline-block;
  margin-left: 10px;
  transition: transform 0.2s ease;
  font-size: 1.1em;
}
.award-year summary h3 {
  margin: 0;
}
.award-year[open] summary::after {
  transform: rotate(90deg);
}
.award-year ul {
  margin-left: 0;
  padding-left: 0;
}
#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 1000;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
#lightbox.active {
  display: flex;
}
#lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6);
}
.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.media-grid .media-image {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  cursor: pointer;
}
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.video-grid iframe,
.video-grid video {
  width: 100%;
  aspect-ratio: 16/9;
  border: none;
}
.video-item {
  display: flex;
  flex-direction: column;
}
.video-title {
  margin: 8px 0 0 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-align: center;
}
.video-placeholder {
  background-color: #e0e0e0;
  height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #ddd;
}
.burger {
  display: none;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 0;
}
.burger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--text-primary);
  margin: 5px 0;
  transition: background-color 0.3s ease;
}
footer {
  background-color: var(--bg-secondary);
  padding: 20px;
  text-align: center;
  border-top: 1px solid var(--border-color);
  transition: background-color 0.3s ease;
}
.theme-toggle-text {
  background: transparent;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  font-family: 'Raleway', sans-serif;
  font-size: 0.9rem;
  text-decoration: underline;
  padding: 10px;
  transition: opacity 0.3s ease;
}
.theme-toggle-text:hover {
  opacity: 0.7;
}
#contact .content p {
  display: flex;
  align-items: baseline;
  gap: 0.3em;
}
.email-link {
  color: #888;
  text-decoration: none;
}
.email-link::before {
  content: '✉️ ';
  font-size: larger;
}
.email-link:hover {
  text-decoration: underline;
}
.social-links {
  display: flex;
  gap: 16px;
  margin-top: 12px;
  align-items: center;
}
.social-links a {
  color: inherit;
  opacity: 0.6;
  transition: opacity 0.2s ease;
  display: flex;
}
.social-links a:hover {
  opacity: 1;
}
@media (max-width: 1082px) {
  .logo-icon {
    display: none;
  }
}
@media (max-width: 800px) {
  .logo-icon {
    display: block;
  }
  .burger {
    display: block;
  }
  nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }
  nav.active {
    display: block;
  }
  nav ul {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  nav li {
    margin: 15px 0;
  }
  nav a {
    color: #333;
  }
}
