/*
Theme Name: Be Teleios
Theme URI: https://github.com/iguridi/beteleios
Author: Be Teleios Team
Author URI: https://www.beteleios.org
Description: Custom WordPress theme for Be Teleios - supporting vulnerable young adults in Honduras
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: beteleios
*/

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

@font-face {
  font-family: 'Mandioca';
  src: url('assets/fonts/mandioca.latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --color-bg: #FFFDF7;
  --color-bg-alt: #F4F6F0;
  --color-sage: #CFDACF;
  --color-green: #2F5F48;
  --color-green-dark: #1D4331;
  --color-blue: #2163E8;
  --color-text: #1D4331;
  --color-text-light: #2F5F48;
  --font-body: 'IBM Plex Sans', sans-serif;
  --font-heading: 'Mandioca', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --max-width: 1280px;
}

* {
  box-sizing: border-box;
}

html, body, div, span, h1, h2, h3, h4, h5, h6, p, a, img, ol, ul, li, fieldset, form, label, legend, table, tr, th, td, article, aside, footer, header, nav, section {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

body {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-green-dark);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

p {
  margin-bottom: 1rem;
  line-height: 1.8;
}

a {
  color: var(--color-blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

ul, ol {
  list-style: none;
}

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

/* Header */
.site-header {
  background: var(--color-bg);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 15px 0;
  border-bottom: 1px solid var(--color-sage);
}

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

.site-header .container .site-logo {
  flex-shrink: 0;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  color: var(--color-green-dark);
  text-decoration: none;
}

.site-logo img {
  display: block;
  width: auto;
  height: 48px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.main-nav ul {
  display: flex;
  gap: 30px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  color: var(--color-text);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.5px;
}

.main-nav a:hover {
  color: var(--color-blue);
  text-decoration: none;
}

.donate-button {
  display: inline-flex;
  align-items: center;
  background: transparent;
  border: 1.5px solid var(--color-green);
  border-radius: 999px;
  color: var(--color-green-dark);
  font-weight: 600;
  padding: 8px 20px;
  font-size: 14px;
  font-family: var(--font-body);
  white-space: nowrap;
  flex-shrink: 0;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.donate-button:hover {
  background: var(--color-green);
  color: #fff;
  text-decoration: none;
  transform: none;
}

main {
  padding-top: 100px;
}

/* Hero */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px 40px;
  overflow: hidden;
}

.hero-quote p {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-green-dark);
  line-height: 1.4;
  max-width: 640px;
  margin: 0 auto 0.5rem;
}

.hero-quote {
  border: none;
  padding: 0;
  margin: 0;
}

.hero-quote-attr {
  font-style: italic;
  font-size: 1rem;
  color: var(--color-text-light);
}

.cta-button {
  display: inline-block;
  background: transparent;
  border: 1px solid #000;
  border-radius: 0;
  padding: 12px 24px;
  font-size: 14px;
  color: #000;
  font-family: var(--font-body);
  transition: all 0.4s ease;
}

.cta-button:hover {
  text-decoration: underline;
}

/* Content Sections */
.content-section {
  padding: 80px 20px;
  max-width: 800px;
  margin: 0 auto;
}

.content-section:nth-child(even) {
  background: var(--color-bg-alt);
}

.content-section h1 {
  font-size: 2.5rem;
  color: var(--color-green-dark);
  margin-bottom: 2rem;
  font-weight: 700;
}

.content-section h2 {
  font-size: 2rem;
  color: var(--color-green-dark);
  margin-bottom: 2rem;
  font-weight: 700;
}

.content-text {
  max-width: 800px;
  margin: 0 auto;
}

.content-text p {
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
  line-height: 1.8;
}

/* Team Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 3rem;
}

.team-member {
  text-align: center;
}

.team-member-photo {
  width: 100%;
  height: 180px;
  object-fit: cover;
  margin-bottom: 1rem;
}

.team-member-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--color-green-dark);
  margin-bottom: 0.25rem;
}

.team-member-role {
  font-size: 0.875rem;
  color: var(--color-green);
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.team-member-description {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--color-text-light);
}

/* Footer */
.site-footer {
  background: var(--color-sage);
  padding: 60px 20px 40px;
}

.site-footer .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.footer-col:last-child {
  text-align: right;
}

.footer-social {
  display: flex;
  justify-content: flex-start;
  gap: 14px;
  margin-bottom: 1.25rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.footer-social svg {
  width: 18px;
  height: 18px;
}

.footer-social-facebook svg { color: #1877F2; }
.footer-social-instagram svg { color: #E4405F; }
.footer-social-youtube svg { color: #FF0000; }
.footer-social-x svg { color: #000000; }

.footer-copyright {
  font-size: 12px;
  color: var(--color-text-light);
  margin-bottom: 1rem;
}

.footer-divider {
  width: 100%;
  height: 1px;
  background: rgba(47, 95, 72, 0.25);
  margin: 1rem 0;
}

.footer-legal {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  margin-bottom: 1rem;
}

.footer-legal a {
  font-size: 12px;
  color: var(--color-text-light);
}

.footer-contact {
  font-size: 12px;
  color: var(--color-text-light);
  line-height: 1.8;
}

.footer-contact a {
  color: var(--color-text-light);
}


.honduras-photo {
  display: block;
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  margin-top: 2rem;
}

.get-involved-panel {
  background: var(--color-sage);
  border-radius: 12px;
  padding: 60px 40px;
  text-align: center;
  max-width: 800px;
  margin: 80px auto;
}

.get-involved-panel h1 {
  margin-bottom: 1.5rem;
}

.get-involved-panel .content-text p {
  margin-bottom: 1rem;
}

.cta-button-green {
  background: var(--color-green);
  border: none;
  border-radius: 999px;
  color: #fff;
  font-weight: 600;
  padding: 14px 32px;
}

.cta-button-green:hover {
  background: var(--color-green-dark);
  color: #fff;
  text-decoration: none;
}

/* Responsive */
@media (max-width: 768px) {
  .site-header .container {
    flex-direction: column;
    gap: 15px;
  }

  .main-nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }

  main {
    padding-top: 240px;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .site-footer .container {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-col:last-child {
    text-align: left;
  }

  .footer-social {
    justify-content: flex-start;
  }

  .footer-legal {
    justify-content: flex-start;
  }

}
