/*
Theme Name: Mo's Birds
Theme URI: https://mosbirds.com
Author: Mo's Birds
Author URI: https://mosbirds.com
Description: Custom WordPress theme for Mo's Birds — Hand-Raised Parrots. Southern California's premier parrot breeder.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: Proprietary
Text Domain: mosbirds
*/

/* === GLOBAL DESIGN TOKENS === */
:root {
  --teal: #1db899;
  --teal-dark: #17a589;
  --teal-deeper: #0e7a63;
  --teal-light: #e8f8f5;
  --teal-mid: #d1f2eb;
  --orange: #f07b3f;
  --orange-dark: #d9652a;
  --orange-light: #fff0e8;
  --white: #ffffff;
  --bg: #f8fffe;
  --text: #2c3e50;
  --text-mid: #4a6572;
  --text-muted: #7f8c8d;
  --border: #e0f0ed;
  --font: 'Nunito', sans-serif;
  --radius: 14px;
  --shadow: 0 4px 24px rgba(29, 184, 153, 0.10);
  --shadow-lg: 0 12px 40px rgba(29, 184, 153, 0.18);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

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

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

/* === NAVIGATION === */
.nav-top {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 8px rgba(29, 184, 153, 0.08);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo img { height: 46px; }

.nav-logo span {
  font-size: 22px;
  font-weight: 800;
  color: var(--orange);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links a {
  color: var(--text-mid);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 8px;
  transition: all 0.18s;
}

.nav-links a:hover,
.nav-links a.current-menu-item { color: var(--teal); background: var(--teal-light); }

.nav-links a.nav-cta {
  background: var(--teal);
  color: var(--white);
  margin-left: 8px;
}

.nav-links a.nav-cta:hover { background: var(--teal-dark); }

.nav-cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--orange);
  color: white;
  font-size: 10px;
  font-weight: 900;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  margin-left: 4px;
}

/* === TRUST BAR === */
.trust-bar {
  background: var(--teal);
  padding: 10px 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
}

.t-icon {
  width: 22px;
  height: 22px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 800;
  padding: 12px 26px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.18s;
  border: none;
  cursor: pointer;
}

.btn-teal { background: var(--teal); color: var(--white); }
.btn-teal:hover { background: var(--teal-dark); color: var(--white); transform: translateY(-1px); }

.btn-orange { background: var(--orange); color: var(--white); }
.btn-orange:hover { background: var(--orange-dark); color: var(--white); }

.btn-white { background: var(--white); color: var(--orange-dark); }
.btn-white:hover { background: #fff8f0; transform: translateY(-1px); }

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.55);
}
.btn-outline-white:hover { background: rgba(255, 255, 255, 0.12); color: var(--white); }

/* === FOOTER === */
.site-footer {
  background: var(--teal-deeper);
  padding: 26px 48px;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: color 0.18s;
}

.footer-links a:hover { color: var(--white); }

.footer-copy {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-copy strong { color: var(--white); }

/* === SECTION HELPERS === */
.section-label {
  font-size: 11px;
  font-weight: 800;
  color: var(--teal-dark);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 6px;
  display: block;
}

.cta-strip {
  background: var(--orange);
  padding: 52px 48px;
  text-align: center;
}

.cta-strip h2 {
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 10px;
}

.cta-strip p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 26px;
}

.cta-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* === BIRD CARDS (shared across pages) === */
.bird-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.bird-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow);
  transition: all 0.22s;
  background: var(--white);
  display: flex;
  flex-direction: column;
  position: relative;
}

.bird-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--teal-mid);
}

.bc-img {
  position: relative;
  height: 180px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.bc-emoji { font-size: 72px; filter: drop-shadow(0 4px 10px rgba(0,0,0,0.18)); position: relative; z-index: 1; }
.bc-emoji-bg { position: absolute; font-size: 110px; opacity: 0.12; }

.bc-status {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 14px;
  z-index: 2;
}

.bc-status.avail { background: var(--teal); color: #fff; }
.bc-status.soon { background: var(--orange); color: #fff; }
.bc-status.reserved { background: #8b5cf6; color: #fff; }
.bc-status.ask { background: rgba(44,62,80,0.7); color: #fff; }

.bc-certs {
  position: absolute;
  bottom: 8px;
  left: 8px;
  display: flex;
  gap: 4px;
  z-index: 2;
}

.cert {
  background: rgba(0,0,0,0.5);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 8px;
  backdrop-filter: blur(4px);
}

.bc-body { padding: 16px 18px 14px; flex: 1; display: flex; flex-direction: column; }

.bc-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; margin-bottom: 5px; }

.bc-meta .bc-cat { font-size: 10px; font-weight: 800; color: var(--teal-dark); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 2px; }
.bc-meta .bc-name { font-size: 17px; font-weight: 900; color: var(--text); line-height: 1.2; }

.bc-price-tag { text-align: right; flex-shrink: 0; }
.bc-price { font-size: 18px; font-weight: 900; color: var(--text); white-space: nowrap; }
.bc-price-note { font-size: 10px; color: var(--text-muted); font-weight: 600; }

.bc-desc { font-size: 12px; color: var(--text-mid); line-height: 1.6; margin-bottom: 12px; flex: 1; }

.bc-traits { display: flex; gap: 5px; flex-wrap: wrap; margin-bottom: 14px; }
.bc-trait { font-size: 10px; font-weight: 700; color: var(--teal-dark); background: var(--teal-light); padding: 2px 8px; border-radius: 8px; border: 1px solid var(--teal-mid); }
.bc-trait.or { color: var(--orange-dark); background: var(--orange-light); border-color: #ffd0b5; }

.bc-footer { display: flex; align-items: center; gap: 8px; padding-top: 12px; border-top: 1px solid var(--border); }

.bc-btn-primary {
  flex: 1;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 800;
  padding: 10px 14px;
  border-radius: 8px;
  text-decoration: none;
  background: var(--teal);
  color: var(--white);
  border: none;
  cursor: pointer;
  transition: all 0.18s;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.bc-btn-primary:hover { background: var(--teal-dark); color: var(--white); transform: translateY(-1px); }

.bc-btn-primary.outlined {
  background: transparent;
  color: var(--teal);
  border: 1.5px solid var(--teal-mid);
}

.bc-btn-primary.outlined:hover { background: var(--teal-light); transform: none; }

.bc-btn-save {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.18s;
  flex-shrink: 0;
}

.bc-btn-save:hover,
.bc-btn-save.saved { border-color: var(--orange); background: var(--orange-light); }

/* === RESPONSIVE === */
@media (max-width: 1100px) { .bird-grid { grid-template-columns: repeat(3, 1fr); } }

@media (max-width: 820px) {
  .bird-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-top, .trust-bar, .site-footer { padding-left: 20px; padding-right: 20px; }
}

@media (max-width: 540px) {
  .bird-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .trust-bar { gap: 12px; }
}
