/* BCHGH Custom Theme Styles */
@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@400;700;900&family=Open+Sans:wght@400;600;700&display=swap');

:root {
    --bch-brown: #3B2314;
    --bch-tan: #C4A36E;
    --bch-green: #2D5016;
    --bch-green-light: #4A7A2E;
    --bch-cream: #F5F0E8;
    --bch-bark: #5C3D2E;
    --bch-text: #3A3330;
    --bch-text-light: #6B5E56;
    --bch-rust: #8B4513;
}

/* Reset WP theme constraints */
.wp-site-blocks { padding: 0 !important; }
.has-global-padding { padding: 0 !important; }
.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
    max-width: 100% !important;
}
.wp-block-post-title { display: none !important; }

/* Header */
.bch-header {
    background: var(--bch-brown);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.bch-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    min-height: 75px;
}
.bch-logo {
    color: var(--bch-tan) !important;
    font-family: 'Merriweather', Georgia, serif;
    font-size: 20px;
    font-weight: 700;
    text-decoration: none !important;
    letter-spacing: 0.5px;
    line-height: 1.3;
}
.bch-logo span {
    display: block;
    font-size: 11px;
    color: #b8a88a;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.bch-nav {
    display: flex;
    gap: 0;
    align-items: center;
    list-style: none !important;
    margin: 0;
    padding: 0;
}
.bch-nav a {
    color: #d4c4a8 !important;
    text-decoration: none !important;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    padding: 24px 16px;
    transition: color 0.2s, background 0.2s;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
}
.bch-nav a:hover {
    color: #ffffff !important;
    background: rgba(255,255,255,0.08);
}
.bch-nav .bch-members-btn {
    background: var(--bch-green);
    color: #fff !important;
    border-radius: 6px;
    padding: 10px 20px !important;
    margin-left: 8px;
    font-size: 13px;
}
.bch-nav .bch-members-btn:hover {
    background: var(--bch-green-light);
}

/* Hero */
.bch-hero {
    position: relative;
    min-height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}
.bch-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(59,35,20,0.7) 0%, rgba(59,35,20,0.5) 50%, rgba(59,35,20,0.8) 100%);
    z-index: 1;
}
.bch-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 40px 24px;
}
.bch-hero h1 {
    font-family: 'Merriweather', Georgia, serif;
    color: #fff;
    font-size: 52px;
    font-weight: 900;
    margin-bottom: 16px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.4);
    line-height: 1.2;
}
.bch-hero p {
    color: #e8ddd0;
    font-family: 'Open Sans', sans-serif;
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 32px;
}
.bch-hero-btn {
    display: inline-block;
    background: var(--bch-tan);
    color: var(--bch-brown) !important;
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 16px;
    padding: 16px 40px;
    border-radius: 6px;
    text-decoration: none !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background 0.2s, transform 0.2s;
}
.bch-hero-btn:hover {
    background: #d4b87a;
    transform: translateY(-2px);
}

/* Page content */
.bch-page {
    max-width: 960px;
    margin: 0 auto;
    padding: 60px 24px;
    font-family: 'Open Sans', sans-serif;
    color: var(--bch-text);
    line-height: 1.8;
}
.bch-page h1 {
    font-family: 'Merriweather', Georgia, serif;
    color: var(--bch-brown);
    font-size: 38px;
    font-weight: 900;
    margin-bottom: 12px;
    padding-bottom: 16px;
    border-bottom: 3px solid var(--bch-tan);
}
.bch-page h2 {
    font-family: 'Merriweather', Georgia, serif;
    color: var(--bch-brown);
    font-size: 28px;
    font-weight: 700;
    margin-top: 48px;
    margin-bottom: 16px;
}
.bch-page h3 {
    font-family: 'Merriweather', Georgia, serif;
    color: var(--bch-bark);
    font-size: 22px;
    font-weight: 700;
    margin-top: 32px;
    margin-bottom: 12px;
}
.bch-page p, .bch-page li {
    font-size: 17px;
    color: var(--bch-text);
}

/* Rustic divider */
.bch-divider {
    text-align: center;
    margin: 48px 0;
    font-size: 24px;
    color: var(--bch-tan);
    letter-spacing: 12px;
}

/* Feature cards on home page */
.bch-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}
.bch-feature-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid #e8e0d4;
}
.bch-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}
.bch-feature-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.bch-feature-card-body {
    padding: 24px;
}
.bch-feature-card h3 {
    font-family: 'Merriweather', Georgia, serif;
    color: var(--bch-brown);
    font-size: 20px;
    margin: 0 0 8px 0;
    font-weight: 700;
}
.bch-feature-card p {
    color: var(--bch-text-light);
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}
.bch-feature-card a {
    display: inline-block;
    margin-top: 12px;
    color: var(--bch-green) !important;
    font-weight: 600;
    text-decoration: none !important;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.bch-feature-card a:hover {
    color: var(--bch-green-light) !important;
}

/* Info banner */
.bch-info-banner {
    background: var(--bch-cream);
    border-left: 4px solid var(--bch-tan);
    padding: 32px 40px;
    margin: 48px 0;
    border-radius: 0 8px 8px 0;
}
.bch-info-banner h3 {
    font-family: 'Merriweather', Georgia, serif;
    color: var(--bch-brown);
    margin: 0 0 8px 0;
    font-size: 20px;
}
.bch-info-banner p {
    margin: 0;
    color: var(--bch-text);
    font-size: 16px;
}

/* CTA section */
.bch-cta {
    background: var(--bch-brown);
    padding: 80px 24px;
    text-align: center;
}
.bch-cta h2 {
    font-family: 'Merriweather', Georgia, serif;
    color: #fff;
    font-size: 36px;
    margin-bottom: 16px;
}
.bch-cta p {
    color: #c4b8a4;
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto 32px;
}
.bch-cta-btn {
    display: inline-block;
    background: var(--bch-tan);
    color: var(--bch-brown) !important;
    font-weight: 700;
    padding: 16px 40px;
    border-radius: 6px;
    text-decoration: none !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 15px;
}
.bch-cta-btn:hover {
    background: #d4b87a;
}

/* Two column layout */
.bch-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

/* Meeting info card */
.bch-meeting-card {
    background: var(--bch-cream);
    border-radius: 12px;
    padding: 32px;
    border: 2px solid #ddd3c2;
}
.bch-meeting-card h3 {
    font-family: 'Merriweather', Georgia, serif;
    color: var(--bch-brown);
    margin: 0 0 16px 0;
    font-size: 22px;
}
.bch-meeting-card p {
    margin: 8px 0;
    font-size: 16px;
}
.bch-meeting-card strong {
    color: var(--bch-brown);
}

/* Contact form styling */
.bch-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}
.bch-contact-info {
    background: var(--bch-cream);
    border-radius: 12px;
    padding: 32px;
    border: 2px solid #ddd3c2;
}

/* Members area */
.bch-members-login {
    max-width: 480px;
    margin: 60px auto;
    background: var(--bch-cream);
    padding: 40px;
    border-radius: 12px;
    border: 2px solid #ddd3c2;
    text-align: center;
}
.bch-trail-files {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}
.bch-file-card {
    background: #fff;
    border: 2px solid #e8e0d4;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: border-color 0.2s;
}
.bch-file-card:hover {
    border-color: var(--bch-tan);
}
.bch-file-icon {
    width: 48px;
    height: 48px;
    background: var(--bch-cream);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}
.bch-file-info h4 {
    margin: 0 0 4px 0;
    font-size: 16px;
    color: var(--bch-brown);
}
.bch-file-info p {
    margin: 0;
    font-size: 13px;
    color: var(--bch-text-light);
}

/* Footer */
.bch-footer {
    background: #2a1a0e;
    color: #a89680;
    padding: 48px 24px 24px;
}
.bch-footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
}
.bch-footer h4 {
    color: var(--bch-tan);
    font-family: 'Merriweather', Georgia, serif;
    font-size: 16px;
    margin: 0 0 16px 0;
}
.bch-footer p, .bch-footer a {
    font-size: 14px;
    line-height: 1.8;
    color: #a89680;
}
.bch-footer a {
    text-decoration: none !important;
}
.bch-footer a:hover {
    color: var(--bch-tan) !important;
}
.bch-footer-bottom {
    max-width: 1100px;
    margin: 32px auto 0;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    font-size: 13px;
    color: #7a6e62;
}

/* WPForms overrides */
div.wpforms-container-full .wpforms-form input[type=text],
div.wpforms-container-full .wpforms-form input[type=email],
div.wpforms-container-full .wpforms-form textarea {
    border: 2px solid #ddd3c2 !important;
    border-radius: 6px !important;
    padding: 12px !important;
    font-size: 15px !important;
    background: #fff !important;
}
div.wpforms-container-full .wpforms-form input:focus,
div.wpforms-container-full .wpforms-form textarea:focus {
    border-color: var(--bch-tan) !important;
}
div.wpforms-container-full .wpforms-form button[type=submit] {
    background: var(--bch-green) !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 14px 32px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    color: #ffffff !important;
    cursor: pointer !important;
}
div.wpforms-container-full .wpforms-form button[type=submit]:hover {
    background: var(--bch-green-light) !important;
}

/* Responsive */
@media (max-width: 768px) {
    .bch-header-inner { flex-direction: column; padding: 12px 16px; }
    .bch-nav { flex-wrap: wrap; justify-content: center; gap: 0; }
    .bch-nav a { padding: 12px 10px; font-size: 12px; }
    .bch-hero h1 { font-size: 32px; }
    .bch-hero p { font-size: 16px; }
    .bch-features { grid-template-columns: 1fr; }
    .bch-two-col, .bch-contact-grid { grid-template-columns: 1fr; }
    .bch-footer-inner { grid-template-columns: 1fr; }
    .bch-page h1 { font-size: 28px; }
}

/* Password protected page form */
.bch-password-form {
    max-width: 400px;
    margin: 60px auto;
    background: var(--bch-cream);
    padding: 40px;
    border-radius: 12px;
    border: 2px solid #ddd3c2;
    text-align: center;
}
.bch-password-form h3 {
    font-family: "Merriweather", Georgia, serif;
    color: var(--bch-brown);
    margin: 0 0 12px 0;
    font-size: 24px;
}
.bch-password-form p {
    color: var(--bch-text);
    margin-bottom: 20px;
}
.bch-password-form input[type="password"] {
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
    border: 2px solid #ddd3c2;
    border-radius: 6px;
    margin-bottom: 16px;
    box-sizing: border-box;
}
.bch-password-form input:focus {
    border-color: var(--bch-tan);
    outline: none;
}
.post-password-form { display: none; }


/* Logo in header */
.bch-logo-link {
    display: flex;
    align-items: center;
    text-decoration: none !important;
}
.bch-logo-img {
    height: 65px;
    width: auto;
    transition: transform 0.2s, filter 0.2s;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.2));
}
.bch-logo-link:hover .bch-logo-img {
    transform: scale(1.02);
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}
@media (max-width: 768px) {
    .bch-logo-img {
        height: 55px;
    }
}


/* Facebook embed */
.bch-facebook-embed {
    margin: 24px 0;
    display: flex;
    justify-content: center;
}
.bch-facebook-embed iframe {
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

/* Calendar embed */
.bch-calendar-embed {
    margin: 24px 0;
}
.bch-calendar-embed iframe {
    width: 100%;
    border: none;
    border-radius: 8px;
}
