/* Global shared styles for BHS Class of 2005 site */

:root {
  --royal-blue: #002147;
  --deep-blue: #001a38;
  --silky-blue: #003b73;
  --accent-orange: #ff6b35;
  --accent-orange-light: #ff8c61;
  --text-white: #ffffff;
  --text-muted: #b8c5d6;
  --card-bg: #002a4d;
  --input-bg: #001d3a;
  --border-subtle: rgba(255, 255, 255, 0.1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: linear-gradient(135deg, #001a38 0%, #002a52 100%);
  min-height: 100vh;
  color: #ffffff;
  line-height: 1.6;
  margin: 0;
}

/* Masthead - New Branding */
.masthead {
  background: radial-gradient(ellipse at center, 
    #2a4a75 0%, 
    #1e3a60 40%, 
    #12254a 80%, 
    #0a1528 100%
  );
  color: white;
  padding: 20px 20px 16px;
  box-shadow: 
    0 4px 12px rgba(0,0,0,0.3),
    inset 0 8px 20px rgba(0,0,0,0.5);
  border-bottom: 3px solid #ff6b35;
  position: relative;
  overflow: hidden;
}

.masthead::before {
  content: '';
  position: absolute;
  top: -100%;
  left: -100%;
  width: 300%;
  height: 300%;
  background: repeating-linear-gradient(
    65deg,
    transparent,
    transparent 10px,
    rgba(100, 150, 220, 0.08) 10px,
    rgba(100, 150, 220, 0.08) 11px
  );
  animation: rotateLines 120s linear infinite;
  pointer-events: none;
  z-index: 1;
}


@keyframes rotateLines {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.masthead-location {
  display: none;
}

.masthead-title {
  font-size: 28px;
  font-weight: 900;
  text-align: center;
  letter-spacing: 10px;
  margin-bottom: 8px;
  line-height: 1;
  color: white;
  position: relative;
  z-index: 1;
  text-indent: 0.5em;
}

.masthead-subtitle {
  font-family: 'Brush Script Std', 'Brush Script MT', 'Pacifico', cursive;
  font-size: 92px;
  text-align: center;
  color: #ff6b35;
  margin-bottom: 6px;
  line-height: 0.9;
  font-weight: 400;
  position: relative;
  z-index: 1;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.masthead-tagline {
  font-family: 'Playfair Display', serif;
  text-align: center;
  font-size: 28px;
  margin-bottom: 0;
  padding: 0;
  opacity: 0.95;
  font-weight: 700;
  position: relative;
  z-index: 1;
  color: white;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.4);
  font-style: italic;
}

.masthead-meta {
  display: none;
}

/* Navigation - Darker */
.nav-bar {
  background: #0a1528;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.nav-link {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  padding: 16px 20px;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  transition: all 0.3s;
  border-bottom: 3px solid transparent;
}

.nav-link:hover {
  background: rgba(255, 107, 53, 0.15);
  border-bottom-color: #ff6b35;
  color: white;
}

.nav-link.active {
  background: transparent;
  border-bottom-color: transparent;
  color: rgba(255,255,255,0.75);
}

/* Footer - White House Style */
.footer {
  background: radial-gradient(ellipse at top left, 
    #2a4a75 0%, 
    #1e3a60 30%, 
    #12254a 60%, 
    #0a1528 100%
  );
  color: rgba(255,255,255,0.8);
  padding: 40px 20px 20px;
  border-top: 3px solid #ff6b35;
  border-bottom: 6px solid transparent;
  border-image: repeating-linear-gradient(
    90deg,
    #ff6b35 0px,
    #ff8c61 10px,
    #ff6b35 20px,
    #ff8c61 30px,
    #ff6b35 40px
  ) 6;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: -100%;
  left: -100%;
  width: 300%;
  height: 300%;
  background: repeating-linear-gradient(
    65deg,
    transparent,
    transparent 10px,
    rgba(100, 150, 220, 0.08) 10px,
    rgba(100, 150, 220, 0.08) 11px
  );
  animation: rotateLines 120s linear infinite;
  pointer-events: none;
  z-index: 1;
}


.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.footer-tagline {
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  color: white;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 2px solid rgba(255, 107, 53, 0.3);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.footer-tagline .highlight {
  display: block;
  font-family: 'Brush Script Std', 'Brush Script MT', 'Pacifico', cursive;
  color: #ff6b35;
  font-size: 32px;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  margin-top: 6px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.footer-section h4 {
  color: white;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}

.footer-link {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 14px;
  display: block;
  margin-bottom: 8px;
  transition: all 0.2s;
}

.footer-link:hover {
  color: #ff6b35;
  padding-left: 6px;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

/* Container styles */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

/* Card styles - light cards on dark background */
.card {
  background: white;
  padding: 32px;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  margin-bottom: 32px;
}

.card h2 {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 900;
  color: #002147;
  margin-bottom: 24px;
}

/* Page header on dark */
.page-header {
  text-align: center;
  margin-bottom: 60px;
  color: white;
}

.page-title {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  font-weight: 900;
  color: white;
  margin-bottom: 16px;
}

.muted {
  color: var(--text-muted);
  opacity: 0.8;
}

/* Responsive */
@media (max-width: 768px) {
  .masthead { padding: 16px 20px 12px; }
  .masthead-location { font-size: 10px; margin-bottom: 6px; }
  .masthead-title { font-size: 20px; letter-spacing: 8px; }
  .masthead-subtitle { font-size: 62px; }
  .masthead-tagline { font-size: 24px; }
  .nav-link { padding: 12px 14px; font-size: 11px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-tagline { font-size: 16px; }
  .footer-tagline .highlight { font-size: 28px; }
  .page-title { font-size: 36px; }
}
