/* ── Impeckable Parrots – PPTX-faithful stylesheet ── */
:root{
  --red:#8B2020;
  --red-dark:#6a1818;
  --gold:#C9A84C;
  --gold-light:#e8c96a;
  --gold-dark:#9a7830;
  --parchment:#f5e9c8;
  --ink:#1a0f00;
  --ink-light:#4a3520;
}
*{box-sizing:border-box;margin:0;padding:0;}
html{scroll-behavior:smooth;}
body{
  font-family:'Georgia',serif;
  background:var(--red);
  color:var(--ink);
  min-height:100vh;
}
a{color:inherit;text-decoration:none;}
img{max-width:100%;display:block;}

/* ── HEADER ── */
header{
  background:linear-gradient(180deg,var(--gold-light) 0%,var(--gold) 60%,var(--gold-dark) 100%);
  border-bottom:4px solid var(--red-dark);
  box-shadow:0 4px 16px rgba(0,0,0,.4);
  position:sticky;top:0;z-index:200;
}
.header-inner{
  display:flex;align-items:center;
  gap:16px;padding:10px 24px;
  max-width:1200px;margin:0 auto;
  position:relative;
}
.brand{display:flex;align-items:center;gap:12px;flex-shrink:0;}
.brand img{
  width:80px;height:80px;border-radius:50%;
  border:3px solid var(--red-dark);
  box-shadow:0 0 0 3px var(--gold-dark), 0 4px 12px rgba(0,0,0,.5);
  object-fit:cover;
}
.page-title{
  flex:1;text-align:center;
  font-size:2.8rem;font-weight:900;
  color:var(--ink);
  text-shadow:2px 2px 0 rgba(255,255,255,.3);
  font-family:'Georgia',serif;
  letter-spacing:.5px;
}

/* ── WAX SEAL NAV – uses the real wax seal photo (image13.png) ── */
nav{display:flex;gap:10px;align-items:center;flex-shrink:0;}

.seal{
  position:relative;
  width:82px;height:82px;border-radius:50%;
  /* The actual wax seal photo as background; transparent corners are fine on gold header */
  background:url('assets/image13.png') center/cover no-repeat;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  cursor:pointer;
  font-family:'Georgia',serif;font-weight:900;color:#fff;font-size:.82rem;
  text-align:center;line-height:1.15;
  text-shadow:0 1px 3px rgba(0,0,0,.9),0 0 8px rgba(0,0,0,.7);
  text-decoration:none;
  border:none;outline:none;
  transition:transform .15s,filter .15s;
  /* Slight drop shadow so seal reads on gold header */
  filter:drop-shadow(0 3px 6px rgba(0,0,0,.5));
}
.seal:hover{transform:scale(1.08);filter:drop-shadow(0 4px 10px rgba(0,0,0,.7));}
.seal.active{
  filter:drop-shadow(0 3px 6px rgba(0,0,0,.5)) drop-shadow(0 0 8px var(--gold));
}

/* Dropdown wrapper */
.seal-wrap{position:relative;}
.seal-wrap:hover .dropdown,
.seal-wrap:focus-within .dropdown{display:block;}
.dropdown{
  display:none;position:absolute;top:90px;right:0;
  background:var(--red-dark);
  border:2px solid var(--gold-dark);
  border-radius:6px;min-width:170px;
  box-shadow:0 8px 24px rgba(0,0,0,.5);
  z-index:300;padding:6px 0;
}
.dropdown a{
  display:block;padding:10px 18px;
  color:var(--parchment);font-family:'Georgia',serif;font-weight:700;font-size:.95rem;
  border-bottom:1px solid rgba(201,168,76,.2);transition:.15s;
}
.dropdown a:last-child{border-bottom:none;}
.dropdown a:hover{background:rgba(201,168,76,.2);color:var(--gold-light);}

/* Mobile */
.nav-toggle{
  display:none;background:none;border:none;cursor:pointer;
  color:var(--red-dark);font-size:2rem;padding:0 8px;
}
@media(max-width:700px){
  .page-title{font-size:1.7rem;}
  nav{display:none;flex-direction:column;width:100%;gap:6px;padding-bottom:10px;}
  nav.open{display:flex;}
  .nav-toggle{display:block;}
  .header-inner{flex-wrap:wrap;}
  .seal{width:66px;height:66px;font-size:.72rem;}
  .dropdown{top:72px;}
  .brand img{width:60px;height:60px;}
}

/* ── HERO TITLE ── */
.hero-title{
  text-align:center;padding:40px 24px 24px;
  color:var(--gold-light);
}
.hero-title h1{font-size:3.2rem;font-weight:900;text-shadow:2px 3px 6px rgba(0,0,0,.7);margin-bottom:6px;}
.hero-title p{font-size:1.15rem;color:rgba(245,233,200,.85);text-shadow:1px 1px 4px rgba(0,0,0,.6);}

/* ── PORTRAIT GOLD FRAMES (image3.png, 1024×1536, transparent opening) ──
   Measured opening: top 16.3%, left 19.5%, right 19.3%, bottom 16.5%       */
.frame{
  position:relative;
  aspect-ratio:2/3;          /* matches 1024:1536 frame image */
  background:transparent;    /* let page red show through transparent corners */
  overflow:visible;
}
.frame > img{
  /* Fill exactly the transparent opening of the portrait frame */
  position:absolute;
  top:16.3%;
  left:19.5%;
  width:61.2%;   /* 100% - 19.5% - 19.3% */
  height:67.2%;  /* 100% - 16.3% - 16.5% */
  object-fit:cover;
  border-radius:2px;
}
.frame::after{
  content:'';
  position:absolute;
  inset:0;
  background:url('assets/image3.png') center/100% 100% no-repeat;
  pointer-events:none;
  z-index:2;
}

/* ── HERO GALLERY – 3-col layout matching PowerPoint slide 1 ── */
.hero-gallery{
  display:flex;
  gap:22px;
  max-width:1200px;margin:0 auto 40px;
  padding:0 28px;
  align-items:center;
}
/* Left and right side columns: 3 overlapping portrait frames */
.gallery-side{
  display:flex;flex-direction:column;gap:0;
  flex:0.72 1 0;
}
.gallery-side .frame{ position:relative; }
.gallery-side .frame:first-child{ z-index:3; }
.gallery-side .frame:nth-child(2){ margin-top:-22%; z-index:2; }
.gallery-side .frame:nth-child(3){ margin-top:-22%; z-index:1; }
/* Center column: 1 large landscape frame */
.gallery-center{
  flex:2.8 1 0;
  display:flex;align-items:center;
}
/* Large center landscape frame – two photos inside the opening */
.frame-large{
  position:relative;
  aspect-ratio:3/2;
  width:100%;
  background:transparent;
}
.frame-large .photo-a{
  position:absolute;
  top:18.8%; left:19.9%;
  width:30%;   /* left half of opening (59.9%/2 ≈ 30%) */
  height:56.2%;
  object-fit:cover;border-radius:1px;
}
.frame-large .photo-b{
  position:absolute;
  top:18.8%; left:49.9%; /* 19.9% + 30% */
  width:29.9%;            /* fills to 79.8% ≈ right edge of opening */
  height:56.2%;
  object-fit:cover;border-radius:1px;
}
.frame-large::after{
  content:'';position:absolute;inset:0;
  background:url('assets/image10.png') center/100% 100% no-repeat;
  pointer-events:none;z-index:2;
}

/* ── LANDSCAPE GOLD FRAMES for gallery page (image10.png, 1536×1024) ──
   Measured opening: top 18.8%, left 19.9%, right 20.2%, bottom 25.0%      */
.gallery-frame{
  position:relative;
  aspect-ratio:3/2;
  background:transparent;
  overflow:visible;
}
.gallery-frame > img{
  position:absolute;
  top:18.8%;
  left:19.9%;
  width:59.9%;   /* 100% - 19.9% - 20.2% */
  height:56.2%;  /* 100% - 18.8% - 25.0% */
  object-fit:cover;
  border-radius:2px;
}
.gallery-frame::after{
  content:'';
  position:absolute;
  inset:0;
  background:url('assets/image10.png') center/100% 100% no-repeat;
  pointer-events:none;
  z-index:2;
}
.gallery-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:32px;
  max-width:1100px;margin:0 auto 48px;padding:0 32px;
}

/* ── SCROLL LAYOUT – 3-part structure so it grows with content ──
   scroll-top.png (637×114), scroll-mid.png (637×40 repeat), scroll-bot.png (637×127)
   Reddish border pixels: left 15.2%–23.2%, right 76.9%–85.1%
   → safe text zone starts at 24% from each edge                            */
.scroll-outer{
  max-width:1300px;
  margin:28px auto 44px;
  padding:0;
}
.scroll-top{
  padding-top:calc(114 / 637 * 100%);
  background:url('assets/scroll-top.png') center / 100% 100% no-repeat;
}
.scroll-body{
  background:url('assets/scroll-mid.png') left top / 100% auto repeat-y;
  padding:10px 25% 10px 25%;
  font-size:1.05rem;
  line-height:1.85;
  color:var(--ink);
  font-family:'Georgia',serif;
}
.scroll-body p{margin-bottom:14px;}
.scroll-body p:last-child{margin-bottom:0;}
.scroll-body strong,.scroll-body b{font-weight:700;}
.scroll-body a{color:var(--red-dark);text-decoration:underline;font-weight:700;}
.scroll-bot{
  padding-top:calc(127 / 637 * 100%);
  background:url('assets/scroll-bot.png') center / 100% 100% no-repeat;
}

/* ── PARENTS GRID – landscape frames ── */
.parents-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(360px,1fr));
  gap:32px;
  max-width:1100px;margin:0 auto 48px;padding:0 24px;
}
.parent-card{
  background:linear-gradient(180deg,rgba(245,233,200,.97),rgba(232,210,165,.97));
  border-radius:10px;
  border:3px solid var(--gold-dark);
  box-shadow:0 6px 24px rgba(0,0,0,.45);
  overflow:hidden;display:flex;flex-direction:column;
}
/* Landscape gold frame overlay on parent card photos */
.parent-card .card-img{
  position:relative;
  aspect-ratio:3/2;
  background:transparent;
  flex-shrink:0;
}
.parent-card .card-img > img{
  position:absolute;
  top:18.8%;
  left:19.9%;
  width:59.9%;
  height:56.2%;
  object-fit:cover;
  border-radius:2px;
}
.parent-card .card-img::after{
  content:'';
  position:absolute;
  inset:0;
  background:url('assets/image10.png') center/100% 100% no-repeat;
  pointer-events:none;
  z-index:2;
}
.no-photo{
  aspect-ratio:3/2;
  background:linear-gradient(135deg,var(--red-dark),var(--red));
  display:flex;align-items:center;justify-content:center;
  color:rgba(245,233,200,.4);font-size:4rem;
}
.parent-card .card-body{padding:18px 22px;}
.parent-card h2{
  font-size:1.25rem;font-weight:900;color:var(--red-dark);
  border-bottom:2px solid var(--gold-dark);
  padding-bottom:8px;margin-bottom:12px;
}
.parent-card p{font-size:.93rem;line-height:1.65;color:var(--ink);}

/* ── REHOMING / AVAILABLE BIRDS ── */
.birds-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:22px;max-width:1000px;margin:0 auto 48px;padding:0 24px;
}
.bird-card{
  background:rgba(245,233,200,.96);border:3px solid var(--gold-dark);
  border-radius:10px;overflow:hidden;
  box-shadow:0 4px 18px rgba(0,0,0,.4);display:flex;flex-direction:column;
}
.bird-card .bird-img{aspect-ratio:1/1;overflow:hidden;}
.bird-card .bird-img img{width:100%;height:100%;object-fit:cover;}
.bird-card .bird-body{padding:14px 16px;flex:1;display:flex;flex-direction:column;gap:6px;}
.bird-card h3{font-size:1rem;font-weight:700;color:var(--red-dark);}
.bird-card p{font-size:.88rem;line-height:1.5;color:var(--ink-light);flex:1;}
.badge-sold{
  display:inline-block;background:var(--red-dark);color:#fff;
  font-size:.75rem;font-weight:700;padding:2px 10px;border-radius:20px;
  text-transform:uppercase;letter-spacing:.5px;align-self:flex-start;
}

/* ── SUPPLIES ── */
.page-intro{
  max-width:820px;margin:0 auto 28px;padding:0 24px;
  text-align:center;
  font-family:'Georgia',serif;font-size:1.25rem;line-height:1.75;
  color:var(--gold-light);
  text-shadow:1px 1px 4px rgba(0,0,0,.6);
}
.page-intro a{
  color:var(--gold-light);font-weight:700;
  text-decoration:underline;text-underline-offset:3px;
}
.page-intro a:hover{ color:#fff; }
.supplies-list{max-width:820px;margin:0 auto 48px;padding:0 24px;display:flex;flex-direction:column;gap:22px;}
.supply-card{
  background:rgba(245,233,200,.96);border:3px solid var(--gold-dark);
  border-radius:10px;padding:22px 26px;box-shadow:0 4px 18px rgba(0,0,0,.4);
}
.supply-card h2{
  font-size:1.6rem;font-weight:900;
  color:var(--red-dark);
  text-shadow:1px 1px 0 rgba(0,0,0,.1);
  border-bottom:3px solid var(--gold-dark);
  padding-bottom:10px;margin-bottom:10px;
}
.supply-card .price{
  font-size:1.15rem;font-weight:700;
  color:var(--gold-dark);margin:8px 0 12px;
}
.supply-card p{font-size:.95rem;line-height:1.68;color:var(--ink);}

/* ── SIMPLE INFO CARDS (resources, services) ── */
.simple-box{max-width:720px;margin:0 auto 48px;padding:0 24px;}
.info-card{
  background:rgba(245,233,200,.96);border:3px solid var(--gold-dark);
  border-radius:10px;padding:24px 28px;
  box-shadow:0 4px 18px rgba(0,0,0,.4);margin-bottom:20px;
}
.info-card h2{font-size:1.25rem;font-weight:900;color:var(--red-dark);margin-bottom:10px;}
.info-card p,.info-card a{font-size:.98rem;line-height:1.7;color:var(--ink);}
.info-card a{color:var(--red-dark);text-decoration:underline;word-break:break-all;}

/* ── CONTACT ── */
.contact-box{max-width:620px;margin:0 auto 48px;padding:0 24px;}
.contact-item{
  display:flex;gap:14px;align-items:flex-start;
  background:rgba(245,233,200,.94);border:2px solid var(--gold-dark);
  border-radius:8px;padding:16px 20px;margin-bottom:14px;
  box-shadow:0 3px 12px rgba(0,0,0,.3);
}
.contact-item .ic{
  width:40px;height:40px;border-radius:50%;
  background:var(--red-dark);color:#fff;
  display:flex;align-items:center;justify-content:center;
  font-size:1.1rem;flex-shrink:0;
}
.contact-item strong{display:block;font-size:.82rem;text-transform:uppercase;letter-spacing:.5px;color:var(--gold-dark);}
.contact-item .val{font-size:.98rem;color:var(--ink);}
.contact-item a{color:var(--red-dark);text-decoration:underline;}
.social-row{display:flex;gap:14px;justify-content:center;margin-top:24px;flex-wrap:wrap;}
.social-btn{
  background:var(--red-dark);color:var(--parchment);
  font-family:'Georgia',serif;font-weight:700;
  padding:10px 22px;border-radius:24px;font-size:.95rem;
  box-shadow:0 3px 10px rgba(0,0,0,.35);border:2px solid var(--gold-dark);transition:.15s;
}
.social-btn:hover{background:var(--gold-dark);color:#fff;}

/* ── FOOTER ── */
footer{
  background:var(--red-dark);border-top:3px solid var(--gold-dark);
  text-align:center;padding:22px 24px;color:rgba(245,233,200,.8);font-size:.88rem;
}
footer a{color:var(--gold-light);}
footer .footer-logo{display:flex;align-items:center;justify-content:center;gap:10px;margin-bottom:8px;}
footer .footer-logo img{width:36px;height:36px;border-radius:50%;border:2px solid var(--gold);}
footer strong{color:var(--gold-light);}
