:root {
  --green: #4caf50;
  --green-dark: #388e3c;
  --accent: #ff6f61;
  --bg: #ffffff;
  --card: #ffffff;
  --text: #1b5e20;
  --hover: #66bb6a;
  --header-gradient: linear-gradient(135deg, #4caf50, #81c784);
}

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

html, body {
  min-width: 2cm;
  width: 100%;
  height: 100%;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
}

/* HEADER */
.site-header {
  background: var(--header-gradient);
  color: white;
  padding: 44px 20px 20px;
  text-align: center;
  width: 100%;
  position: relative;
}
.site-header h1,
.site-header .subtitle {
  text-align: center;
  margin: 0 auto 12px;
  line-height: 1.5;
  max-width: 100%;
}

/* HEADER TOP RIGHT BUTTONS (TABLET+) */
.header-top-nav {
  display: none;
}
@media (min-width: 768px) {
  .header-top-nav {
    position: fixed;
    top: 12px;
    right: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 9998;
  }
  .header-top-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 16px;
    background-color: rgba(255, 255, 255, 0.95);
    color: var(--green-dark);
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.3s, color 0.3s, transform 0.3s;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  }
  .header-top-nav a:hover,
  .header-top-nav a:focus-visible {
    background-color: var(--hover);
    color: white;
    transform: translateY(-1px);
  }
  .header-top-nav a.donate-btn {
    background: var(--accent);
    color: white;
  }
  .header-top-nav a.donate-btn:hover,
  .header-top-nav a.donate-btn:focus-visible {
    background: #e53935;
  }
}

/* MAIN */
main {
  min-height: calc(10vh - 32px);
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--bg);
  width: 100%;
  padding-bottom: 21px;
}

section {
  width: 100%;
  max-width: 900px;
  margin: 30px auto;
  padding: 0 20px;
  background: var(--card);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  text-align: left;
  line-height: 1.5;
}
section h1, section h2, section p, section h3 {
  margin-bottom: 1.2em;
  line-height: 1.6;
}

/* PORTFOLIO SECTION */
.portfolio-section {
  margin-top: 25px;
  width: 100%;
  background: var(--card);
  padding: 40px 20px 80px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.portfolio-section h2 {
  margin-bottom: 30px;
  font-size: 1.8rem;
  text-align: center;
}
.project-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}
.project-btn {
  flex: 1 1 300px;
  background-color: var(--green-dark);
  color: white;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  font-weight: bold;
  font-size: 1.1rem;
  text-decoration: none;
  transition: background 0.3s;
}
.project-btn:hover {
  background-color: var(--green);
}

/* DONATE OPTIONS */
.donate-options {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 20px;
}
.paypal {
  background: #003087;
  color: white;
  padding: 12px 20px;
  border-radius: 6px;
  text-decoration: none;
}
.bitcoin {
  background: #f7931a;
  color: white;
  padding: 12px 20px;
  border-radius: 6px;
  text-decoration: none;
}

/* BURGER MENU BUTTON */
.menu-toggle {
  display: block;
  position: fixed;
  left: 12px;
  top: 12px;
  z-index: 9999;
  background: var(--green);
  color: white;
  border: none;
  font-size: 1.5rem;
  padding: 8px 10px;
  border-radius: 6px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* BURGER NAV MENU */
.main-nav {
  position: fixed;
  left: 12px;
  top: 60px;
  z-index: 9998;
  display: none;
  flex-direction: column;
  gap: 8px;
  background: rgba(255,255,255,0.95);
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}
.main-nav.open {
  display: flex;
}
.main-nav a {
  text-decoration: none;
  color: var(--green-dark);
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 6px;
}
.main-nav a.donate-btn {
  background: var(--accent);
  color: white;
}

/* FORMS */
form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
input, textarea, button {
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1rem;
}
button {
  background: var(--green);
  color: white;
  border: none;
  cursor: pointer;
}
button:hover {
  background: var(--green-dark);
}

/* FOOTER */
.site-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #222;
  color: white;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 28px;
  padding: 14px 16px;
  z-index: 9999;
  font-size: 0.9rem;
  text-align: center;
}
.site-footer span {
  display: inline-block;
}