/* Ascent Partners Foundation Custom Branding */

/* Color Scheme - APF Teal */
:root {
  --apf-teal: #0891B2;
  --apf-teal-dark: #0E7490;
  --apf-teal-light: #06B6D4;
  --apf-green: #10B981;
  --apf-gray: #1F2937;
  --apf-light-gray: #F9FAFB;
}

/* Typography - Modern Sans-Serif */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--apf-gray);
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 600;
  color: var(--apf-gray);
}

/* Links - APF Teal */
a {
  color: var(--apf-teal);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--apf-teal-dark);
  text-decoration: underline;
}

/* Header with Logo */
.site-header {
  background-color: white;
  border-bottom: 1px solid #E5E7EB;
  padding: 1rem 0;
}

.site-header .wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  height: 50px;
  width: auto;
}

.site-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--apf-gray);
  margin-left: 1rem;
}

/* Navigation */
.site-nav {
  display: flex;
  gap: 2rem;
}

.site-nav a {
  color: var(--apf-gray);
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
}

.site-nav a:hover {
  color: var(--apf-teal);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--apf-teal) 0%, var(--apf-teal-dark) 100%);
  color: white;
  padding: 4rem 2rem;
  text-align: center;
  margin-bottom: 3rem;
}

.hero h1 {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.25rem;
  opacity: 0.9;
  max-width: 800px;
  margin: 0 auto;
}

/* Buttons - APF Style */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: var(--apf-teal);
  color: white;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn:hover {
  background-color: var(--apf-teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  color: white;
}

.btn-secondary {
  background-color: transparent;
  border: 2px solid var(--apf-teal);
  color: var(--apf-teal);
}

.btn-secondary:hover {
  background-color: var(--apf-teal);
  color: white;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background-color: var(--apf-light-gray);
  border: 1px solid #E5E7EB;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--apf-gray);
  margin: 0.5rem;
}

.badge-teal {
  background-color: var(--apf-teal);
  color: white;
  border-color: var(--apf-teal);
}

.badge-green {
  background-color: var(--apf-green);
  color: white;
  border-color: var(--apf-green);
}

/* Cards */
.card {
  background: white;
  border: 1px solid #E5E7EB;
  border-radius: 0.75rem;
  padding: 2rem;
  margin-bottom: 2rem;
  transition: all 0.3s ease;
}

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

.card h2, .card h3 {
  color: var(--apf-teal);
  margin-top: 0;
}

/* Footer Enhancement */
.site-footer {
  background-color: var(--apf-gray);
  color: white;
  padding: 3rem 0 1rem;
  margin-top: 4rem;
}

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

.footer-section h3 {
  color: var(--apf-teal-light);
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

.footer-section a {
  color: #D1D5DB;
  display: block;
  margin-bottom: 0.5rem;
}

.footer-section a:hover {
  color: var(--apf-teal-light);
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 1.5rem;
  text-align: center;
  color: #9CA3AF;
  font-size: 0.875rem;
}

/* GitHub Pages Section */
.github-section {
  background-color: var(--apf-light-gray);
  border-left: 4px solid var(--apf-teal);
  padding: 2rem;
  margin: 3rem 0;
  border-radius: 0.5rem;
}

.github-section h2 {
  color: var(--apf-teal);
  margin-top: 0;
}

.github-section ul {
  list-style: none;
  padding-left: 0;
}

.github-section li:before {
  content: "✓ ";
  color: var(--apf-green);
  font-weight: bold;
  margin-right: 0.5rem;
}

/* Photo Sections */
.photo-section {
  margin: 3rem 0;
}

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

.photo-item img {
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.photo-caption {
  font-size: 0.875rem;
  color: #6B7280;
  margin-top: 0.5rem;
  text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
  .site-header .wrapper {
    flex-direction: column;
    text-align: center;
  }
  
  .site-nav {
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
}

/* Book Download Buttons */
.book-download {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.book-download .btn {
  flex: 1;
  min-width: 150px;
  text-align: center;
}

/* Framework Icons */
.framework-icon {
  font-size: 2rem;
  margin-right: 0.5rem;
}

/* Charity Badges Container */
.charity-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin: 2rem 0;
}
