/*
  NSBE FAU Website Styles
  ------------------------
  Color Variables:
    --color-primary: main green used for buttons, links, accents
    --color-secondary: black used for headers, footer, and nav
    --color-bg: page background
    --color-surface: cards and sections
    --color-muted: gray text and borders
  Typography Variables:
    --font-body: Inter, sans-serif
    --font-heading: Poppins, sans-serif
*/
:root {
  --color-primary: #6abf69;
  --color-primary-dark: #549f55;
  --color-secondary: #111111;
  --color-bg: #f5f5f5;
  --color-surface: #ffffff;
  --color-muted: #666666;
  --color-border: #e4e4e4;
  --font-body: 'Inter', sans-serif;
  --font-heading: 'Poppins', sans-serif;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-secondary);
  background: var(--color-bg);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.4rem;
  border: none;
  border-radius: 999px;
  background: var(--color-primary);
  color: #ffffff;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

button:hover,
.btn:hover {
  background: var(--color-primary-dark);
}

.section {
  padding: 48px 20px;
}

@media (min-width: 768px) {
  .section {
    padding: 80px 32px;
  }
}

.container {
  width: min(100%, var(--max-width));
  margin: 0 auto;
}

.site-header,
.site-footer {
  width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: #ffffff;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.site-logo {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  letter-spacing: 0.02em;
}

.navbar-links {
  display: none;
  gap: 1.25rem;
  align-items: center;
}

.navbar-links a {
  color: var(--color-secondary);
  font-weight: 600;
  transition: color 0.2s ease;
}

.navbar-links a.active,
.navbar-links a:hover {
  color: var(--color-primary);
}

.nav-toggle {
  border: 1px solid var(--color-border);
  background: #ffffff;
  padding: 0.75rem;
  border-radius: 0.75rem;
}

.hero {
  padding: 80px 20px 48px;
  background: #ffffff;
}

.hero-inner {
  display: grid;
  gap: 30px;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin: 0;
  line-height: 1.05;
}

.hero p {
  max-width: 680px;
  color: var(--color-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 2vw, 2rem);
  margin-bottom: 1rem;
}

.grid,
.card-grid,
.event-grid,
.officer-grid,
.sponsor-grid {
  display: grid;
  gap: 1.25rem;
}

.card,
.event-card,
.block-card,
.officer-card,
.sponsor-card,
.contact-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: 0 12px 24px rgba(17, 17, 17, 0.06);
  border-radius: 22px;
  padding: 1.65rem;
}

.card h3,
.block-card h3,
.officer-card h3,
.sponsor-card h3 {
  margin-top: 0;
}

.icon-box {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: #f5f5f5;
  font-size: 1.4rem;
}

.inline-label {
  color: var(--color-primary);
  font-weight: 700;
}

.highlight-strip {
  background: #ffffff;
  border-radius: 24px;
  padding: 32px 20px;
  margin-top: 32px;
}

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

@media (min-width: 640px) {
  .navbar-links {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }

  .hero-inner {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
  }

  .card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .event-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .officer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sponsor-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  .hero {
    padding-top: 120px;
  }

  .officer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.section-intro,
.section-copy {
  max-width: 760px;
}

.block-card {
  display: grid;
  gap: 1rem;
}

.profile-photo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: #f5f5f5;
  display: grid;
  place-items: center;
  color: var(--color-muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.officer-card {
  text-align: center;
}

.officer-card h3 {
  margin-bottom: 0.35rem;
 }

.officer-card p {
  margin: 0;
  color: var(--color-muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin: 1rem 0 0;
}

.site-footer {
  background: var(--color-secondary);
  color: #ffffff;
  padding: 32px 20px;
}

.site-footer p,
.site-footer a {
  color: #ffffff;
}

.footer-inner {
  display: grid;
  gap: 1rem;
  justify-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    text-align: left;
    justify-items: start;
  }
}

.mobile-menu {
  display: none;
}

.mobile-menu.open {
  display: grid;
  gap: 1rem;
  padding: 1rem 0;
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.section-heading .icon-box {
  width: 54px;
  height: 54px;
}

.contact-card {
  display: grid;
  gap: 0.75rem;
}

.contact-card p {
  margin: 0;
}

.card-cta {
  margin-top: 1rem;
}

@media (max-width: 639px) {
  .section {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .hero {
    padding-top: 60px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
}
