/* Falmouth High School - Clean static styles */
:root {
  --maroon: #6b1e2a;
  --maroon-dark: #4a1420;
  --maroon-light: #8c2f3d;
  --white: #ffffff;
  --off-white: #f8f6f4;
  --text: #222222;
  --text-muted: #555555;
  --border: #e0dcd8;
  --link: #6b1e2a;
  --link-hover: #4a1420;
  --shadow: 0 2px 8px rgba(0,0,0,0.08);
  --radius: 8px;
  --max-width: 1100px;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--off-white);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--link);
  text-decoration: none;
}
a:hover {
  color: var(--link-hover);
  text-decoration: underline;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header */
.site-header {
  background: var(--maroon);
  color: var(--white);
  padding: 1rem 0;
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo-area {
  display: flex;
  flex-direction: column;
}

.school-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
}
.school-name:hover {
  color: #f0e6e8;
  text-decoration: none;
}

.tagline {
  font-size: 0.85rem;
  opacity: 0.9;
  margin-top: 0.15rem;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
}

.main-nav a {
  color: var(--white);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.25rem 0;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover,
.main-nav a.active {
  border-bottom-color: var(--white);
  text-decoration: none;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--maroon) 0%, var(--maroon-dark) 100%);
  color: var(--white);
  padding: 3rem 0 2.5rem;
  text-align: center;
}

.hero h1 {
  font-size: 2.25rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.hero-sub {
  font-size: 1.15rem;
  opacity: 0.95;
  margin-bottom: 0.75rem;
}

.address {
  font-size: 0.95rem;
  opacity: 0.85;
}

/* Quick Links */
.quick-links {
  padding: 2.5rem 1.25rem;
}

.quick-links h2 {
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  color: var(--maroon);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  display: block;
  color: inherit;
  text-decoration: none;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
  text-decoration: none;
  color: inherit;
}

.card h3 {
  font-size: 1.1rem;
  color: var(--maroon);
  margin-bottom: 0.4rem;
}

.card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* Info section */
.info-section {
  padding: 0 1.25rem 3rem;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.info-grid h2 {
  font-size: 1.15rem;
  color: var(--maroon);
  margin-bottom: 0.75rem;
}

.info-grid ul {
  list-style: none;
}

.info-grid li {
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}

/* Page content */
.page-content {
  flex: 1;
  padding: 2rem 1.25rem 3rem;
}

.page-content h1 {
  font-size: 1.85rem;
  color: var(--maroon);
  margin-bottom: 1rem;
}

.intro {
  margin-bottom: 1.75rem;
  color: var(--text-muted);
}

.contact-block {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.5rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow);
}

.contact-block h2 {
  font-size: 1.2rem;
  color: var(--maroon);
  margin-bottom: 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--maroon-light);
}

.contact-block p {
  margin-bottom: 0.5rem;
}

.staff-list {
  list-style: none;
}

.staff-list li {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.staff-list li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.note {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-style: italic;
}

/* Footer */
.site-footer {
  background: var(--maroon-dark);
  color: #e8dfe1;
  padding: 2rem 0;
  margin-top: auto;
  text-align: center;
  font-size: 0.9rem;
}

.site-footer a {
  color: #f0e6e8;
}
.site-footer a:hover {
  color: var(--white);
}

.footer-links {
  margin: 0.75rem 0;
}

.copyright {
  margin-top: 0.75rem;
  opacity: 0.8;
  font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 700px) {
  .hero h1 {
    font-size: 1.75rem;
  }
  .main-nav {
    width: 100%;
    justify-content: flex-start;
  }
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
