/* === AnimalProtection — Immersive NGO Campaign === */
:root {
    --ap-green: #1a5c2a;
    --ap-green-light: #28a745;
    --ap-green-dim: rgba(26,92,42,.10);
    --ap-sand: #f5efe6;
    --ap-earth: #3d2c1e;
    --ap-text: #3a3226;
    --ap-text-light: #7a6e5e;
    --ap-white: #ffffff;
    --ap-border: #e2d8ca;
}
html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: 'DM Sans',-apple-system,sans-serif; color: var(--ap-text); background: var(--ap-white); line-height: 1.85; margin: 0; }
h1,h2,h3,h4 { font-weight: 700; color: var(--ap-earth); }
a { color: var(--ap-green); text-decoration: none; }
a:hover { color: var(--ap-green-light); }
.btn:focus,.form-control:focus,.form-select:focus { box-shadow: 0 0 0 .2rem var(--ap-green-dim); border-color: var(--ap-green); }

/* === TRANSPARENT OVERLAY NAVBAR === */
.ap-navbar { position: absolute; top: 0; left: 0; right: 0; z-index: 100; padding: 1.2rem 0; background: transparent; }
.ap-navbar .container { display: flex; align-items: center; justify-content: space-between; }
.ap-navbar-brand { color: var(--ap-white); font-weight: 700; font-size: 1.1rem; text-shadow: 0 1px 4px rgba(0,0,0,.3); display: flex; align-items: center; gap: .65rem; }
.ap-brand-mark { width: 36px; height: 36px; flex-shrink: 0; filter: drop-shadow(0 1px 3px rgba(0,0,0,.2)); }
.ap-brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.ap-brand-main { font-size: .82rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.ap-brand-sub { font-size: .6rem; font-weight: 500; letter-spacing: .25em; text-transform: uppercase; opacity: .7; }
.ap-navbar-links { display: flex; gap: .3rem; list-style: none; margin: 0; padding: 0; }
.ap-navbar-links a { color: rgba(255,255,255,.85); font-size: .82rem; font-weight: 500; padding: .4rem .9rem; border-radius: 6px; transition: all .2s; }
.ap-navbar-links a:hover { background: rgba(255,255,255,.15); color: var(--ap-white); }
.ap-navbar-sub .ap-navbar { position: relative; background: var(--ap-earth); }
.ap-navbar-sub .ap-navbar-brand { text-shadow: none; }
.ap-navbar-sub .ap-brand-mark { filter: none; }

/* === BUTTONS === */
.btn-ap { background: var(--ap-green); color: var(--ap-white); border: none; font-weight: 600; padding: .85rem 2.5rem; border-radius: 8px; font-size: .9rem; transition: all .3s; }
.btn-ap:hover { background: var(--ap-green-light); color: var(--ap-white); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(26,92,42,.25); }
.btn-ap-white { background: var(--ap-white); color: var(--ap-green); font-weight: 600; padding: .85rem 2.5rem; border-radius: 8px; font-size: .9rem; border: none; }
.btn-ap-white:hover { background: var(--ap-sand); color: var(--ap-green); }

/* === FULL-VIEWPORT HERO (100vh) === */
.ap-hero-full { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; }
.ap-hero-full img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ap-hero-full .ap-hero-dim { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,.2) 0%, rgba(0,0,0,.5) 100%); }
.ap-hero-full .ap-hero-inner { position: relative; z-index: 1; max-width: 650px; padding: 2rem; }
.ap-hero-full h1 { color: var(--ap-white); font-size: 2.8rem; line-height: 1.2; margin-bottom: 1.2rem; text-shadow: 0 2px 8px rgba(0,0,0,.3); }
@media (min-width: 768px) { .ap-hero-full h1 { font-size: 3.5rem; } }
.ap-hero-full p { color: rgba(255,255,255,.85); font-size: 1.05rem; margin-bottom: 2rem; }

/* === BOLD STATEMENT (no cards) === */
.ap-statement { background: var(--ap-earth); color: var(--ap-white); padding: 5rem 2rem; text-align: center; }
.ap-statement h2 { color: var(--ap-white); font-size: 1.8rem; max-width: 700px; margin: 0 auto 1.2rem; line-height: 1.4; }
.ap-statement p { color: rgba(255,255,255,.65); max-width: 550px; margin: 0 auto; }

/* === PHOTO MOSAIC (irregular grid) === */
.ap-mosaic { display: grid; grid-template-columns: 1fr 1fr 1fr; grid-template-rows: 280px 280px; gap: 4px; }
.ap-mosaic-item { overflow: hidden; position: relative; }
.ap-mosaic-item:first-child { grid-row: 1 / 3; }
.ap-mosaic-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.ap-mosaic-item:hover img { transform: scale(1.05); }
.ap-mosaic-caption { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(to top, rgba(0,0,0,.7), transparent); padding: 1.5rem 1rem .8rem; color: var(--ap-white); }
.ap-mosaic-caption h4 { font-size: .9rem; color: var(--ap-white); margin: 0; }
.ap-mosaic-caption p { font-size: .75rem; color: rgba(255,255,255,.7); margin: .2rem 0 0; }
@media (max-width: 767px) { .ap-mosaic { grid-template-columns: 1fr; grid-template-rows: auto; } .ap-mosaic-item:first-child { grid-row: auto; } .ap-mosaic-item { height: 250px; } }

/* === GIANT IMPACT NUMBER === */
.ap-impact { background: var(--ap-green); padding: 5rem 2rem; text-align: center; }
.ap-impact-num { font-size: 6rem; font-weight: 800; color: var(--ap-white); line-height: 1; }
@media (min-width: 768px) { .ap-impact-num { font-size: 8rem; } }
.ap-impact-label { font-size: 1.2rem; color: rgba(255,255,255,.85); margin-top: .5rem; }

/* === FULL-BLEED CTA (photo bg) === */
.ap-cta-photo { position: relative; min-height: 400px; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; }
.ap-cta-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ap-cta-photo .ap-cta-dim { position: absolute; inset: 0; background: rgba(26,92,42,.8); }
.ap-cta-photo .ap-cta-inner { position: relative; z-index: 1; padding: 2rem; }
.ap-cta-photo h2 { color: var(--ap-white); font-size: 1.8rem; margin-bottom: .8rem; }
.ap-cta-photo p { color: rgba(255,255,255,.8); margin-bottom: 1.5rem; }

/* === SUBPAGES (with solid navbar bg) === */
.ap-page-hero { background: var(--ap-earth); padding: 5rem 0 3rem; text-align: center; }
.ap-page-hero h1 { color: var(--ap-white); font-size: 2rem; margin-bottom: .3rem; }
.ap-page-hero p { color: rgba(255,255,255,.6); font-size: .82rem; letter-spacing: .15em; text-transform: uppercase; }
.ap-content { max-width: 800px; margin: 0 auto; padding: 3rem 1.5rem; }

/* === MISSION (floating text box over photo) === */
.ap-mission-photo { position: relative; min-height: 350px; overflow: hidden; }
.ap-mission-photo img { width: 100%; height: 350px; object-fit: cover; display: block; }
.ap-mission-box { background: var(--ap-white); max-width: 600px; margin: -4rem auto 0; position: relative; z-index: 1; padding: 2.5rem; border-radius: 12px; box-shadow: 0 10px 40px rgba(0,0,0,.08); }
.ap-mission-box h2 { font-size: 1.3rem; margin-bottom: 1rem; }
.ap-mission-box p { color: var(--ap-text-light); }

/* === PROJECTS (stacked horizontal rows) === */
.ap-project-row { display: grid; grid-template-columns: 200px 1fr; gap: 1.5rem; align-items: start; padding: 1.5rem 0; border-bottom: 1px solid var(--ap-border); }
.ap-project-row:last-child { border-bottom: none; }
.ap-project-row img { width: 200px; height: 140px; object-fit: cover; border-radius: 10px; }
.ap-project-row h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.ap-project-row p { color: var(--ap-text-light); font-size: .9rem; margin: 0; }
@media (max-width: 575px) { .ap-project-row { grid-template-columns: 1fr; } .ap-project-row img { width: 100%; height: 180px; } }

/* === CONTACT (full-width bg form) === */
.ap-contact-full { background: var(--ap-sand); padding: 4rem 1.5rem; }
.ap-contact-full .ap-contact-inner { max-width: 550px; margin: 0 auto; }
.ap-contact-full .form-label { font-weight: 600; font-size: .85rem; color: var(--ap-earth); }
.ap-contact-full .form-control,.ap-contact-full .form-select { border-color: var(--ap-border); border-radius: 8px; padding: .75rem 1rem; background: var(--ap-white); }

/* === PRIVACY === */
.ap-prose h3 { font-size: 1.05rem; margin-top: 2rem; margin-bottom: .6rem; }
.ap-prose p { line-height: 2; }
.ap-prose ul { padding-left: 1.2rem; }
.ap-prose ul li { margin-bottom: .3rem; line-height: 2; }

/* === MINIMAL FOOTER (single line) === */
.ap-footer-min { background: var(--ap-earth); color: rgba(255,255,255,.4); padding: 1.2rem 0; text-align: center; font-size: .75rem; }
.ap-footer-min a { color: rgba(255,255,255,.5); margin: 0 .8rem; }
.ap-footer-min a:hover { color: var(--ap-green-light); }

/* === ARTICLE LEAD === */
.ap-article-lead { max-width: 800px; margin: 0 auto; padding: 3rem 1.5rem 1.5rem; text-align: center; }
.ap-article-lead p { color: var(--ap-text-light); font-size: 1.05rem; line-height: 1.9; }

/* === ARTICLE SECTION (alternating bg) === */
.ap-article-section { max-width: 800px; margin: 0 auto; padding: 2rem 1.5rem; }
.ap-article-section h2 { font-size: 1.4rem; color: var(--ap-green); margin-bottom: 1rem; padding-bottom: .5rem; border-bottom: 2px solid var(--ap-green-dim); }
.ap-article-section h3 { font-size: 1.1rem; margin-top: 1.8rem; margin-bottom: .6rem; }
.ap-article-section p { color: var(--ap-text); line-height: 2; }
.ap-article-section ul { padding-left: 1.2rem; }
.ap-article-section ul li { margin-bottom: .4rem; line-height: 1.9; color: var(--ap-text); }

/* === ARTICLE PHOTO BREAK === */
.ap-article-photo { position: relative; max-width: 800px; margin: 1.5rem auto; overflow: hidden; border-radius: 12px; }
.ap-article-photo img { width: 100%; height: 300px; object-fit: cover; display: block; }
@media (min-width: 768px) { .ap-article-photo img { height: 380px; } }

/* === ARTICLE STAT HIGHLIGHT === */
.ap-article-stat { background: var(--ap-green); padding: 3.5rem 2rem; text-align: center; margin: 2rem 0; }
.ap-article-stat-num { font-size: 4rem; font-weight: 800; color: var(--ap-white); line-height: 1; }
@media (min-width: 768px) { .ap-article-stat-num { font-size: 5.5rem; } }
.ap-article-stat-label { font-size: 1rem; color: rgba(255,255,255,.85); margin-top: .5rem; max-width: 500px; margin-left: auto; margin-right: auto; }

/* === ARTICLE CALLOUT BOX === */
.ap-callout { background: var(--ap-green-dim); border-left: 4px solid var(--ap-green); border-radius: 0 8px 8px 0; padding: 1.2rem 1.5rem; margin: 1.5rem 0; }
.ap-callout p { margin: 0; font-size: .92rem; color: var(--ap-text); }

/* === ARTICLE EARTH-BG SECTION === */
.ap-article-earth { background: var(--ap-earth); padding: 4rem 1.5rem; }
.ap-article-earth-inner { max-width: 800px; margin: 0 auto; }
.ap-article-earth h2 { color: var(--ap-white); font-size: 1.4rem; margin-bottom: 1rem; padding-bottom: .5rem; border-bottom: 2px solid rgba(255,255,255,.15); }
.ap-article-earth h3 { color: var(--ap-white); font-size: 1.1rem; margin-top: 1.8rem; margin-bottom: .6rem; }
.ap-article-earth p { color: rgba(255,255,255,.75); line-height: 2; }
.ap-article-earth .ap-callout { background: rgba(255,255,255,.08); border-left-color: var(--ap-green-light); }
.ap-article-earth .ap-callout p { color: rgba(255,255,255,.85); }
