/* STOP Harlow North - Modern Stylesheet v2.0 */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Merriweather:wght@300;400;700&display=swap');

:root {
  --primary: #1a472a;
  --primary-dark: #0f2e1a;
  --primary-light: #2d6a4f;
  --accent: #d4a373;
  --bg: #fafaf9;
  --text: #1c1917;
  --text-light: #78716c;
  --border: #e7e5e4;
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Top Bar */
.top-bar {
  background: var(--primary-dark);
  color: #a7f3d0;
  font-size: 0.85rem;
  padding: 8px 0;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar a { color: #a7f3d0; text-decoration: none; }
.top-bar a:hover { text-decoration: underline; }

/* Header */
.main-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
  padding: 40px 0 60px;
  position: relative;
  overflow: hidden;
}
.main-header::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 600px; height: 600px;
  background: rgba(255,255,255,0.03);
  border-radius: 50%;
  pointer-events: none;
}
.header-content {
  position: relative;
  z-index: 1;
}
.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.logo-icon {
  width: 56px; height: 56px;
  background: rgba(255,255,255,0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  backdrop-filter: blur(4px);
}
.brand h1 {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}
.brand span {
  display: block;
  font-size: 0.95rem;
  font-weight: 400;
  opacity: 0.9;
  margin-top: 2px;
}
.header-subtitle {
  font-size: 1.25rem;
  max-width: 640px;
  opacity: 0.95;
  font-weight: 300;
}

/* Navigation */
.main-nav {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}
.main-nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 4px;
}
.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 16px;
  border-radius: 6px;
  transition: all 0.2s;
}
.nav-links a:hover,
.nav-links a.active {
  background: #f0fdf4;
  color: var(--primary);
}
.nav-cta {
  background: var(--primary);
  color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.2s;
  border: none;
  cursor: pointer;
}
.nav-cta:hover { background: var(--primary-dark); }

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Breadcrumbs */
.breadcrumbs {
  background: #f5f5f4;
  padding: 12px 0;
  font-size: 0.85rem;
  color: var(--text-light);
}
.breadcrumbs a {
  color: var(--text-light);
  text-decoration: none;
}
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs span { margin: 0 8px; }

/* Hero Section */
.hero {
  padding: 60px 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero h2 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--primary-dark);
}
.hero p {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 32px;
}
.hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  font-size: 0.95rem;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}
.btn-secondary {
  background: #fff;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-secondary:hover {
  background: #f0fdf4;
}
.hero-image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.3), transparent 50%);
}

/* Cards */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-header h3 {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 12px;
}
.section-header p {
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 12px;
  padding: 32px;
  border: 1px solid var(--border);
  transition: all 0.2s;
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
  border-color: transparent;
}
.card-icon {
  width: 48px; height: 48px;
  background: #f0fdf4;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}
.card h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--primary-dark);
}
.card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* Content Sections */
.content-section {
  padding: 80px 0;
}
.content-section.alt {
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.content-body h3 {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 20px;
}
.content-body p {
  margin-bottom: 16px;
  color: #44403c;
}
.content-body ul {
  margin: 16px 0 16px 20px;
  color: #44403c;
}
.content-body li {
  margin-bottom: 10px;
}
.content-body strong {
  color: var(--primary-dark);
}

/* Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.stat-box {
  text-align: center;
  padding: 24px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--border);
}
.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  display: block;
}
.stat-label {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-top: 4px;
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 32px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}
.timeline-item {
  position: relative;
  padding-bottom: 32px;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -28px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary);
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px var(--primary);
}
.timeline-year {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 4px;
}
.timeline-title {
  font-weight: 600;
  margin-bottom: 6px;
}
.timeline-desc {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* FAQ */
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
}
.faq-question {
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--primary-dark);
}
.faq-answer {
  margin-top: 12px;
  color: #44403c;
  display: none;
}
.faq-answer.active { display: block; }

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.gallery-item {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  background: #e7e5e4;
}
.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: #fff;
  padding: 20px 16px 12px;
  font-size: 0.9rem;
}

/* Form */
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 6px;
  font-size: 0.9rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.1);
}

/* Newsletter */
.newsletter-box {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
  padding: 48px;
  border-radius: 16px;
  text-align: center;
}
.newsletter-box h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}
.newsletter-box p { opacity: 0.9; margin-bottom: 24px; }
.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
}
.newsletter-form input {
  flex: 1;
  padding: 14px 18px;
  border-radius: 8px;
  border: none;
  font-size: 1rem;
}
.newsletter-form button {
  padding: 14px 24px;
  background: var(--primary-dark);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

/* Footer */
.main-footer {
  background: var(--primary-dark);
  color: #a7f3d0;
  padding: 60px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand h4 {
  color: #fff;
  font-size: 1.25rem;
  margin-bottom: 12px;
}
.footer-brand p {
  opacity: 0.8;
  font-size: 0.9rem;
  line-height: 1.7;
}
.footer-links h5 {
  color: #fff;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: #a7f3d0;
  text-decoration: none;
  font-size: 0.9rem;
  opacity: 0.8;
  transition: opacity 0.2s;
}
.footer-links a:hover { opacity: 1; text-decoration: underline; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  opacity: 0.7;
}

/* Responsive */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .content-grid { gap: 40px; }
}

@media (max-width: 768px) {
  .hero-grid,
  .content-grid {
    grid-template-columns: 1fr;
  }
  .hero h2 { font-size: 1.875rem; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .nav-links { display: none; }
  .mobile-menu-btn { display: block; }
  .newsletter-form { flex-direction: column; }
  .brand h1 { font-size: 1.5rem; }
}

/* Hidden utilities */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
