:root {
  --du-purple: #1c1665;
  --du-purple-dark: #241f57;
  --du-gray: #6b7280;
  --du-light: #f5f5f5;
  --du-white: #ffffff;
  --du-red: #9b0000;
  --du-gold: #d4af37;
  --du-purple-red: #b30fa0;
  --du-text: #222222;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  color: var(--du-text);
}

body {
  padding-top: 82px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.du-container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

/* Header */
.du-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background: linear-gradient(90deg, var(--du-purple), #08387f);
  margin: 0;
  padding: 0;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
  transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.du-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 82px;
  gap: 20px;
  padding: 12px 0;
  position: relative;
}

.du-branding {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.du-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  display: block;
  transition: transform 0.3s ease;
}

.du-logo:hover {
  transform: scale(1.06);
}

.du-site-title {
  color: #fff;
  text-decoration: none;
  font-size: 28px;
  font-weight: 800;
  white-space: nowrap;
  letter-spacing: 0.3px;
  transition: color 0.3s ease;
}

.du-site-title:hover {
  color: var(--du-purple-red);
}

/* Navigation */
.du-nav {
  display: flex;
  align-items: center;
}

.du-menu {
  list-style: none;
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.du-menu li {
  list-style: none;
  position: relative;
}

.du-menu a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 6px 0;
  position: relative;
  transition: color 0.3s ease;
}

.du-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--du-gold);
  transition: width 0.3s ease;
}

.du-menu a:hover {
  color: var(--du-purple-red);
}

.du-menu a:hover::after,
.du-menu .current-menu-item a::after,
.du-menu .current_page_item a::after {
  width: 100%;
}

.du-menu .current-menu-item a,
.du-menu .current_page_item a {
  color: var(--du-purple-red);
}

/* Hamburger menu */
.du-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.du-menu-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: #fff;
  margin: 5px 0;
  border-radius: 2px;
  transition: 0.3s ease;
}

/* Hero */
.du-hero {
  min-height: 600px;
  background-image: url('../images/slide1.jpg');
  background-size: cover;
  background-position: center;
  animation: duSlider 15s infinite;
}

.du-hero-overlay {
  min-height: 600px;
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  text-align: center;
}

.du-hero h1 {
  color: #fff;
  font-size: 58px;
  margin: 0 0 20px;
  line-height: 1.2;
}

.du-hero p {
  color: #fff;
  font-size: 20px;
  max-width: 900px;
  margin: 0 auto 30px;
  line-height: 1.7;
}

.du-hero-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Buttons */
.du-btn {
  display: inline-block;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 700;
}

.du-btn-primary {
  background: var(--du-red);
  color: #fff;
}

.du-btn-secondary {
  background: var(--du-gold);
  color: #222;
}

/* Sections */
.du-section {
  padding: 80px 0;
}

.du-light-bg {
  background: var(--du-light);
}

.du-two-col {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
}

.du-feature-image {
  width: 100%;
  border-radius: 14px;
}

/* Cards */
.du-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.du-card {
  background: #fff;
  padding: 24px;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.du-center {
  text-align: center;
}

.du-page {
  padding: 70px 0;
}

/* Committee */
.du-member img,
.du-member-image img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 12px;
}

.du-section-subtitle {
  max-width: 760px;
  margin: 0 auto 30px;
  color: #555;
}

.du-member {
  overflow: hidden;
}

.du-member-content h3 {
  margin-top: 0;
  margin-bottom: 8px;
}

.du-member-position {
  font-weight: 700;
  color: var(--du-purple);
  margin-bottom: 12px;
}

.du-member-bio {
  color: #444;
  line-height: 1.7;
  margin-bottom: 14px;
}

.du-member-email a {
  color: var(--du-red);
  text-decoration: none;
  font-weight: 600;
}

.du-member-email a:hover {
  color: var(--du-gold);
}

/* Gallery preview */
.du-gallery-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.du-gallery-preview img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 14px;
}

/* Gallery page */
.du-gallery-grid,
.du-gallery-page-content .gallery,
.du-gallery-page-content .wp-block-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.du-gallery-grid img,
.du-gallery-page-content .gallery img,
.du-gallery-page-content .wp-block-image img,
.du-gallery-page-content .wp-block-gallery img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.du-gallery-grid img:hover,
.du-gallery-page-content .gallery img:hover,
.du-gallery-page-content .wp-block-image img:hover,
.du-gallery-page-content .wp-block-gallery img:hover {
  transform: scale(1.04);
}

/* CTA */
.du-cta {
  background: linear-gradient(90deg, var(--du-purple), #4a4a5f);
  color: #fff;
  text-align: center;
  padding: 90px 0;
}

/* Footer */
.du-footer {
  background: #1f1f1f;
  color: #fff;
  padding: 60px 0 20px;
}

.du-footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 30px;
}

.du-footer a {
  color: var(--du-gold);
  text-decoration: none;
}

.du-footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin-top: 30px;
  padding-top: 20px;
}

/* Slider animation */
@keyframes duSlider {
  0% { background-image: url('../images/slide1.jpg'); }
  20% { background-image: url('../images/slide2.jpg'); }
  40% { background-image: url('../images/slide3.jpg'); }
  60% { background-image: url('../images/slide4.jpg'); }
  80% { background-image: url('../images/slide5.jpg'); }
  100% { background-image: url('../images/slide1.jpg'); }
}

/* Tablet */
@media (max-width: 992px) {
  .du-two-col,
  .du-card-grid,
  .du-gallery-preview,
  .du-gallery-grid,
  .du-gallery-page-content .gallery,
  .du-gallery-page-content .wp-block-gallery,
  .du-footer-grid {
    grid-template-columns: 1fr;
  }

  .du-header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .du-site-title {
    white-space: normal;
    font-size: 20px;
  }

  .du-menu {
    gap: 14px;
  }

  .du-hero,
  .du-hero-overlay {
    min-height: 500px;
  }

  .du-hero h1 {
    font-size: 40px;
  }

  .du-hero p {
    font-size: 18px;
  }

  .du-section {
    padding: 60px 0;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .du-container {
    width: 94%;
  }

  .du-header-inner {
    gap: 12px;
    padding: 10px 0;
    min-height: 74px;
  }

  .du-branding {
    gap: 10px;
  }

  .du-logo {
    width: 42px;
    height: 42px;
  }

  .du-site-title {
    font-size: 18px;
    white-space: normal;
  }

  .du-menu-toggle {
    display: block;
  }

  .du-nav {
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    display: none;
    background: linear-gradient(90deg, var(--du-purple), #08387f);
    padding: 12px 0 18px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  }

  .du-nav.active {
    display: block;
  }

  .du-menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    width: 100%;
    padding: 0 20px;
  }

  .du-menu a {
    display: inline-block;
    padding: 8px 0;
  }

  .du-hero,
  .du-hero-overlay {
    min-height: 420px;
  }

  .du-hero h1 {
    font-size: 30px;
    line-height: 1.3;
  }

  .du-hero p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 24px;
  }

  .du-btn {
    width: 100%;
    max-width: 220px;
    text-align: center;
    padding: 12px 20px;
  }

  .du-hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .du-section {
    padding: 45px 0;
  }

  .du-card {
    padding: 18px;
  }

  .du-gallery-preview img,
  .du-gallery-grid img,
  .du-gallery-page-content .gallery img,
  .du-gallery-page-content .wp-block-image img,
  .du-gallery-page-content .wp-block-gallery img {
    height: 220px;
  }

  .du-footer {
    padding: 40px 0 20px;
  }

  .du-page {
    padding: 50px 0;
  }

  body {
    padding-top: 74px;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .du-site-title {
    font-size: 15px;
  }

  .du-hero h1 {
    font-size: 24px;
  }

  .du-hero p {
    font-size: 15px;
  }

  .du-logo {
    width: 38px;
    height: 38px;
  }

  .du-gallery-preview img,
  .du-gallery-grid img,
  .du-gallery-page-content .gallery img,
  .du-gallery-page-content .wp-block-image img,
  .du-gallery-page-content .wp-block-gallery img {
    height: 180px;
  }

  .du-btn {
    max-width: 100%;
  }
}