/* Powdersville.com — static site styles
   Colors, fonts and layout carried over from the original WordPress/Oxygen theme. */

:root {
  --header-bg: #353c59;
  --navy: #074884;
  --heading-dark: #313856;
  --accent: #8fc9ff;
  --link: #48c2fb;
  --text: #777777;
  --band-blue: #e6f0f9;
  --band-gray: #f0f0f0;
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Lato', Arial, sans-serif;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 0.6em;
}
h1 { font-size: 36px; }
h2 { font-size: 30px; }
h3 { font-size: 24px; }
h4 { font-size: 20px; }

p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.5em; }
strong { font-weight: 600; }

a { color: var(--link); text-decoration: none; transition: color .2s ease; }
a:hover, a:focus { color: var(--navy); }

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

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: #fff; color: var(--navy); padding: 8px 12px; z-index: 10000;
}
.skip-link:focus { left: 8px; top: 8px; }

/* ---------- Header ---------- */
.site-header {
  background: var(--header-bg);
  position: relative;
  z-index: 100;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 35px;
  padding-bottom: 35px;
}
.logo { display: inline-block; transition: transform .2s ease; }
.logo:hover { transform: scale(1.05); }
.logo img { width: 250px; }

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
}
.nav-list a {
  display: block;
  padding: 12px 20px;
  font-family: 'Lato', Arial, sans-serif;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
  transition: background-color .4s ease;
}
.nav-list a:hover,
.nav-list a:focus,
.nav-list a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}
.nav-open .menu-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-open .menu-toggle span:nth-child(2) { opacity: 0; }
.nav-open .menu-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Sections ---------- */
.section { padding: 75px 0; }
.section--blue { background: var(--band-blue); }
.section--gray { background: var(--band-gray); }
.section--page { padding: 45px 0; }

.section-title {
  text-align: center;
  color: var(--heading-dark);
  font-size: 32px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 20px 12px;
}
.divider {
  width: 150px;
  height: 5px;
  border-radius: 6px;
  background: var(--accent);
  margin: 0 auto 32px;
}

.page-title { margin-bottom: 16px; padding: 0 10px; }
.lead {
  font-size: 20px;
  color: var(--heading-dark);
  margin-bottom: 44px;
  padding: 0 10px;
}

/* Schools */
.school { padding: 0 10px; margin-bottom: 32px; }
.school p { margin-bottom: 0.6em; }
.school-name { color: var(--text); }

/* Newcomer info grid */
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 0;
}
.info-grid > div { padding: 0 10px; }

/* Privacy policy */
.policy h3 { margin-top: 1.4em; }
.policy h4 { margin-top: 1.2em; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  padding: 20px 0;
  color: rgba(255, 255, 255, 0.5);
}
.footer-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.footer-cols > div { padding: 20px; }
.footer-cols h3 {
  color: #fff;
  font-size: 26px;
  margin-bottom: 8px;
}
.footer-cols h4 {
  color: #fff;
  font-size: 26px;
  margin-bottom: 12px;
}
.footer-about { margin: 0 0 16px; }
.footer-about a { color: rgba(255, 255, 255, 0.75); }
.footer-about a:hover { color: #fff; }

.map {
  width: 100%;
  height: 280px;
  border: 0;
  border-radius: 5px;
  display: block;
}
.map-link {
  display: inline-block;
  margin-top: 12px;
  color: #fff;
  font-size: 14px;
}
.map-link:hover { color: var(--accent); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0 20px;
}
.footer-bottom .logo img { width: 180px; }
.footer-bottom a.small-link {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
}
.footer-bottom a.small-link:hover { color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .site-header .container { flex-direction: column; padding-top: 24px; padding-bottom: 12px; }
  .logo { padding: 0 0 12px; }
  .section-title { font-size: 26px; }
  .info-grid { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  .site-header .container { flex-direction: row; flex-wrap: wrap; padding-top: 16px; padding-bottom: 16px; }
  .logo { padding: 0; }
  .logo img { width: 200px; }
  .menu-toggle { display: flex; }
  .site-nav { width: 100%; display: none; }
  .nav-open .site-nav { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; padding-top: 12px; }
  .nav-list a { text-align: center; }

  .section { padding: 35px 0; }
  .section-title { text-align: center; }
  h1, .page-title { font-size: 30px; }
  .lead { font-size: 16px; }

  .footer-cols { grid-template-columns: 1fr; text-align: center; }
  .footer-bottom { flex-direction: column; gap: 12px; padding: 16px 20px 0; }
}

@media (max-width: 479px) {
  .section-title { font-size: 24px; letter-spacing: 0; }
}
