/* ============================================================
   Papa's Place Colorado — shared styles
   ============================================================ */

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

:root {
    --rust: #B7472A;
    --rust-dark: #8f3520;
    --rust-light: #f5ebe7;
    --sage: #9CAF88;
    --sage-light: #eef2ea;
    --sage-dark: #6d7f5e;
    --blue: #00BFE5;
    --blue-light: #e0f8fd;
    --blue-dark: #0090ad;
    --white: #ffffff;
    --off-white: #faf9f7;
    --ink: #1a1a1a;
    --ink-muted: #555550;
    --ink-subtle: #888882;
    --border: #e8e5e0;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 1.75;
    color: var(--ink);
    background: var(--off-white);
}

/* ── NAV ── */
#navbar {
    position: fixed;
    top: 43px; left: 0; right: 0;
    z-index: 100;
    background: var(--rust);
    border-bottom: 1px solid var(--rust-dark);
    transition: transform 0.3s ease;
}
.nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-brand {
    display: flex;
    align-items: center;
    font-family: 'Playwrite GB S', cursive;
    font-size: 1.35rem;
    color: var(--rust);
    text-decoration: none;
}
.nav-brand img {
    height: 80px;
    width: auto;
}
.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}
.nav-links a {
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--white);
    transition: color 0.2s;
}
.nav-links a:hover { color: rgba(255,255,255,0.7); }

/* ── HERO ── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--white);
    padding-top: 64px;
    position: relative;
    overflow: hidden;
}
.hero::before {
    width: 50%;
    background: var(--rust-light);
}
.hero-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 6rem 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}
.hero-eyebrow {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--sage-dark);
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.hero-eyebrow::before {
    content: '';
    display: block;
    width: 28px;
    height: 2px;
    background: var(--sage);
}
.hero h1 {
    font-family: 'Playwrite GB S', cursive;
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    color: var(--ink);
    margin-bottom: 1.5rem;
}
.hero h1 span { color: var(--rust); }
.hero-sub {
    font-size: 1.1rem;
    color: var(--ink-muted);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}
.hero-logo-box {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 2rem;
    height: 500px;
}
.hero-logo-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.btn-primary {
    display: inline-block;
    background: var(--rust);
    color: var(--white);
    padding: 0.9rem 2.25rem;
    border-radius: 2px;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: var(--rust-dark); transform: translateY(-1px); }
.hero-badge {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 2rem;
    position: relative;
}
.hero-badge::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 4px;
    height: 100%;
    background: var(--rust);
    border-radius: 4px 0 0 4px;
}
.hero-badge-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--rust);
    margin-bottom: 0.75rem;
}
.hero-badge-title {
    font-family: 'Playwrite GB S', cursive;
    font-size: 1.9rem;
    color: var(--ink);
    margin-bottom: 0.5rem;
}
.hero-badge-sub {
    font-size: 0.9rem;
    color: var(--ink-muted);
    margin-bottom: 1.5rem;
}
.hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: 2px;
}
.hero-stat {
    background: var(--off-white);
    padding: 1rem;
    text-align: center;
}
.hero-stat-val {
    font-family: 'Playwrite GB S', cursive;
    font-size: 1.4rem;
    color: var(--rust);
    display: block;
}
.hero-stat-label {
    font-size: 0.72rem;
    color: var(--ink-subtle);
    letter-spacing: 0.05em;
}

.hero,
section,
header,
footer {
    position: relative;
    z-index: 1;
}

/* ── SECTIONS ── */
section { scroll-margin-top: 80px; }
.section-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--sage-dark);
    margin-bottom: 0.75rem;
}
.section-title {
    font-family: 'Playwrite GB S', cursive;
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    line-height: 1.15;
    color: var(--ink);
    margin-bottom: 1.5rem;
}
.section-title span { color: var(--rust); }
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ── ABOUT ── */
#about {
    background: var(--off-white);
    padding: 7rem 0;
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}
.about-text p {
    color: var(--ink-muted);
    margin-bottom: 1.25rem;
    font-size: 1.05rem;
}
.about-visual {
    position: relative;
}
#imageGallery {
    position: relative;
    height: 380px;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--border);
}
.gallery-image {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
}
.gallery-image:first-child { opacity: 1; }
.gallery-slide-inner {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.75rem;
}
.gallery-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.gallery-caption {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}
.gallery-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
}
.gallery-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    border: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}
.gallery-dot.active {
    background: rgba(255,255,255,0.9);
    transform: scale(1.3);
}
.about-pull {
    margin-top: 1.5rem;
    padding: 1.5rem;
    border-left: 3px solid var(--sage);
    background: var(--sage-light);
    border-radius: 0 4px 4px 0;
}
.about-pull p {
    font-family: 'Playwrite GB S', cursive;
    font-size: 1.1rem;
    color: var(--sage-dark);
    margin: 0;
}

/* ── SERVICES ── */
#services {
    background: var(--white);
    padding: 7rem 0;
}
.services-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: end;
    margin-bottom: 4rem;
}
.services-header p {
    color: var(--ink-muted);
    font-size: 1rem;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
}
.service-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    transition: background 0.2s;
}
.service-card:hover { background: var(--off-white); }
.service-icon {
    width: 44px;
    height: 44px;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}
.service-icon.rust { background: var(--rust-light); }
.service-icon.sage { background: var(--sage-light); }
.service-icon.blue { background: var(--blue-light); }
.service-icon svg { width: 22px; height: 22px; }
.service-icon.rust svg { color: var(--rust); }
.service-icon.sage svg { color: var(--sage-dark); }
.service-icon.blue svg { color: var(--blue-dark); }
.service-card h4 {
    font-family: 'Playwrite GB S', cursive;
    font-size: 1.2rem;
    color: var(--ink);
    margin-bottom: 1.25rem;
}
.service-list {
    list-style: none;
}
.service-list li {
    font-size: 0.9rem;
    color: var(--ink-muted);
    padding: 0.45rem 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
}
.service-list li:last-child { border-bottom: none; }
.service-list li::before {
    content: '—';
    color: var(--sage);
    font-size: 0.75rem;
    flex-shrink: 0;
}

/* ── EVENTS ── */
#events {
    background: var(--rust);
    padding: 7rem 0;
}
.events-inner {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 5rem;
    align-items: center;
}
.events-left .section-label { color: rgba(255,255,255,0.6); }
.events-left .section-title { color: var(--white); }
.events-left p { color: rgba(255,255,255,0.75); font-size: 1.05rem; margin-bottom: 2rem; }
.events-card {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 4px;
    padding: 2rem;
}
.events-card h5 {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
    margin-bottom: 1.25rem;
}
.events-list {
    list-style: none;
}
.events-list li {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.85);
    padding: 0.7rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.events-list li:last-child { border-bottom: none; }
.events-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--sage);
    border-radius: 50%;
    flex-shrink: 0;
}
.coming-soon-badge {
    display: inline-block;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.25);
    color: rgba(255,255,255,0.9);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.45rem 1rem;
    border-radius: 2px;
    margin-bottom: 2rem;
}

/* ── BETTER PEOPLE CARE ── */
#better-people-care {
    background: var(--off-white);
    padding: 7rem 0;
}
.bpc-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 5rem;
    align-items: start;
}
.bpc-main {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 3rem;
}
.bpc-main .section-label { margin-bottom: 1.5rem; }
.bpc-main p {
    color: var(--ink-muted);
    margin-bottom: 1.25rem;
    font-size: 1rem;
}
.bpc-link {
    display: inline-block;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--rust);
    text-decoration: none;
    border-bottom: 2px solid var(--rust-light);
    padding-bottom: 2px;
    transition: border-color 0.2s;
}
.bpc-link:hover { border-color: var(--rust); }
.bpc-pillars { display: flex; flex-direction: column; gap: 1.5rem; }
.pillar {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}
.pillar-icon {
    width: 40px;
    height: 40px;
    border-radius: 2px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pillar-icon svg { width: 18px; height: 18px; }
.pillar-body h5 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 0.35rem;
}
.pillar-body p {
    font-size: 0.88rem;
    color: var(--ink-muted);
    line-height: 1.6;
}

/* ── CONTACT ── */
#contact {
    background: var(--white);
    padding: 7rem 0;
    border-top: 1px solid var(--border);
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 6rem;
}
.contact-info { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 1rem; }
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}
.contact-item-icon {
    width: 38px;
    height: 38px;
    background: var(--rust-light);
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.contact-item-icon svg { width: 16px; height: 16px; color: var(--rust); }
.contact-item-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-subtle);
    margin-bottom: 0.2rem;
}
.contact-item-value {
    font-size: 0.95rem;
    color: var(--ink);
}
.hours-box {
    background: var(--blue-light);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 2rem;
    border-left: 3px solid var(--sage);
}
.hours-box h5 {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--blue-dark);
    margin-bottom: 0.75rem;
}
.hours-box p { color: var(--ink-muted); font-size: 0.95rem; }

/* ── FOOTER ── */
footer {
    background: var(--ink);
    color: rgba(255,255,255,0.6);
    padding: 4rem 0 2rem;
}
.footer-masthead {
    text-align: center;
    padding-bottom: 3rem;
    margin-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-eyebrow {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
    margin-bottom: 0.75rem;
}
.footer-name {
    font-family: 'Playwrite GB S', cursive;
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 0.5rem;
}
.footer-tagline {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--rust);
}
.footer-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}
.footer-col h5 {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    margin-bottom: 1rem;
}
.footer-col p, .footer-col address {
    font-style: normal;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.6);
    line-height: 2;
}
.footer-col blockquote {
    font-style: italic;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.75;
    border-left: 2px solid var(--rust);
    padding-left: 1rem;
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.07);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.25);
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.footer-bottom span { color: rgba(255,255,255,0.15); }

/* ── CONSTRUCTION ── */
#construction {
    background: var(--white);
    padding: 7rem 0;
    border-top: 1px solid var(--border);
}
.construction-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: end;
    margin-bottom: 4rem;
}
.construction-header p {
    color: var(--ink-muted);
    font-size: 1rem;
}
.construction-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
}
.construction-image {
    background: var(--off-white);
    overflow: hidden;
}
.construction-image img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.construction-image:hover img {
    transform: scale(1.03);
}
.construction-note {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--blue-light);
    border-left: 3px solid var(--sage);
    border-radius: 0 4px 4px 0;
}
.construction-note p {
    font-family: 'Playwrite GB S', cursive;
    color: var(--blue-dark);
    font-size: 1.1rem;
    margin: 0;
}

/* ── ANNOUNCEMENT BAR ── */
#announcement-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--sage);
    color: white;
    text-align: center;
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
    z-index: 200;
}
#announcement-bar a {
    color: white;
    font-weight: 700;
    margin-left: 0.5rem;
    text-decoration: underline;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero-inner, .about-grid, .services-header,
    .events-inner, .bpc-grid, .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
    .hero::before { display: none; }
    .hero::after { display: none; }
    .services-grid { grid-template-columns: 1fr; }
    .footer-cols { grid-template-columns: 1fr; gap: 2rem; }
    .services-header { margin-bottom: 2rem; }
    .construction-header { grid-template-columns: 1fr; gap: 2rem; }
    .construction-grid { grid-template-columns: 1fr; }
    .construction-image img { height: 220px; }
}
