/* Precious Parrots — tropical, friendly, easy to read */

:root {
  --green: #1f9d55;
  --green-dark: #157a41;
  --orange: #ff8a3d;
  --yellow: #ffd23f;
  --blue: #2b8fd6;
  --red: #e5484d;
  --ink: #1d2b24;
  --muted: #5b6b63;
  --bg: #fffdf7;
  --surface: #ffffff;
  --border: #e8e3d6;
  --radius: 14px;
  --shadow: 0 4px 18px rgba(29, 43, 36, 0.08);
  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }

a { color: var(--green-dark); }

h1, h2, h3 { font-family: "Baloo 2", "Nunito", sans-serif; line-height: 1.2; margin: 0 0 0.5em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); }
h3 { font-size: 1.3rem; }

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

.section { padding: 64px 0; }
.section-alt { background: #f3f9f4; }
.section-title { text-align: center; margin-bottom: 8px; }
.section-lead { text-align: center; color: var(--muted); max-width: 640px; margin: 0 auto 40px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo {
  display: flex; align-items: center; gap: 8px;
  font-family: "Baloo 2", sans-serif; font-weight: 700; font-size: 1.5rem;
  color: var(--green-dark); text-decoration: none;
}
.logo span { font-size: 1.8rem; }
.site-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-nav a {
  display: block; padding: 8px 12px; border-radius: 8px;
  text-decoration: none; color: var(--ink); font-weight: 600;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { background: #e7f5ec; color: var(--green-dark); }
.nav-toggle {
  display: none; background: none; border: 0; font-size: 1.8rem; cursor: pointer; color: var(--ink);
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    background: var(--surface); border-bottom: 1px solid var(--border); box-shadow: var(--shadow);
  }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; padding: 8px 16px 16px; }
}

/* Buttons */
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 999px;
  font-weight: 700; text-decoration: none; border: 2px solid transparent; cursor: pointer;
  font-size: 1rem; font-family: inherit;
}
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); }
.btn-accent { background: var(--orange); color: #fff; }
.btn-accent:hover { background: #f07320; }
.btn-outline { border-color: var(--green); color: var(--green-dark); background: transparent; }
.btn-outline:hover { background: #e7f5ec; }

/* Hero */
.hero {
  background:
    radial-gradient(circle at 85% 20%, rgba(255, 210, 63, 0.45), transparent 40%),
    radial-gradient(circle at 10% 90%, rgba(43, 143, 214, 0.25), transparent 45%),
    linear-gradient(135deg, #e9f8ee, #fff6e5);
  padding: 80px 0;
}
.hero-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.hero p { font-size: 1.15rem; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero-art {
  aspect-ratio: 1; border-radius: 50%;
  background: linear-gradient(135deg, var(--yellow), var(--orange));
  display: grid; place-items: center; font-size: clamp(6rem, 18vw, 11rem);
  box-shadow: var(--shadow);
}
@media (max-width: 760px) {
  .hero { padding: 48px 0; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { max-width: 260px; margin: 0 auto; }
}

/* Page header (inner pages) */
.page-header { background: linear-gradient(135deg, #e9f8ee, #fff6e5); padding: 48px 0 40px; text-align: center; }
.page-header p { color: var(--muted); max-width: 640px; margin: 0 auto; }

/* Trust points / feature grid */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow);
}
.feature { text-align: center; }
.feature .icon { font-size: 2.4rem; margin-bottom: 8px; }
.feature p { color: var(--muted); margin: 0; }

/* Bird cards */
.birds-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.bird-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.bird-photo { position: relative; display: block; aspect-ratio: 4 / 3; background: #f3f9f4; }
.bird-photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-placeholder {
  width: 100%; height: 100%; display: grid; place-items: center; font-size: 5rem;
  background: linear-gradient(135deg, #d9f2e2, #fff1d6);
}
.badge {
  position: absolute; top: 12px; left: 12px; padding: 4px 12px; border-radius: 999px;
  font-size: 0.85rem; font-weight: 700; color: #fff;
}
.badge-available { background: var(--green); }
.badge-reserved { background: var(--orange); }
.badge-sold { background: var(--muted); }
.status-sold .bird-photo { filter: grayscale(0.6); }
.bird-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.bird-body h3 { margin-bottom: 0; }
.bird-body h3 a { color: inherit; text-decoration: none; }
.bird-body h3 a:hover { color: var(--green-dark); }
.species { color: var(--muted); margin: 0 0 12px; font-weight: 600; }
.bird-facts { list-style: none; padding: 0; margin: 0 0 12px; font-size: 0.95rem; }
.price { font-size: 1.4rem; font-weight: 800; color: var(--green-dark); margin: auto 0 12px; }
.bird-body .btn { text-align: center; }

.filters {
  display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 32px;
  background: var(--surface); padding: 16px; border-radius: var(--radius); border: 1px solid var(--border);
}
.filters label { display: flex; flex-direction: column; font-weight: 600; font-size: 0.9rem; flex: 1; min-width: 160px; }
.empty { grid-column: 1 / -1; text-align: center; color: var(--muted); }

/* Product page */
.product { padding-top: 32px; }
.breadcrumb { margin: 0 0 20px; font-weight: 600; }
.breadcrumb a { text-decoration: none; }
.product-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 860px) { .product-layout { grid-template-columns: 1fr; gap: 24px; } }
.gallery-main {
  position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden;
  background: #f3f9f4; box-shadow: var(--shadow);
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 10px; margin-top: 12px; }
.gallery-thumbs button {
  padding: 0; border: 3px solid transparent; border-radius: 10px; overflow: hidden;
  aspect-ratio: 1; cursor: pointer; background: none;
}
.gallery-thumbs button[aria-current="true"] { border-color: var(--green); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.product-info h1 { margin-bottom: 0; }
.product-info .price { font-size: 1.8rem; margin: 8px 0 12px; }
.product-description { margin-bottom: 28px; }
.inquiry-form h2 { font-size: 1.4rem; margin-bottom: 4px; }
.inquiry-form > p { color: var(--muted); margin-top: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Species */
.species-card h3 { display: flex; align-items: center; gap: 8px; }
.species-stats { list-style: none; padding: 0; margin: 12px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; font-size: 0.95rem; }
.good-for { background: #fff6e5; border-radius: 10px; padding: 10px 14px; font-size: 0.95rem; margin: 0; }

/* Steps */
.steps { counter-reset: step; list-style: none; padding: 0; display: grid; gap: 16px; }
.steps li {
  counter-increment: step; position: relative; padding: 20px 20px 20px 76px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
}
.steps li::before {
  content: counter(step); position: absolute; left: 20px; top: 20px;
  width: 40px; height: 40px; border-radius: 50%; background: var(--green); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 1.1rem;
}
.steps h3 { margin-bottom: 4px; }
.steps p { margin: 0; color: var(--muted); }

/* FAQ */
.faq details {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 16px 20px; margin-bottom: 12px;
}
.faq summary { font-weight: 700; cursor: pointer; font-size: 1.05rem; }
.faq details p { margin: 12px 0 0; color: var(--muted); }

/* Testimonials */

/* CTA banner */
.cta { background: var(--green); color: #fff; text-align: center; }
.cta p { opacity: 0.9; max-width: 560px; margin: 0 auto 24px; }
.cta .btn-primary { background: #fff; color: var(--green-dark); }

/* Forms */
.form-grid { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
label { font-weight: 600; }
input, select, textarea {
  width: 100%; margin-top: 6px; padding: 10px 12px; font: inherit;
  border: 1px solid var(--border); border-radius: 10px; background: #fff; color: var(--ink);
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--green); outline-offset: 1px; }
.form-status { color: var(--green-dark); font-weight: 600; margin: 0; }

.contact-info { list-style: none; padding: 0; margin: 0; }
.contact-info li { margin-bottom: 12px; }

/* Footer */
.site-footer { background: var(--ink); color: #d6e2db; padding: 48px 0 24px; margin-top: 0; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.site-footer h3 { color: #fff; font-size: 1.1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.footer-bottom { border-top: 1px solid #34453c; margin-top: 32px; padding-top: 16px; font-size: 0.9rem; text-align: center; }
