* {
  box-sizing: border-box;
}

:root {
  /* Primary colors */
  --mag: #b90363;
  --dmag: #951a5b;
  --purpl: #572447;
  --yell: #ffefc1;
  --dark: #26202c;
  --medium: #756f7b;
  --light: #e7e6ea;
  
  /* Accent pinks */
  --pink1: #e79ea1;
  --pink2: #d9708e;
  --pink3: #cf4e81;
  --pink4: #c42771;
}

body {
  margin: 0;
  padding: 0;
  background: linear-gradient(140deg, var(--light), var(--pink3));
  color: var(--dark);
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('assets/logo-2026-FINAL-thick.png');
  background-repeat: no-repeat;
  background-position: 65% 85%;
  background-size: 60%;
  opacity: 0.1;
  pointer-events: none;
  z-index: -1;
}

header {
  background: var(--mag);
  color: #fff;
  padding: 1rem 0;
  /*border-bottom: 3px solid var(--purpl); */
}

nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--mag);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--yell);
  text-decoration: none;
}

.logo-img {
  height: 40px;
  width: auto;
}

.menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.5rem;
}

.menu a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.menu a:hover {
  text-decoration: underline;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.25rem;
  cursor: pointer;
}

.language-switch {
  display: flex;
  gap: 0.5rem;
}

.language-switch button {
  background: var(--pink3);
  border: 3px solid var(--dmag); 
  color: var(--yell);
  font-weight: 600;
  padding: 0.3rem 0.6rem;
  cursor: pointer;
  font-weight: 1rem;
  border-radius: 5px;
}

.language-switch button:hover {
  background: rgba(255, 255, 255, 0.3);
}

main {
  flex: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

section {
  margin-bottom: 3rem;
}

h1 {
  font-size: 2.5rem;
  margin: 0 0 1rem 0;
  font-weight: bold;
}

h2 {
  font-size: 2rem;
  margin: 1.5rem 0 1rem 0;
  font-weight: bold;
}

h3 {
  font-size: 1.25rem;
  margin: 1rem 0 0.5rem 0;
  font-weight: bold;
}

p {
  margin: 0 0 1rem 0;
}

pb {
  margin: 0 0 1rem 0;
  font-weight: 500;
  font-size: 1.2rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.card {
  border: 2px solid #000;
  padding: 1.5rem;
  background: #f5f5f5;
}

.card h3 {
  margin-top: 0;
}

.card a {
  display: inline-block;
  background: var(--dmag);
  color: #fff;
  padding: 0.6rem 1.2rem;
  text-decoration: none;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

.card a:hover {
  background: var(--mag);
}

.tag {
  display: inline-block;
  background: var(--dmag);
  color: #fff;
  padding: 0.3rem 0.6rem;
  font-size: 0.85rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

footer {
  background: var(--purpl);
  color: var(--yell);
  padding: 1rem 1rem;
  margin-top: 3rem;
}

footer p {
  margin: 0.25rem 0;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.members-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.member-card {
  border: 2px solid #000;
  padding: 1rem;
  text-align: center;
}

.member-photo {
  width: 100%;
  height: 200px;
  background: var(--pink2);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: bold;
}

.member-card h3 {
  margin: 1rem 0 0.5rem 0;
}

.video-wrapper {
  margin: 1.5rem 0;
  border: 2px solid #000;
  padding: 1rem;
}

.video-wrapper iframe {
  width: 100%;
  height: 400px;
  border: none;
}

/* Hero section */
.hero {
  color: var(--purpl);
  padding: 3rem 3rem;
  margin-bottom: 3rem;
  text-align: center;
  background: var(--light);
  border: 0px solid var(--purpl);
  border-radius: 5px;
}

.hero h1 {
  margin: 0 0 1rem 0;
  font-size: 3rem;
}

.hero p {
  font-size: 1.2rem;
  margin: 0;
}

/* Page hero for subpages */
.page-hero {
  background: var(--dmag);
  color: #fff;
  padding: 2rem 1rem;
  margin-bottom: 2rem;
  text-align: center;
  border-bottom: 3px solid var(--purpl);
}

.page-hero h1 {
  margin: 0 0 0.5rem 0;
  font-size: 2rem;
}

.page-hero p {
  margin: 0;
}

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

.gallery-item {
  aspect-ratio: 1;
  background: var(--pink1);
  border: 2px solid var(--purpl);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
}

.gallery-item:hover {
  background: var(--pink2);
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .menu {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .video-wrapper iframe {
    height: 250px;
  }
}
