/*
Theme Name: Brookline Parents Organization
Theme URI: https://brooklineparents.org
Description: Custom WordPress theme for the Brookline Parents Organization website
Version: 1.0
Author: BPO
Author URI: https://brooklineparents.org
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bpo
Tags: education, organization, community
*/

/* CSS Variables - BPO Color Scheme */
:root {
  --bpo-blue: #1e3a8a;
  --bpo-light-blue: #3b82f6;
  --bpo-gold: #d97706;
  --bpo-cream: #fef3c7;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-600: #4b5563;
  --gray-900: #111827;
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--gray-900);
  background-color: var(--gray-50);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', Georgia, serif;
  font-weight: 700;
  line-height: 1.2;
}

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

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

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 50;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid var(--gray-100);
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

.navbar-brand {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900);
}

.navbar-icon {
  color: var(--bpo-blue);
  margin-right: 0.5rem;
  width: 32px;
  height: 32px;
}

.navbar-menu {
  display: none;
  gap: 2rem;
  align-items: center;
}

.navbar-menu a {
  color: var(--gray-600);
  font-weight: 500;
  transition: color 0.2s;
}

.navbar-menu a:hover {
  color: var(--bpo-blue);
}

.mobile-menu-toggle {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gray-600);
}

.mobile-menu {
  display: none;
  background: white;
  border-top: 1px solid var(--gray-100);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 1rem;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu a {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--gray-600);
  border-radius: 0.375rem;
  transition: all 0.2s;
}

.mobile-menu a:hover {
  color: var(--bpo-blue);
  background-color: var(--gray-50);
}

@media (min-width: 768px) {
  .navbar-menu {
    display: flex;
  }
  .mobile-menu-toggle {
    display: none;
  }
}

/* Hero Section */
.hero {
  position: relative;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--bpo-blue);
  margin-top: 64px;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  filter: grayscale(100%);
  mix-blend-mode: overlay;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 1rem;
  max-width: 1024px;
  color: white;
}

.hero-title {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  font-weight: 300;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero-cta {
  display: inline-block;
  background-color: var(--bpo-gold);
  color: white;
  font-weight: 700;
  padding: 0.75rem 2rem;
  border-radius: 9999px;
  transition: all 0.3s;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.hero-cta:hover {
  background-color: #b45309;
  transform: scale(1.05);
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.75rem;
  }
  .hero-subtitle {
    font-size: 1.5rem;
  }
}

/* Section Styles */
.section {
  padding: 4rem 0;
  scroll-margin-top: 80px;
}

.section-white {
  background-color: white;
}

.section-gray {
  background-color: var(--gray-50);
}

.section-blue {
  background-color: var(--bpo-blue);
  color: white;
}

.section-title {
  font-size: 1.875rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .section {
    padding: 6rem 0;
  }
}

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  padding: 0.5rem 1.5rem;
  border-radius: 9999px;
  transition: all 0.3s;
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--bpo-blue);
  color: white;
}

.btn-primary:hover {
  background-color: #1e40af;
}

.btn-outline {
  background-color: white;
  color: var(--bpo-blue);
  border-color: var(--bpo-blue);
}

.btn-outline:hover {
  background-color: var(--bpo-blue);
  color: white;
}

.btn-gold {
  background-color: var(--bpo-gold);
  color: white;
}

.btn-gold:hover {
  background-color: #b45309;
}

/* Card Styles */
.card {
  background-color: white;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  transition: box-shadow 0.3s;
}

.card:hover {
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

/* Grid Layouts */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-cols-1 {
  grid-template-columns: repeat(1, 1fr);
}

@media (min-width: 768px) {
  .grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Footer */
.footer {
  background-color: #111827;
  color: white;
  padding: 3rem 1rem;
  text-align: center;
}

.footer-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-description {
  color: #9ca3af;
  margin-bottom: 2rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.footer-copyright {
  font-size: 0.875rem;
  color: #6b7280;
}

/* Focus Areas */
.focus-icon-box {
  padding: 1rem;
  border-radius: 9999px;
  margin-bottom: 1.5rem;
  display: inline-flex;
}

.focus-blue {
  background-color: #dbeafe;
  color: var(--bpo-blue);
}

.focus-gold {
  background-color: #fef3c7;
  color: var(--bpo-gold);
}

.focus-indigo {
  background-color: #e0e7ff;
  color: #4f46e5;
}

/* Event Cards */
.event-card {
  background-color: white;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  border-top: 4px solid var(--bpo-blue);
  display: flex;
  flex-direction: column;
}

.event-date {
  display: flex;
  align-items: center;
  color: var(--bpo-gold);
  font-weight: 600;
  margin-bottom: 1rem;
}

.event-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--gray-900);
}

.event-description {
  color: var(--gray-600);
  margin-bottom: 1rem;
  flex-grow: 1;
}

.event-meta {
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 1.5rem;
}

/* Contact Form */
.contact-form {
  background-color: white;
  border-radius: 0.5rem;
  padding: 2rem;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 1rem;
}

.form-label {
  display: block;
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.form-input {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 0.25rem;
  font-size: 1rem;
}

.form-input:focus {
  outline: none;
  border-color: var(--bpo-blue);
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mt-8 {
  margin-top: 2rem;
}

.flex {
  display: flex;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}
