/* ------------------------------
   NAVIGATION BAR
   ------------------------------ */

.nav {
  background: var(--wrapt-green);
  padding: 12px 0;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
}

.nav-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;

  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo */
.nav-logo img {
  height: 48px; /* clean, readable size */
  width: auto;
  display: block;
}

/* Links */
.nav-links .nav-link {
  color: var(--wrapt-white);
  text-decoration: none;
  margin-left: 20px;
  font-weight: 500;
  padding-bottom: 4px;
  transition: var(--transition);
}

/* Hover */
.nav-links .nav-link:hover {
  color: var(--wrapt-green-light);
}

/* Active page highlight */
.nav-links .active {
  border-bottom: 3px solid var(--wrapt-green-light);
  color: var(--wrapt-green-light);
}

/* Mobile-friendly stack */
@media (max-width: 600px) {
  .nav-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    margin-top: 10px;
  }

  .nav-links .nav-link {
    display: inline-block;
    margin: 6px 10px 0 0;
  }
}

/* ------------------------------
   HERO SECTION
   ------------------------------ */

.hero {
  position: relative;
  background: #ffffff;
  padding: 90px 20px;
  text-align: center;
  border-radius: 14px;
  margin-bottom: 40px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
  overflow: hidden;
}
.hero-content {
  position: relative;
  z-index: 1;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(166, 255, 77, 0.12), rgba(166, 255, 77, 0.12)),
    url('https://wrapt.org.au/donate/assets/img/leaves-texture.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.35; /* adjust 0.15�0.4 depending on taste */
  pointer-events: none;
}

.hero h1 {
  font-weight: 600;
  margin-bottom: 20px;
  line-height: 1.3;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-button {
  background: #1b5e20;
  color: #ffffff;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: 0.2s ease;
}

.hero-button:hover {
  background: #2e7d32;
}
/* ------------------------------
   FLOATING BUBBLE
   -----------------------------  */
.contact-panel input,
.contact-panel select,
.contact-panel textarea {
  width: 100%;
  box-sizing: border-box;   /* <-- prevents spill */
  padding: 10px;
  margin-bottom: 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
}

.contact-bubble {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 54px;
  height: 54px;
  background: #2E7D32;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  z-index: 9999;
  user-select: none;
}
.contact-bubble:hover {
  background: #4CAF50;
  box-shadow: 0 0 12px #A6FF4D;
}

.contact-panel {
  position: fixed;
  bottom: 90px;
  right: 30px;
  width: 320px;              /* <-- THIS stops the spill */
  max-width: 90vw;           /* mobile safety */
  background: #ffffff;
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  z-index: 9999;

  opacity: 0;
  transform: translateY(10px);
  transition: all 0.25s ease;
  pointer-events: none;
}

.contact-panel.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.close-btn {
  position: absolute;
  top: 10px;
  right: 12px;
  font-size: 22px;
  cursor: pointer;
  color: #555;
}

.contact-panel input,
.contact-panel select,
.contact-panel textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
}

.contact-panel button {
  width: 100%;
  padding: 12px;
  background: #2E7D32;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
}

/* ------------------------------
   ROOT VARIABLES
   ------------------------------ */
:root {
  --wrapt-green: #2e7d32;
  --wrapt-green-light: #66bb6a;
  --wrapt-white: #ffffff;
  --wrapt-black: #222222;

  --shadow: 0 2px 6px rgba(0,0,0,0.15);
  --transition: 0.2s ease;
  --radius: 10px;
}

/* ------------------------------
   GLOBAL RESET
   ------------------------------ */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f5f5f5;
  color: var(--wrapt-black);
}

h1, h2, h3 {
  margin-top: 0;
}
/* GLOBAL BACKGROUND */
body {
  background: linear-gradient(to bottom, #f3f8f4 0%, #eef9e8 100%);
}
/* ------------------------------
   LAYOUT
   ------------------------------ */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px 40px 20px;
}

/* ------------------------------
   CARDS
   ------------------------------ */
.card {
  background: var(--wrapt-white);
  padding: 20px;
  margin-bottom: 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card h2 {
  margin-top: 0;
  color: var(--wrapt-green);
}

/* ------------------------------
   BUTTONS
   ------------------------------ */
.button {
  display: inline-block;
  background: var(--wrapt-green);
  color: var(--wrapt-white);
  padding: 10px 18px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.button:hover {
  background: var(--wrapt-green-light);
}

/* ------------------------------
   FORMS
   ------------------------------ */
input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 10px;
  border-radius: var(--radius);
  border: 1px solid #ccc;
  margin-bottom: 10px;
  font-size: 1rem;
}

textarea {
  resize: vertical;
}

/* ------------------------------
   FOOTER
   ------------------------------ */
.footer {
  background: var(--wrapt-green);
  color: var(--wrapt-white);
  text-align: center;
  padding: 20px;
  margin-top: 40px;
}

.header {
  width: 100%;
  text-align: center;
  padding: 2rem 1rem;
}

.header h1 {
  font-weight: 400; /* WRAPT warm-light heading style */
  margin-bottom: 0.5rem;
}

.header p {
  margin-top: 0;
  font-size: 1.1rem;
  color: #444;
}
/* Monetary Donations – Stipulation Notice */
.stipulation-note {
  background: #fff3cd;
  border-left: 6px solid #e0a800;
  padding: 15px;
  border-radius: 6px;
  margin-bottom: 30px;
  font-size: 1rem;
  color: #5c4a00;
}

/* Grid layout for donation options */
.donation-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

/* Make cards clickable */
.donation-card-link {
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.donation-card-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.stipulation-note {
  background: #fff3cd;
  border-left: 6px solid #e0a800;
  padding: 15px;
  border-radius: 6px;
  margin-bottom: 30px;
  font-size: 1rem;
  color: #5c4a00;
}
