/* ============================================
   VAL'S PALS ANIMAL SANCTUARY
   Main Stylesheet
   ============================================ */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Montserrat:wght@400;500;600;700&display=swap');

/* --- CSS Variables --- */
:root {
  --gold: #B8962E;
  --gold-light: #d4af50;
  --sage: #4B5F45;
  --brown: #3D2B1F;
  --cream: #F5F0E8;
  --blue: #8B9EB0;
  --clay: #C4A882;
  --linen: #EDE8DC;

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Montserrat', Arial, sans-serif;

  --max-width: 1100px;
  --section-pad: 80px;
  --section-pad-mobile: 48px;
  --radius: 4px;
  --radius-card: 8px;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--cream);
  color: var(--brown);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--gold-light);
}

/* --- Typography --- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-serif);
  line-height: 1.25;
  color: var(--brown);
}

h1 { font-size: clamp(2rem, 5vw, 3rem); font-style: italic; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); font-style: italic; }

p {
  margin-bottom: 1em;
  font-size: 16px;
  line-height: 1.7;
}

p:last-child { margin-bottom: 0; }

/* --- Layout --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: var(--section-pad) 0;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.04em;
  padding: 14px 28px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  text-align: center;
}

.btn-primary {
  background-color: var(--gold);
  color: var(--brown);
  border-color: var(--gold);
}

.btn-primary:hover {
  background-color: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--brown);
}

.btn-secondary {
  background-color: transparent;
  color: var(--gold);
  border-color: var(--gold);
}

.btn-secondary:hover {
  background-color: var(--gold);
  color: var(--brown);
}

.btn-dark {
  background-color: var(--cream);
  color: var(--brown);
  border-color: var(--cream);
}

.btn-dark:hover {
  background-color: var(--linen);
  border-color: var(--linen);
  color: var(--brown);
}

.btn-sage {
  background-color: var(--sage);
  color: var(--cream);
  border-color: var(--sage);
}

.btn-sage:hover {
  background-color: #3a4e35;
  border-color: #3a4e35;
  color: var(--cream);
}

/* --- Section Labels --- */
.section-label {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
  display: block;
}

/* --- Dividers --- */
.gold-divider {
  width: 60px;
  height: 2px;
  background-color: var(--gold);
  margin: 16px 0 24px;
}

.gold-divider.centered {
  margin: 16px auto 24px;
}

/* ============================================
   NAVIGATION
   ============================================ */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--cream);
  border-bottom: 1px solid var(--linen);
  box-shadow: 0 2px 12px rgba(61, 43, 31, 0.08);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

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

.nav-logo img {
  height: 54px;
  width: auto;
  border-radius: 50%;
}

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

.nav-links a {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--brown);
  text-decoration: none;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--brown);
  transition: all 0.3s ease;
}

/* Mobile Nav */
.nav-mobile {
  display: none;
  flex-direction: column;
  background-color: var(--cream);
  border-top: 1px solid var(--linen);
  padding: 16px 24px 24px;
  gap: 4px;
}

.nav-mobile.open {
  display: flex;
}

.nav-mobile a {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  color: var(--brown);
  padding: 10px 0;
  border-bottom: 1px solid var(--linen);
  text-decoration: none;
}

.nav-mobile a:last-child {
  border-bottom: none;
}

.nav-mobile a:hover {
  color: var(--gold);
}

.nav-mobile .btn {
  margin-top: 12px;
  text-align: center;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  background-color: var(--brown);
  background-image: 
    radial-gradient(ellipse at 20% 50%, rgba(184, 150, 46, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(75, 95, 69, 0.15) 0%, transparent 50%);
  padding: 80px 0 90px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 20c-2 0-3.5-1.5-3.5-3.5S18 13 20 13s3.5 1.5 3.5 3.5S22 20 20 20zm0-2c.8 0 1.5-.7 1.5-1.5S20.8 15 20 15s-1.5.7-1.5 1.5S19.2 18 20 18zm4 2c-1 0-1.8-.8-1.8-1.8s.8-1.7 1.8-1.7 1.8.7 1.8 1.7S25 20 24 20zm-8 0c-1 0-1.8-.8-1.8-1.8s.8-1.7 1.8-1.7 1.8.7 1.8 1.7S17 20 16 20zm2 3c0 2.8-2.2 5-5 5s-5-2.2-5-5 2.2-5 5-5 5 2.2 5 5z' fill='%23B8962E' fill-opacity='0.04' fill-rule='evenodd'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text {
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  display: block;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-style: italic;
  color: var(--cream);
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-title em {
  color: var(--gold);
  font-style: normal;
}

.hero-tagline {
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--clay);
  margin-bottom: 32px;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-image img {
  width: min(380px, 100%);
  height: auto;
  filter: drop-shadow(0 8px 32px rgba(0,0,0,0.4));
  border-radius: 50%;
}

/* ============================================
   PILLARS STRIP
   ============================================ */

.pillars {
  background-color: var(--sage);
  padding: 28px 0;
}

.pillars-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.pillar-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--cream);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pillar-icon {
  font-size: 18px;
}

/* ============================================
   ABOUT PREVIEW
   ============================================ */

.about-preview {
  background-color: var(--cream);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-image-wrap {
  position: relative;
}

.about-image-wrap img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius-card);
  box-shadow: 8px 8px 0 var(--gold);
}

.about-text .section-label {
  margin-bottom: 8px;
}

.about-text h2 {
  margin-bottom: 8px;
}

.about-text p {
  color: var(--brown);
  opacity: 0.85;
}

.about-location {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--sage);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

/* ============================================
   ANIMAL PREVIEW (HOME)
   ============================================ */

.animals-preview {
  background-color: var(--linen);
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header .section-label {
  display: block;
  text-align: center;
}

.section-header .gold-divider {
  margin: 12px auto 20px;
}

.animals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.animal-card {
  background-color: var(--cream);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(61, 43, 31, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.animal-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(61, 43, 31, 0.14);
}

.animal-card-photo {
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: top center;
}

.animal-card-body {
  padding: 20px 22px 24px;
}

.animal-card-name {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--brown);
  margin-bottom: 4px;
}

.animal-card-aka {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.animal-card-body p {
  font-size: 14px;
  color: var(--brown);
  opacity: 0.8;
  margin-bottom: 0;
}

.animals-cta {
  text-align: center;
  margin-top: 44px;
}

/* ============================================
   QUOTE BANNER
   ============================================ */

.quote-banner {
  background-color: var(--brown);
  padding: 64px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.quote-banner::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-serif);
  font-size: 200px;
  color: var(--gold);
  opacity: 0.06;
  line-height: 1;
  pointer-events: none;
}

.quote-banner blockquote {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-style: italic;
  color: var(--cream);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.4;
}

.quote-banner cite {
  display: block;
  margin-top: 16px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-style: normal;
}

/* ============================================
   ADOPT CTA STRIP
   ============================================ */

.adopt-strip {
  background-color: var(--sage);
  padding: 56px 0;
}

.adopt-strip-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.adopt-strip-text h2 {
  color: var(--cream);
  margin-bottom: 8px;
}

.adopt-strip-text p {
  color: var(--cream);
  opacity: 0.85;
  margin-bottom: 0;
  font-size: 15px;
}

/* ============================================
   DONATE SECTION
   ============================================ */

.donate-section {
  background-color: var(--brown);
  padding: var(--section-pad) 0;
  text-align: center;
}

.donate-inner {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 24px;
}

.donate-section .section-label {
  color: var(--gold);
  display: block;
  text-align: center;
  margin-bottom: 8px;
}

.donate-section h2 {
  color: var(--cream);
  margin-bottom: 16px;
}

.donate-section p {
  color: var(--cream);
  opacity: 0.8;
  margin-bottom: 28px;
}

.donate-note {
  margin-top: 16px;
  font-size: 13px !important;
  color: var(--clay) !important;
  opacity: 1 !important;
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact-section {
  background-color: var(--cream);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-info h2 {
  margin-bottom: 8px;
}

.contact-info p {
  opacity: 0.85;
  margin-bottom: 24px;
}

.contact-people {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.contact-person {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-person strong {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--brown);
}

.contact-person a {
  font-size: 14px;
  color: var(--gold);
}

.contact-location {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  color: var(--brown);
  opacity: 0.75;
}

/* Contact Form */
.contact-form {
  background-color: var(--linen);
  border-radius: var(--radius-card);
  padding: 36px 32px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--brown);
  margin-bottom: 6px;
  letter-spacing: 0.04em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background-color: var(--cream);
  border: 1px solid var(--clay);
  border-radius: var(--radius);
  padding: 12px 14px;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--brown);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184, 150, 46, 0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-success {
  display: none;
  text-align: center;
  padding: 24px;
  background-color: var(--sage);
  border-radius: var(--radius-card);
  color: var(--cream);
  font-family: var(--font-sans);
  font-size: 15px;
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
  background-color: var(--brown);
  padding: 56px 0 32px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(245, 240, 232, 0.12);
  margin-bottom: 32px;
}

.footer-brand img {
  height: 80px;
  width: auto;
  margin-bottom: 16px;
  border-radius: 50%;
}

.footer-brand p {
  color: var(--cream);
  opacity: 0.7;
  font-size: 14px;
  margin-bottom: 8px;
}

.footer-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--gold) !important;
  opacity: 1 !important;
  font-size: 15px !important;
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: var(--cream);
  opacity: 0.75;
  font-size: 14px;
  font-family: var(--font-sans);
  text-decoration: none;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.footer-col ul li a:hover {
  opacity: 1;
  color: var(--gold);
}

.footer-col p {
  color: var(--cream);
  opacity: 0.7;
  font-size: 14px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  color: var(--cream);
  opacity: 0.5;
  font-size: 13px;
  margin-bottom: 0;
}

.footer-bottom a {
  color: var(--cream);
  opacity: 0.5;
  font-size: 13px;
  text-decoration: underline;
  transition: opacity 0.2s;
}

.footer-bottom a:hover {
  opacity: 0.85;
  color: var(--cream);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 900px) {
  :root {
    --section-pad: var(--section-pad-mobile);
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-image {
    order: -1;
  }

  .hero-image img {
    width: min(280px, 70%);
  }

  .hero-buttons {
    justify-content: center;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .about-image-wrap img {
    height: 300px;
  }

  .animals-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .adopt-strip-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .animals-grid {
    grid-template-columns: 1fr;
  }

  .pillars-inner {
    gap: 24px;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .contact-form {
    padding: 24px 20px;
  }
}
