/* ============================================================
   RESPONSIVE — Beaconsfield Church & Cemetery Committee
   ============================================================ */

/* ---- Large Desktop (1400px+) ---- */
@media (min-width: 1400px) {
    :root { --container-max: 1320px; }
}

/* ---- Desktop & Below (max-width: 1200px) ---- */
@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1.5fr;
        gap: var(--space-2xl);
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }

    .gallery-item.large { grid-row: span 1; }
    .gallery-item.large img { min-height: 220px; }

    .about-strip-inner {
        gap: var(--space-2xl);
    }
}

/* ---- Tablet (max-width: 992px) ---- */
@media (max-width: 992px) {
    :root { --header-height: 80px; }

    /* Header */
    .header-nav { display: none; }
    .hamburger  { display: flex; }

    .header-org-name { font-size: 0.9rem; max-width: 200px; }

    /* Grids */
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }

    /* Home */
    .about-strip-inner {
        grid-template-columns: 1fr;
    }

    .about-strip-img { height: 320px; }

    .stats-row { grid-template-columns: repeat(3, 1fr); }

    .war-memorial-inner {
        grid-template-columns: 1fr;
    }

    .war-memorial-img { height: 280px; }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-xl);
    }

    /* Cemetery */
    .cemetery-intro {
        grid-template-columns: 1fr;
    }

    /* Contact */
    .contact-layout {
        grid-template-columns: 1fr;
    }

    /* Values */
    .values-grid { grid-template-columns: 1fr; }

    /* Event full card */
    .event-full-card {
        grid-template-columns: 1fr;
    }

    .event-full-date {
        padding: var(--space-md) var(--space-xl);
        flex-direction: row;
        justify-content: flex-start;
        gap: var(--space-md);
    }
}

/* ---- Mobile (max-width: 768px) ---- */
@media (max-width: 768px) {
    :root {
        --header-height: 70px;
        --space-4xl: 3.5rem;
        --space-3xl: 2.5rem;
    }

    /* Container padding */
    .container { padding: 0 var(--space-lg); }

    /* Typography scale */
    h1 { font-size: 1.9rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.2rem; }

    /* Header brand */
    .header-logo { width: 40px; height: 40px; }
    .header-org-tagline { display: none; }
    .header-org-name { font-size: 0.8rem; max-width: 160px; }

    /* Grids */
    .grid-2 { grid-template-columns: 1fr; }
    .grid-3 { grid-template-columns: 1fr; }
    .grid-4 { grid-template-columns: 1fr; }

    /* Hero */
    .hero { min-height: 90vh; }
    .hero h1 { font-size: 1.9rem; }
    .hero-description { font-size: 1rem; }
    .hero-actions { flex-direction: column; align-items: flex-start; }

    /* Highlights */
    .about-strip-img { height: 260px; }
    .about-strip-badge { bottom: var(--space-md); left: var(--space-md); }

    /* Stats */
    .stats-row { grid-template-columns: repeat(3, 1fr); gap: var(--space-sm); }
    .stat-number { font-size: 1.4rem; }

    /* Gallery */
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .gallery-item.large { grid-row: span 1; }
    .gallery-item img, .gallery-item.large img { min-height: 220px; height: 220px; }

    /* Events */
    .event-card {
        flex-direction: column;
        gap: var(--space-md);
    }

    .event-date {
        flex-direction: row;
        gap: var(--space-md);
        align-items: center;
        padding: var(--space-sm) var(--space-md);
        border-radius: var(--radius-sm);
        width: fit-content;
    }

    .event-date-month { margin-right: 0; }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: var(--space-sm);
    }

    .footer-bottom-links { justify-content: center; }

    /* Flower banner */
    .flower-banner { height: 200px; }

    /* Page hero */
    .page-hero { padding: calc(var(--header-height) + 2rem) 0 2rem; }

    /* Buttons */
    .btn { padding: 0.65rem 1.4rem; font-size: 0.88rem; }

    /* CTA Banner */
    .cta-banner-actions {
        flex-direction: column;
        align-items: center;
    }

    /* Contact form */
    .contact-form-box { padding: var(--space-lg); }
    .contact-info-box { padding: var(--space-lg); }
}

/* ---- Small Mobile (max-width: 480px) ---- */
@media (max-width: 480px) {
    .header-logo { width: 36px; height: 36px; }
    .header-org-name { max-width: 140px; font-size: 0.75rem; }

    .hero h1 { font-size: 1.6rem; }

    .hero-badge { font-size: 0.7rem; padding: 0.3rem 0.8rem; }

    .section-header h2 { font-size: 1.4rem; }

    .stats-row { grid-template-columns: 1fr; }

    .about-strip-badge-year { font-size: 1.5rem; }

    .event-full-date { min-width: unset; padding: var(--space-md); }

    .war-memorial-img { height: 220px; }
}

/* ---- Print Styles ---- */
@media print {
    .site-header,
    .hamburger,
    .mobile-nav,
    .hero-scroll,
    .cta-banner { display: none !important; }

    .main-content { padding-top: 0 !important; }

    body { color: #000; background: #fff; }

    a { color: #000; }
}
