/* ============================================
   Hollis Historical Society - Stylesheet
   Theme: Colonial New England Heritage
   ============================================ */

/* --- CSS Variables --- */
:root {
    --color-primary: #1B3A5C;
    --color-primary-light: #2A5080;
    --color-secondary: #F5F0E8;
    --color-accent: #8B3A3A;
    --color-accent2: #2D5A3D;
    --color-text: #2C2C2C;
    --color-text-light: #6B6B6B;
    --color-bg: #FAFAF7;
    --color-white: #ffffff;
    --color-border: #D4C9B8;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Source Sans 3', 'Segoe UI', sans-serif;
    --max-width: 1200px;
    --header-height: 72px;
    --radius: 6px;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 4px 20px rgba(0, 0, 0, 0.12);
    --transition: 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--color-accent);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    line-height: 1.3;
    font-weight: 700;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; margin-bottom: 1rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }
h4 { font-size: 1.25rem; margin-bottom: 0.5rem; }

p { margin-bottom: 1rem; }

/* --- Container --- */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --- Header --- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--color-primary);
    transition: box-shadow var(--transition), background var(--transition);
}

.site-header.scrolled {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-white);
    text-decoration: none;
}

.header-logo img {
    height: 48px;
    width: auto;
    border-radius: 4px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-name {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-white);
}

.logo-tagline {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.5px;
}

/* Navigation */
.header-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0;
    align-items: center;
}

.nav-menu a {
    color: rgba(255, 255, 255, 0.9);
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: var(--radius);
    transition: all var(--transition);
    white-space: nowrap;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.15);
}

/* Hamburger Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-white);
    transition: all var(--transition);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(27, 58, 92, 0.85), rgba(27, 58, 92, 0.7));
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 4rem 2rem;
    max-width: 800px;
}

.hero h1 {
    color: var(--color-white);
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.hero .btn {
    font-size: 1.1rem;
    padding: 0.85rem 2rem;
}

/* --- Page Header --- */
.page-header {
    position: relative;
    background: var(--color-primary);
    padding: 6rem 0;
    text-align: center;
    overflow: hidden;
}

.page-header-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.45;
}

.page-header-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(27, 58, 92, 0.75), rgba(27, 58, 92, 0.55));
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    color: var(--color-white);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.page-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

/* --- Sections --- */
.section {
    padding: 4rem 0;
}

.section-alt {
    background: var(--color-secondary);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 0.75rem;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--color-accent);
}

.section-header p {
    color: var(--color-text-light);
    max-width: 700px;
    margin: 1rem auto 0;
    font-size: 1.05rem;
}

/* --- Stone Divider --- */
.stone-divider {
    height: 4px;
    background: linear-gradient(90deg,
        transparent,
        var(--color-border) 15%,
        var(--color-border) 85%,
        transparent
    );
    margin: 0;
    opacity: 0.6;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 0.65rem 1.5rem;
    border: none;
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    text-align: center;
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-white);
}

.btn-primary:hover {
    background: var(--color-primary-light);
    color: var(--color-white);
}

.btn-accent {
    background: var(--color-accent);
    color: var(--color-white);
}

.btn-accent:hover {
    background: #7A3232;
    color: var(--color-white);
}

.btn-outline {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn-outline:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

.btn-white {
    background: var(--color-white);
    color: var(--color-primary);
}

.btn-white:hover {
    background: var(--color-secondary);
    color: var(--color-primary);
}

/* --- Cards --- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.card-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.card-grid-center {
    max-width: 68%;
    margin-left: auto;
    margin-right: auto;
}

.card-grid-2x2 {
    grid-template-columns: repeat(2, 1fr);
}

.card {
    background: var(--color-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-body {
    padding: 1.5rem;
}

.card-body h3 {
    color: var(--color-primary);
}

.card-body p {
    color: var(--color-text-light);
    font-size: 0.95rem;
}

/* --- Quick Info Bar --- */
.quick-info {
    background: var(--color-secondary);
    border-bottom: 3px solid var(--color-border);
}

.quick-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding: 2rem 0;
}

.quick-info-item {
    text-align: center;
    padding: 1rem;
}

.quick-info-item svg {
    width: 32px;
    height: 32px;
    fill: var(--color-accent);
    margin-bottom: 0.5rem;
}

.quick-info-item h4 {
    color: var(--color-primary);
    font-family: var(--font-heading);
    margin-bottom: 0.25rem;
}

.quick-info-item p {
    color: var(--color-text-light);
    font-size: 0.9rem;
    margin: 0;
}

/* --- Museum Cards --- */
.museum-card {
    background: var(--color-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    margin-bottom: 2rem;
}

.museum-card-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 0;
}

.museum-card-img {
    width: 100%;
    height: 100%;
    min-height: 300px;
    object-fit: cover;
}

.museum-card-text {
    padding: 2rem;
}

.museum-card-text h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.museum-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.museum-meta span {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.museum-meta svg {
    width: 16px;
    height: 16px;
    fill: var(--color-accent);
    flex-shrink: 0;
}

/* --- Event Listing --- */
.event-item {
    background: var(--color-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-left: 4px solid var(--color-accent);
}

.event-date {
    font-size: 0.85rem;
    color: var(--color-accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.35rem;
}

.event-item h3 {
    margin-bottom: 0.5rem;
}

.event-item p {
    color: var(--color-text-light);
    margin: 0;
}

/* --- Membership Tiers --- */
.tier-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.tier-card {
    background: var(--color-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 2rem;
    text-align: center;
    border-top: 4px solid var(--color-primary);
    transition: transform var(--transition);
}

.tier-card:hover {
    transform: translateY(-4px);
}

.tier-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary);
    font-family: var(--font-heading);
    margin: 0.5rem 0;
}

.tier-card h3 {
    color: var(--color-primary);
}

.tier-card p {
    color: var(--color-text-light);
    font-size: 0.9rem;
}

/* --- Video Grid (Oral Histories) --- */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
}

.video-card {
    background: var(--color-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-card-body {
    padding: 1rem 1.5rem;
}

.video-card-body h3 {
    font-size: 1.1rem;
    margin: 0;
}

/* --- Genealogy Records Table --- */
.records-section {
    margin-bottom: 2rem;
}

.records-list {
    list-style: none;
    padding: 0;
}

.records-list li {
    padding: 0.75rem 1rem;
    background: var(--color-white);
    border-left: 3px solid var(--color-accent2);
    margin-bottom: 0.5rem;
    border-radius: 0 var(--radius) var(--radius) 0;
    box-shadow: var(--shadow);
}

/* --- Book List --- */
.book-list {
    max-width: 800px;
    margin: 0 auto;
}

.book-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1.5rem;
    padding: 1rem 1.25rem;
    background: var(--color-white);
    border-left: 3px solid var(--color-accent);
    margin-bottom: 0.5rem;
    border-radius: 0 var(--radius) var(--radius) 0;
    box-shadow: var(--shadow);
}

.book-info {
    flex: 1;
}

.book-title {
    font-family: var(--font-heading);
    font-style: italic;
    font-weight: 600;
    color: var(--color-primary);
}

.book-author {
    display: block;
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-top: 0.25rem;
}

.book-price {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--color-accent);
    white-space: nowrap;
}

/* --- Directors Grid --- */
.directors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.director-card {
    background: var(--color-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.25rem;
    text-align: center;
}

.director-card h4 {
    color: var(--color-primary);
    margin-bottom: 0.25rem;
}

.director-card p {
    color: var(--color-text-light);
    font-size: 0.9rem;
    margin: 0;
}

/* --- Bylaws --- */
.bylaws-section {
    background: var(--color-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 2.5rem;
    margin-top: 2rem;
}

.bylaws-section h3 {
    color: var(--color-primary);
    border-bottom: 2px solid var(--color-secondary);
    padding-bottom: 0.5rem;
    margin-top: 2rem;
}

.bylaws-section h3:first-child {
    margin-top: 0;
}

.bylaws-section ol,
.bylaws-section ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.bylaws-section li {
    margin-bottom: 0.5rem;
}

/* --- Contact Form --- */
.contact-form-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 0.35rem;
    font-size: 0.9rem;
    color: var(--color-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.65rem 0.85rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: border-color var(--transition), box-shadow var(--transition);
    background: var(--color-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(27, 58, 92, 0.1);
}

.form-group-full {
    grid-column: 1 / -1;
}

.required {
    color: var(--color-accent);
}

.form-errors {
    grid-column: 1 / -1;
    background: #FEF2F2;
    border: 1px solid #FECACA;
    border-radius: var(--radius);
    padding: 0.75rem 1rem;
}

.form-errors .error {
    color: var(--color-accent);
    font-size: 0.9rem;
    margin: 0.25rem 0;
}

.btn-submit {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 0.75rem 2rem;
    border: none;
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--transition);
}

.btn-submit:hover {
    background: var(--color-primary-light);
}

/* Contact Success */
.contact-success {
    text-align: center;
    padding: 2rem;
}

.success-icon {
    margin-bottom: 1rem;
}

.success-icon svg {
    width: 56px;
    height: 56px;
    fill: var(--color-accent2);
}

.contact-success h3 {
    color: var(--color-accent2);
    margin-bottom: 0.5rem;
}

.success-submessage {
    color: var(--color-text-light);
    font-size: 0.9rem;
}

/* --- Contact Info --- */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.contact-info-card {
    background: var(--color-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.5rem;
    text-align: center;
}

.contact-info-card svg {
    width: 32px;
    height: 32px;
    fill: var(--color-accent);
    margin-bottom: 0.75rem;
}

.contact-info-card h4 {
    margin-bottom: 0.5rem;
}

.contact-info-card p {
    color: var(--color-text-light);
    font-size: 0.9rem;
    margin: 0;
}

.contact-info-card a {
    color: var(--color-primary);
}

/* --- Social Links --- */
.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-primary);
    color: var(--color-white);
    transition: background var(--transition);
}

.social-links a:hover {
    background: var(--color-primary-light);
}

.social-links svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* --- Support Grid --- */
.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.support-card {
    background: var(--color-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 2rem;
    text-align: center;
    transition: transform var(--transition);
}

.support-card:hover {
    transform: translateY(-4px);
}

.support-card svg {
    width: 40px;
    height: 40px;
    fill: var(--color-accent);
    margin-bottom: 0.75rem;
}

.support-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.support-card p {
    color: var(--color-text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* --- CTA Section --- */
.cta-section {
    background: var(--color-primary);
    padding: 3rem 0;
    text-align: center;
}

.cta-section h2 {
    color: var(--color-white);
}

.cta-section p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto 1.5rem;
}

/* --- Newsletter List --- */
.newsletter-list {
    columns: 2;
    column-gap: 2rem;
    list-style: none;
    padding: 0;
}

.newsletter-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--color-border);
    break-inside: avoid;
    color: var(--color-text-light);
}

/* --- Past Events --- */
.past-events-list {
    list-style: none;
    padding: 0;
}

.past-event {
    padding: 1rem 0;
    border-bottom: 1px solid var(--color-border);
}

.past-event:last-child {
    border-bottom: none;
}

.past-event .event-date {
    font-size: 0.8rem;
}

.past-event h4 {
    color: var(--color-primary);
    margin-bottom: 0.25rem;
}

.past-event p {
    color: var(--color-text-light);
    font-size: 0.9rem;
    margin: 0;
}

/* --- Info Box --- */
.info-box {
    background: var(--color-secondary);
    border-radius: var(--radius);
    padding: 1.5rem;
    border-left: 4px solid var(--color-accent2);
    margin: 1.5rem 0;
}

.info-box h4 {
    color: var(--color-accent2);
    margin-bottom: 0.5rem;
}

.info-box p {
    margin: 0;
    color: var(--color-text-light);
}

/* --- Footer --- */
.site-footer {
    background: var(--color-primary);
    color: rgba(255, 255, 255, 0.8);
    padding: 3rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
}

.footer-section h4 {
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--color-accent);
}

.footer-brand p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.footer-nav {
    list-style: none;
}

.footer-nav li {
    margin-bottom: 0.5rem;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.footer-nav a:hover {
    color: var(--color-white);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.footer-contact-item svg {
    width: 18px;
    height: 18px;
    fill: rgba(255, 255, 255, 0.6);
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-contact-item a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact-item a:hover {
    color: var(--color-white);
}

.footer-hours {
    margin-top: 1rem;
    font-size: 0.9rem;
}

.footer-social {
    margin-top: 1rem;
    display: flex;
    gap: 0.75rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    transition: background var(--transition);
}

.footer-social a:hover {
    background: rgba(255, 255, 255, 0.2);
}

.footer-social svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
    padding: 1.25rem 0;
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-bottom a:hover {
    color: var(--color-white);
}

/* --- Content Prose --- */
.prose {
    max-width: 800px;
    margin: 0 auto;
}

.prose h2 {
    margin-top: 2rem;
}

.prose h3 {
    margin-top: 1.5rem;
}

.prose blockquote {
    border-left: 4px solid var(--color-accent);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    background: var(--color-secondary);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-style: italic;
    color: var(--color-text-light);
}

/* Charter text styling */
.charter-text {
    background: var(--color-secondary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 2rem;
    font-style: italic;
    color: var(--color-text-light);
    margin: 1.5rem 0;
}

/* --- Two Column Layout --- */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

/* --- Utility Classes --- */
.text-center { text-align: center; }
.text-accent { color: var(--color-accent); }
.text-accent2 { color: var(--color-accent2); }
.mt-1 { margin-top: 1rem; }
.mt-1-5 { margin-top: 1.5rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 968px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .museum-card-content {
        grid-template-columns: 1fr;
    }

    .museum-card-img {
        min-height: 200px;
    }

    .two-col {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }

    .hero h1 { font-size: 2.2rem; }
    .hero { min-height: 400px; }

    .page-header { padding: 4rem 0; }
    .page-header h1 { font-size: 2rem; }

    .section { padding: 2.5rem 0; }

    /* Mobile Navigation */
    .menu-toggle {
        display: flex;
    }

    .header-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--color-primary);
        flex-direction: column;
        align-items: stretch;
        padding: 5rem 1.5rem 2rem;
        transition: right var(--transition);
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3);
        overflow-y: auto;
    }

    .header-nav.active {
        right: 0;
    }

    .nav-menu {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        display: block;
        padding: 0.75rem 1rem;
        border-radius: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .quick-info-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .card-grid,
    .card-grid-4,
    .card-grid-2x2 {
        grid-template-columns: 1fr;
    }

    .card-grid-center {
        max-width: 100%;
    }

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

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

    .contact-form {
        grid-template-columns: 1fr;
    }

    .contact-info-grid {
        grid-template-columns: 1fr;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .newsletter-list {
        columns: 1;
    }

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

    .book-item {
        flex-direction: column;
        gap: 0.5rem;
    }

    .book-price {
        align-self: flex-start;
    }

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

    .bylaws-section {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.8rem; }
    .hero p { font-size: 1rem; }

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

    .header-logo img {
        height: 36px;
    }

    .logo-name {
        font-size: 1.1rem;
    }
}
