/* ============================================================
   picotheparrot.com — styles
   ============================================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400;1,700&family=Inter:wght@300;400;500;600&family=Caveat:wght@400;600;700&display=swap');

/* ---------- Design Tokens ---------- */
:root {
  --green:     #3A7D3A;
  --yellow:    #F5C200;
  --coral:     #E8603C;
  --pink:      #D4447A;
  --purple:    #7B3F8C;
  --blue:      #2A6BAD;
  --offwhite:  #FFFDF5;
  --dark:      #1A1A1A;

  --section-pad: clamp(3rem, 8vw, 6rem);
  --content-max: 1100px;
  --radius: 12px;
  --shadow: 0 6px 28px rgba(0, 0, 0, 0.18);
  --shadow-soft: 0 3px 14px rgba(0, 0, 0, 0.10);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--offwhite);
  color: var(--dark);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

/* ---------- Utility ---------- */
.container {
  width: 90%;
  max-width: var(--content-max);
  margin-inline: auto;
}

.photo-frame {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.section-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.65;
  margin-bottom: 0.6rem;
}

/* ============================================================
   NAV
   ============================================================ */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(26, 26, 26, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--offwhite);
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
}

.nav-brand img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  border-radius: 4px;
}

.nav-links {
  display: flex;
  gap: 1.8rem;
  list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,0.8);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}

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

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

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--offwhite);
  border-radius: 2px;
  transition: all 0.3s;
}

@media (max-width: 680px) {
  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(26, 26, 26, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255,255,255,0.08);
  }

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

  .nav-links li a {
    display: block;
    padding: 0.9rem 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
}

/* ============================================================
   SECTION 1 — HERO
   ============================================================ */
.hero {
  min-height: 100svh;
  background: linear-gradient(160deg, #2a1638 0%, #3d1f52 35%, #1a2a4a 100%);
  display: flex;
  align-items: center;
  padding-top: 5rem;
  position: relative;
  overflow: hidden;
}

/* Subtle texture overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 75% 55%, rgba(245, 194, 0, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 20% 80%, rgba(232, 96, 60, 0.10) 0%, transparent 60%);
  pointer-events: none;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
  width: 92%;
  max-width: 1200px;
  position: relative;
  z-index: 1;
}

.hero-text { color: var(--offwhite); }

.hero-location {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(245, 194, 0, 0.15);
  border: 1px solid rgba(245, 194, 0, 0.4);
  border-radius: 100px;
  padding: 0.3rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 1.4rem;
}

.hero-location::before {
  content: '📍';
  font-size: 0.9rem;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3.5rem, 8vw, 6.5rem);
  font-weight: 900;
  line-height: 0.95;
  color: var(--yellow);
  margin-bottom: 1.2rem;
  letter-spacing: -0.02em;
}

.hero-subhead {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 300;
  color: rgba(255, 253, 245, 0.85);
  max-width: 480px;
  line-height: 1.6;
  margin-bottom: 2.2rem;
}

.hero-subhead strong {
  color: var(--offwhite);
  font-weight: 600;
}

.hero-cta {
  display: inline-block;
  background: var(--yellow);
  color: var(--dark);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  padding: 0.8rem 1.8rem;
  border-radius: 100px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245, 194, 0, 0.35);
}

.hero-image-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-flag {
  width: 100%;
  max-width: 520px;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255,255,255,0.06);
}

/* Mobile hero */
@media (max-width: 768px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2.5rem;
  }

  .hero-location { margin-inline: auto; }
  .hero-subhead { margin-inline: auto; }
  .hero-image-wrap { order: -1; }
  .hero-flag { max-width: 340px; }
}

/* ============================================================
   SECTION 2 — WHO IS PICO?
   ============================================================ */
.who-is-pico {
  padding: var(--section-pad) 0;
  background: var(--offwhite);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }

@media (max-width: 768px) {
  .two-col { grid-template-columns: 1fr; }
  .two-col.reverse { direction: ltr; }
}

.section-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.section-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1rem;
  color: var(--dark);
}

.section-text p {
  font-size: 1rem;
  color: #333;
  margin-bottom: 1rem;
}

.pull-quote {
  font-family: 'Caveat', cursive;
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 700;
  color: var(--green);
  line-height: 1.35;
  margin: 1.5rem 0;
  padding: 1rem 1.2rem 1rem 1.4rem;
  border-left: 4px solid var(--green);
  background: rgba(58, 125, 58, 0.06);
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* ============================================================
   SECTION 3 — THE MASCOT
   ============================================================ */
.the-mascot {
  padding: var(--section-pad) 0;
  background: var(--yellow);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.the-mascot::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(58,125,58,0.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(58,125,58,0.12) 0%, transparent 50%);
  pointer-events: none;
}

.mascot-inner {
  position: relative;
  z-index: 1;
}


.mascot-heading-wrap {
  position: relative;
  display: inline-block;
}

.mascot-heading-text {
  display: block;
}

.unofficial-stamp {
  position: absolute;
  top: -18px;
  right: -50px;
  width: 160px;
  transform: rotate(8deg);
  opacity: 0.92;
  pointer-events: none;
}

@media (max-width: 600px) {
  .unofficial-stamp {
    width: 110px;
    top: -12px;
    right: -20px;
  }
}

.the-mascot h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 900;
  color: var(--dark);
  line-height: 1.1;
  margin-bottom: 1.2rem;
}

.the-mascot p {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: #2a2a2a;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: 1.2rem;
  line-height: 1.7;
}

.mascot-date {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 0.5rem;
}

.mascot-disclaimer {
  font-family: 'Caveat', cursive;
  font-size: 1.05rem;
  color: rgba(26, 26, 26, 0.6);
  font-style: italic;
  margin-top: 1.8rem;
}

.ribbon-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.8rem;
}

.ribbon-line {
  width: 80px;
  height: 2px;
  background: var(--green);
  opacity: 0.4;
  border-radius: 2px;
}

.ribbon-icon { font-size: 1.8rem; }

/* ============================================================
   SECTION 4 — LIFE IN OB
   ============================================================ */
.life-in-ob {
  padding: var(--section-pad) 0;
  background: var(--dark);
  color: var(--offwhite);
}

.life-in-ob .section-label { color: var(--coral); opacity: 1; }

.life-in-ob h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--offwhite);
  margin-bottom: 1.5rem;
}

.ob-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

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

.ob-photo-wrap { position: relative; }

.ob-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.ob-caption {
  font-family: 'Caveat', cursive;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--yellow);
  margin-top: 0.8rem;
  text-align: center;
}

.life-in-ob p {
  font-size: 1.05rem;
  color: rgba(255, 253, 245, 0.82);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.ob-text-inner h2 { margin-bottom: 0.8rem; }

/* ============================================================
   SECTION 5 — IN THE NEWS
   ============================================================ */
.in-the-news {
  padding: var(--section-pad) 0;
  background: var(--offwhite);
  text-align: center;
}

.in-the-news h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.4rem;
}

.news-outlet {
  display: inline-block;
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-style: italic;
  color: var(--blue);
  margin-bottom: 1.4rem;
  font-weight: 400;
}

.in-the-news .section-label { text-align: center; }

.news-card {
  max-width: 660px;
  margin-inline: auto;
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid rgba(0,0,0,0.06);
  border-top: 4px solid var(--blue);
}

.news-card p {
  font-size: 1.05rem;
  color: #444;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.news-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--blue);
  font-weight: 600;
  font-size: 0.95rem;
  border-bottom: 2px solid var(--blue);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}

.news-link:hover {
  color: var(--purple);
  border-color: var(--purple);
}

/* ============================================================
   SECTION 6 — MEET ELLA
   ============================================================ */
.meet-ella {
  padding: var(--section-pad) 0;
  background: linear-gradient(135deg, #f0e8f5 0%, #e8f0fb 100%);
}

.meet-ella .section-label { color: var(--purple); opacity: 1; }

.meet-ella h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
}

.meet-ella p {
  font-size: 1rem;
  color: #333;
  margin-bottom: 1rem;
  line-height: 1.75;
}

.ella-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.ella-tag {
  display: inline-block;
  background: var(--purple);
  color: white;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.85rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--dark);
  color: var(--offwhite);
  padding: 3.5rem 0 2.5rem;
  text-align: center;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  max-width: 900px;
  margin-inline: auto;
  padding-inline: 1.5rem;
  align-items: start;
}

@media (max-width: 680px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-col { order: 0; }
  .footer-center { order: -1; }
}

.footer-col-heading {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 0.8rem;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  line-height: 2;
}

.footer-links a {
  color: rgba(255,253,245,0.7);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

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

.footer-address {
  text-align: right;
}

@media (max-width: 680px) {
  .footer-address { text-align: center; }
  .footer-links { text-align: center; }
}

.footer-address address {
  font-style: normal;
  font-size: 0.9rem;
  color: rgba(255,253,245,0.6);
  line-height: 1.9;
}

.footer-flag {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 8px;
  margin-inline: auto;
  margin-bottom: 1.4rem;
  opacity: 0.9;
}

.footer-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--yellow);
  margin-bottom: 0.3rem;
}

.footer-meta {
  font-size: 0.9rem;
  color: rgba(255,253,245,0.6);
  line-height: 1.9;
}

.footer-meta strong {
  color: rgba(255,253,245,0.85);
  font-weight: 500;
}

.footer-divider {
  width: 48px;
  height: 1px;
  background: rgba(255,255,255,0.15);
  margin: 1.4rem auto;
}

.footer-copy {
  font-family: 'Caveat', cursive;
  font-size: 1.05rem;
  color: rgba(255,253,245,0.45);
}

/* ============================================================
   SECTION 7 — PICO'S FRIENDS
   ============================================================ */
.picos-friends {
  padding: var(--section-pad) 0;
  background: var(--offwhite);
  text-align: center;
}

.friends-intro {
  max-width: 560px;
  margin-inline: auto;
  margin-bottom: 2.8rem;
  font-size: 1.05rem;
  color: #555;
  font-style: italic;
}

.patrons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.4rem;
  max-width: 900px;
  margin-inline: auto;
  margin-bottom: 3rem;
}

.patron-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: 12px;
  padding: 1.6rem 1.4rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  text-align: left;
}

.patron-card.patron-primary {
  border-top: 4px solid var(--yellow);
}

.patron-rank {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.4rem;
}

.patron-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.6rem;
}

.patron-note {
  font-size: 0.88rem;
  color: #666;
  line-height: 1.6;
  font-family: 'Caveat', cursive;
  font-size: 1rem;
}

.patron-card.patron-open {
  border-top: 4px solid var(--coral);
  display: flex;
  flex-direction: column;
}

.patron-join-btn {
  display: inline-block;
  margin-top: auto;
  padding-top: 1rem;
  background: var(--coral);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  padding: 0.55rem 1.2rem;
  border-radius: 100px;
  text-decoration: none;
  text-align: center;
  margin-top: 1rem;
  transition: background 0.2s, transform 0.15s;
}

.patron-join-btn:hover {
  background: #d04f2a;
  transform: translateY(-2px);
}

/* ============================================================
   SCROLL FADE-IN ANIMATION (CSS only)
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  .fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.65s ease, transform 0.65s ease;
  }

  .fade-in.visible {
    opacity: 1;
    transform: translateY(0);
  }
}
