/* ISRS Website Styles - Squarespace Recreation */

:root {
  --primary-blue: #2e5a8a;
  --secondary-blue: #4a7ab5;
  --accent-teal: #3fa9b9;
  --dark-gray: #2c3e50;
  --light-gray: #f8f9fa;
  --white: #ffffff;
  --text-dark: #333333;
  --text-light: #666666;
  --border-color: #e1e1e1;
}

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

body {
  font-family: 'PT Serif', Georgia, serif;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--white);
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header & Navigation */
header {
  background: var(--white);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

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

.logo img {
  height: 60px;
  width: auto;
  display: block;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: high-quality;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-dark);
  font-family: 'PT Serif', Georgia, serif;
  font-weight: 400;
  font-size: 0.95rem;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--primary-blue);
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  list-style: none;
  min-width: 180px;
  padding: 0.5rem 0;
  margin-top: 0.5rem;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu li {
  margin: 0;
}

.dropdown-menu a {
  display: block;
  padding: 0.75rem 1.5rem;
  color: var(--text-dark);
}

.dropdown-menu a:hover {
  background: var(--light-gray);
  color: var(--primary-blue);
}

.btn-donate {
  background: var(--primary-blue) !important;
  color: var(--white) !important;
  padding: 0.75rem 1.5rem !important;
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-donate:hover {
  background: var(--secondary-blue) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(46, 90, 138, 0.3);
}

.btn-admin {
  background: var(--light-gray);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  color: var(--text-dark) !important;
  font-size: 0.9rem;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-dark);
}

/* Hero Section */
.hero {
  position: relative;
  height: 500px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

.hero-content {
  max-width: 900px;
  padding: 2rem;
  z-index: 1;
}

.hero h1 {
  font-family: 'Marcellus', Georgia, serif;
  font-size: 3rem;
  font-weight: 400;
  margin-bottom: 1rem;
  line-height: 1.2;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.25rem;
  line-height: 1.7;
  margin-bottom: 0;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

/* Sections */
.section {
  padding: 3.5rem 0;
}

.section h2 {
  font-family: 'Marcellus', Georgia, serif;
  font-size: 2.5rem;
  font-weight: 400;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
  text-align: center;
}

.section-intro {
  text-align: center;
  font-size: 1.15rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section-closing {
  text-align: center;
  font-size: 1.15rem;
  color: var(--text-dark);
  margin: 1.5rem auto;
  max-width: 800px;
  font-weight: 500;
}

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

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* Cards */
.card, .news-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1.5rem;
  transition: all 0.3s;
}

.card:hover, .news-card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.card img, .news-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 1rem;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: high-quality;
}

.card h3, .news-card h3 {
  font-family: 'Marcellus', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}

.card p, .news-card p {
  color: var(--text-light);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.donation-note {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

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

.btn-primary:hover {
  background: var(--secondary-blue);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(46, 90, 138, 0.3);
}

.btn-secondary {
  background: var(--white);
  color: var(--primary-blue);
  border: 2px solid var(--primary-blue);
}

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

/* Featured Initiatives */
.featured-initiatives {
  background: var(--light-gray);
}

/* Latest News */
.latest-news {
  background: var(--white);
}

/* Why Matters Section */
.why-matters {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.benefit-item {
  background: var(--white);
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
  border: 1px solid var(--border-color);
  transition: all 0.3s;
}

.benefit-item:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.benefit-item h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--primary-blue);
}

/* Get Involved */
.get-involved {
  background: var(--white);
}

/* Global Network */
.global-network {
  background: var(--light-gray);
  text-align: center;
}

.network-stats {
  font-size: 1.5rem;
  color: var(--primary-blue);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.partners-list ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.partners-list li {
  padding: 0.75rem;
  background: var(--white);
  border-radius: 4px;
  border: 1px solid var(--border-color);
  font-weight: 500;
}

.network-image {
  width: 100%;
  max-width: 1000px;
  height: auto;
  border-radius: 8px;
  margin-top: 2rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  image-rendering: -webkit-optimize-contrast;
  image-rendering: high-quality;
}

/* Contact Form */
.stay-connected {
  background: var(--white);
}

.contact-form {
  max-width: 600px;
  margin: 1.5rem auto;
  background: var(--light-gray);
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-blue);
}

.form-group textarea {
  resize: vertical;
}

/* Footer */
footer {
  background: var(--dark-gray);
  color: var(--white);
  padding: 2rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.footer-section h4 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--white);
}

.footer-section p {
  color: #bdc3c7;
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: #bdc3c7;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  text-align: center;
  color: #bdc3c7;
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .navbar {
    padding: 1rem;
  }

  .logo img {
    height: 45px;
  }

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

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1rem;
    border-top: 1px solid var(--border-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
    display: flex;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    border-top: 1px solid var(--border-color);
    margin-top: 0.5rem;
  }

  .hero {
    height: 400px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .section {
    padding: 2.5rem 0;
  }

  .section h2 {
    font-size: 1.75rem;
  }

  .grid {
    gap: 1.25rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.5rem;
  }

  .section h2 {
    font-size: 1.5rem;
  }

  .card, .news-card {
    padding: 1.5rem;
  }
}
