* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: #222;
  background: #fff;
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: #111;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.20) 0%,
    rgba(0, 0, 0, 0.05) 42%,
    rgba(0, 0, 0, 0.42) 100%
  );
  pointer-events: none;
}

.navbar {
  position: absolute;
  z-index: 5;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 135px;
  display: flex;
  align-items: flex-start;
  padding: 30px 3.2vw;
}

/* Missing Classmates page background */
.missing-classmates-page {
  background-image: url("classmates/Missing-background.png.png") !important;
  background-size: cover !important;
  background-position: center top !important;
  background-repeat: no-repeat !important;
  min-height: 100vh !important;
}

.brand {
  color: white;
  text-decoration: none;
  width: 330px;
  flex-shrink: 0;
}

.brand-main {
  display: block;
  font-size: clamp(42px, 4.5vw, 68px);
  line-height: 0.78;
  font-weight: 800;
  letter-spacing: -4px;
  text-shadow: 4px 4px 0 #2b0a3d;
}

.brand-main span {
  color: #b990ff;
}

.brand-sub {
  display: block;
  margin-top: 18px;
  text-align: left;
  font-size: clamp(13px, 1.25vw, 20px);
  line-height: 1.45;
  font-weight: 700;
  letter-spacing: 1px;
}
.nav-links {
  flex: 0 0 auto;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 60px;
  padding: 5px 0 0 50px;
}

.nav-links > a,
.nav-links > .dropdown {
  margin-right: 0;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-size: clamp(14px, 1.25vw, 20px);
  font-weight: 700;
  white-space: nowrap;
  text-shadow: 0 2px 5px rgba(0,0,0,.6);
  padding-bottom: 6px;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
  border-bottom-color: #fff;
}

.menu-button {
  display: none;
  margin-left: auto;
  border: 0;
  background: rgba(0,0,0,.55);
  color: white;
  font-size: 28px;
  padding: 8px 12px;
  border-radius: 5px;
}

.hero-content {
  position: relative;
  z-index: 2;
  min-height: 100vh;
}

.school-quote {
  position: absolute;
  left: 8%;
  bottom: 9%;
  color: #c29aff;
  font-family: "Brush Script MT", "Segoe Script", cursive;
  font-size: clamp(34px, 4vw, 66px);
  line-height: 1.35;
  text-shadow: 0 2px 5px rgba(0,0,0,.65);
}

.school-quote p {
  margin: 0;
}

.welcome {
  padding: 70px 8%;
  text-align: center;
  background: #fff;
}

.welcome h1 {
  margin: 0 0 15px;
  color: #4b287d;
  font-size: clamp(32px, 4vw, 50px);
}

.welcome > p {
  max-width: 760px;
  margin: 0 auto 45px;
  font-size: 19px;
  line-height: 1.7;
}

.home-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  max-width: 1100px;
  margin: auto;
}

.home-cards a {
  display: block;
  padding: 30px;
  color: #222;
  text-decoration: none;
  border: 1px solid #ddd;
  border-radius: 10px;
  transition: transform .2s, box-shadow .2s;
}

.home-cards a:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0,0,0,.12);
}

.home-cards h2 {
  color: #552b85;
  margin-top: 0;
}

.home-cards p {
  line-height: 1.5;
}

footer {
  padding: 25px;
  text-align: center;
  color: #fff;
  background: #211331;
}

/* Tablet */
@media (max-width: 1000px) {
  .navbar {
    padding: 25px;
  }

  .brand {
    width: 260px;
  }

  .nav-links {
    padding-left: 20px;
    gap: 12px;
  }

  .nav-links a {
    font-size: 13px;
  }

  .school-quote {
    left: 6%;
  }
}

/* Phone */
@media (max-width: 760px) {
  .hero {
    min-height: 760px;
  }

  .hero-image {
    object-position: 62% center;
  }

  .navbar {
    min-height: auto;
    padding: 20px;
    align-items: flex-start;
  }

  .brand {
    width: 220px;
  }

  .brand-main {
    font-size: 56px;
  }

  .brand-sub {
    font-size: 11px;
    margin-top: 12px;
  }

  .menu-button {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 90px;
    right: 20px;
    width: 210px;
    padding: 15px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(20, 15, 25, .95);
    border-radius: 8px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 12px 8px;
    font-size: 15px;
  }

  .school-quote {
    left: 7%;
    bottom: 8%;
    font-size: 36px;
  }

  .home-cards {
    grid-template-columns: 1fr;
  }
}
/* Classmates dropdown */
.dropdown {
    position: relative;
    z-index: 1000;
}

.dropbtn {
  color: #fff;
  background: rgba(20, 15, 25, 0.95);
  border: 0;
  font-family: inherit;
  font-size: clamp(14px, 1.25vw, 20px);
  font-weight: 700;
  white-space: nowrap;
  text-shadow: 0 2px 5px rgba(0,0,0,.6);
  padding: 0 0 6px;
  cursor: pointer;
}

.dropdown-content {
    display: none;
    z-index: 1001;
    pointer-events: auto;
    position: absolute;
  
  top: 100%;
  left: 0;
  min-width: 230px;
  background: rgba(20, 15, 25, 0.95);
  border-radius: 6px;
  padding: 8px 0;
  box-shadow: 0 8px 20px rgba(0,0,0,.35);
}

.dropdown-content a {
  display: block;
  color: #fff;
  text-decoration: none;
  padding: 10px 16px;
  border-bottom: 0;
  text-shadow: none;
  font-size: 15px;
}

.dropdown-content a:hover {
  background: rgba(255,255,255,.12);
  border-bottom: 0;
}

.dropdown:hover .dropdown-content,
.dropdown:focus-within .dropdown-content {
  display: block;
}

/* In Memoriam classmate list */
.classmate-list {
  max-width: 900px;
  margin: 30px auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 80px;
  text-align: center;
}

.classmate-list p {
  margin: 0;
  padding: 8px 5px;
  line-height: 1.4;
}

.classmate-list a {
  color: #0066cc;
  text-decoration: none;
}

.classmate-list a:hover {
  text-decoration: underline;
}

.contact-note {
  max-width: 800px;
  margin: 40px auto;
  text-align: center;
  font-style: italic;
}

@media (max-width: 700px) {
  .classmate-list {
    grid-template-columns: 1fr;
    gap: 0;
  }
}
/* Center In Memoriam header */
.in-memoriam-header {
  text-align: center;
}
/* Center the In Memoriam header */
.in-memoriam-header {
  width: 100%;
  text-align: center;
  margin: 0 auto;
}

.in-memoriam-header h1,
.in-memoriam-header h2,
.in-memoriam-header p {
  text-align: center;
}
/* FINAL In Memoriam header alignment */
.in-memoriam-page .in-memoriam-header {
  width: 100% !important;
  display: block !important;
  margin: 0 auto !important;
  padding: 20px 0 !important;
  text-align: center !important;
}

.in-memoriam-page .in-memoriam-header h1,
.in-memoriam-page .in-memoriam-header h2,
.in-memoriam-page .in-memoriam-header p {
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}
/* In Memoriam page design */
.in-memoriam-page {
  background: #f7f1e5;
  min-height: 100vh;
  padding: 50px 30px 70px;
  box-sizing: border-box;
  color: #222;
}

.in-memoriam-header {
  text-align: center !important;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto 35px;
}

.in-memoriam-header h1 {
  color: #4b286d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 38px;
  margin-bottom: 10px;
}

.in-memoriam-header h2 {
  color: #4b286d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 48px;
  margin: 10px 0 20px;
}

.in-memoriam-header p {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  font-style: italic;
}

.memorial-list {
  max-width: 1100px;
  margin: 0 auto;
}

.memorial-list h3 {
  color: #4b286d;
  font-family: Georgia, "Times New Roman", serif;
  text-align: center !important;
  font-size: 30px;
}

.memorial-note {
  text-align: center !important;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
}

.contact-note {
  text-align: center !important;
  font-family: Georgia, "Times New Roman", serif;
  color: #4b286d;
  font-size: 17px;
  font-style: italic;
  margin: 15px auto 30px;
}

.classmate-list {
  max-width: 900px;
  margin: 30px auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 80px;
  text-align: center;
}

.classmate-list p {
  margin: 0;
  padding: 8px 5px;
  line-height: 1.4;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
}

.classmate-list a {
  color: #0066cc;
  text-decoration: none;
}

.classmate-list a:hover {
  text-decoration: underline;
}

@media (max-width: 700px) {
  .in-memoriam-page {
    padding: 30px 15px 50px;
  }

  .in-memoriam-header h1 {
    font-size: 27px;
  }

  .in-memoriam-header h2 {
    font-size: 38px;
  }

  .classmate-list {
    grid-template-columns: 1fr;
    gap: 0;
  }
}
/* Missing Classmates list */
.missing-classmate-list {
  max-width: 900px;
  margin: 30px auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 80px;
  text-align: center;
}

.missing-classmate-list p {
  margin: 0;
  padding: 8px 5px;
  line-height: 1.4;
}

@media (max-width: 700px) {
  .missing-classmate-list {
    grid-template-columns: 1fr;
    gap: 0;
  }
}
/* Missing Classmates page background */
.missing-classmates-page {
  background-image: url("classmates/Missing.png") !important;
  background-size: cover !important;
  background-position: center top !important;
  background-repeat: no-repeat !important;
  min-height: 100vh;
}
/* Larger, bold Missing Classmates names */
.missing-classmate-list p {
  font-size: 20px !important;
  font-weight: 700 !important;
  line-height: 1.5;
}
/* Classmates dropdown - transparent background */
.dropdown-content {
  background: transparent !important;
  box-shadow: none !important;
}
/* Classmates dropdown - transparent background */
.dropdown-content {
  background: transparent !important;
  box-shadow: none !important;
}
.navbar .brand .brand-sub {
    color: #fff !important;
    text-shadow: 2px 2px 6px #000 !important;
}
.navbar .dropdown-content {
    background: rgba(20, 15, 25, 0.98) !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35) !important;
}

.navbar .dropdown-content a {
    color: #fff !important;
    text-shadow: none !important;
}

.navbar .dropdown-content a:hover {
    background: rgba(255, 255, 255, 0.12) !important;
    color: #fff !important;
}
.navbar .dropbtn {
    background: transparent !important;
    color: #fff !important;
    box-shadow: none !important;
    border: none !important;
}
/* Classmate Information page navigation */
body:has(.classmates-viewer) .navbar {
    position: fixed !important;
    top: 20 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 9999 !important;
    display: flex !important;
}
/* Keep Classmates menu items vertical */
.navbar .dropdown-content {
    display: none !important;
    flex-direction: column !important;
    align-items: stretch !important;
}

.navbar .dropdown:hover .dropdown-content,
.navbar .dropdown:focus-within .dropdown-content {
    display: flex !important;
}
/* Classmate Information page header */
.classmate-header {
  position: relative;
  min-height: 135px;
  background: transparent;
} 
/* Fine-tune spacing after CLASSMATES */
.navbar .nav-links > .dropdown {
  margin-right: 35px !important;
}

.navbar .nav-links > a {
  margin-right: 35px !important;
}

.navbar .nav-links > a:last-child {
  margin-right: 0 !important;
}
/* Center Memories page content */

.memory-call {
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 30px;
  text-align: center;
}

.memory-call img {
  display: block;
  width: 100%;
  max-width: 1100px;
  height: auto;
  margin: 0 auto 30px;
}

.memory-call-button {
  text-align: center;
  margin: 25px auto;
}

.memory-call-button a {
  display: inline-block;
}

.memory-email {
  max-width: 800px;
  margin: 35px auto;
  text-align: center;
}

.memory-email h2,
.memory-email p {
  text-align: center;
}

.reunion-section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 50px 30px;
  text-align: center;
}

.reunion-section h2,
.reunion-section p {
  text-align: center;
}
/* Clickable Submit button inside Memories graphic */

.memory-poster {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
}

.memory-poster img {
  display: block;
  width: 100%;
  height: auto;
}

.memory-poster-button {
  position: absolute;
  left: 9%;
  top: 82%;
  width: 82%;
  height: 9%;
  display: block;
  cursor: pointer;
}



/* Contact Page */

.contact-page {
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px 30px;
  text-align: center;
}

.contact-page h1 {
  text-align: center;
}

.contact-page p {
  text-align: center;
}

.contact-button {
  display: inline-block;
  margin: 25px auto 40px;
  padding: 15px 35px;
  background: #4B237C;
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  border-radius: 8px;
}

.contact-button:hover {
  opacity: 0.85;
}

.contact-tiger {
  text-align: center;
  margin: 20px auto 40px;
}

.contact-tiger img {
  display: block;
  width: 100%;
  max-width: 180px;
  height: auto;
  margin: 0 auto;
}

.media-tribe-credit a {
  color: #4B237C;
  font-weight: bold;
}

.media-tribe-credit {
  text-align: center;
  margin: 30px auto;
}

.media-tribe-credit a {
  color: #4B237C;
  font-weight: bold;
}
