/* style.css - The "Good Neighbor" Theme */
:root {
    --primary: #2F5D62; /* Earthy Teal - Trust & Growth */
    --secondary: #DFEEEA; /* Soft Mint - Backgrounds */
    --accent: #A7C5EB; /* Sky Blue - Highlights */
    --text-dark: #2C3333; /* Dark Charcoal - Text */
    --text-light: #F7F7F7; /* Off-white - Text on dark backgrounds */
    --font-heading: 'Georgia', serif; /* Warm, established feel */
    --font-body: 'Helvetica Neue', Helvetica, Arial, sans-serif; /* Clean, modern */
}

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

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: #fff;
    overflow-x: hidden; /* Prevents accidental horizontal scrolling */
}

/* Header & Nav */
header {
    background-color: #fff;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    flex-wrap: wrap; /* Allows menu to wrap under logo if space is tight */
}

.logo-group {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.site-logo {
    height: 50px;
    margin-right: 15px;
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
    text-decoration: none;
}

.subtitle {
    font-size: 0.85rem;
    color: var(--text-dark);
    font-weight: 400;
    margin-top: -5px;
}

nav ul {
    display: flex;
    list-style: none;
    flex-wrap: wrap; /* Helps buttons wrap on mobile */
    justify-content: flex-end;
}

nav ul li {
    margin-left: 20px;
    margin-top: 5px;
    margin-bottom: 5px;
}

nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
}

nav a:hover, nav a.active {
    color: var(--primary);
    border-bottom: 2px solid var(--primary);
}

.btn-nav {
    background-color: var(--primary);
    color: var(--text-light);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: background 0.3s;
}

.btn-nav:hover {
    background-color: #1a3c40;
    color: #fff;
}

/* Hero Section */
.hero {
    background-size: cover;
    background-position: center;
    min-height: 80vh; /* Changed from height to min-height for mobile content scaling */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    position: relative;
    width: 100%;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.4); /* Dark overlay for readability */
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 20px;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 1rem;
    word-wrap: break-word; /* Prevents long words from breaking layout */
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.btn-main, .btn-secondary {
    display: inline-block;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    margin: 10px; /* Simplified margin for wrapping */
}

.btn-main {
    background-color: var(--primary);
    color: var(--text-light);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--text-light);
    color: var(--text-light);
}

.btn-main:hover { background-color: #1a3c40; }
.btn-secondary:hover { background-color: var(--text-light); color: var(--text-dark); }

/* Standard Sections */
.container {
    padding: 4rem 5%;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.bg-light { background-color: var(--secondary); }

h2 {
    font-family: var(--font-heading);
    color: var(--primary);
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem auto;
}

/* Grid Layouts */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Adjusted for smaller screens */
    gap: 2rem;
}

.card {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

/* Specific Page Styles */
.split-section {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 4rem;
}

.split-section img {
    width: 100%;
    max-width: 500px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.text-block { flex: 1; }

.donation-tiers {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.tier-card {
    border: 2px solid var(--primary);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    flex: 1;
    min-width: 250px;
}

.price {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary);
    display: block;
    margin: 1rem 0;
}

/* Footer */
footer {
    background-color: var(--text-dark);
    color: var(--text-light);
    text-align: center;
    padding: 2rem;
    margin-top: auto;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 1.5rem 5%;
    }

    .logo-group {
        margin-bottom: 1.5rem;
        justify-content: center;
    }

    nav {
        width: 100%;
    }

    nav ul {
        justify-content: center;
        padding: 0;
    }

    nav ul li {
        margin: 5px 10px;
    }

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

    .hero p {
        font-size: 1.1rem;
    }

    .split-section { 
        flex-direction: column; 
        gap: 2rem;
    }

    .split-section img { 
        max-width: 100%; 
    }

    .container {
        padding: 3rem 5%;
    }
}

.btn-nav, [zeffy-form-link] {
    cursor: pointer !important;
}

.submitted, .comment header, article header {
    background-color: transparent !important;
    color: #333 !important;
    padding: 0 !important;
}

.submitted a, .comment header a {
    color: #000 !important;
    text-decoration: underline;
}

footer #block-vtbt-newsletter, 
.region-footer #block-vtbt-newsletter,
footer [id*="vtbt-newsletter"],
.region-footer [id*="vtbt-newsletter"],
footer .block-simplenews,
.region-footer .block-simplenews {
    display: none !important;
}
/* comment styling */
/* 1. Force visual nesting for threaded replies */
.indented {
    margin-left: 40px !important;
    border-left: 3px solid #e0e0e0 !important;
    padding-left: 15px !important;
}

/* 2. Strip the dark box entirely */
article.comment, 
.comment, 
.comment header, 
.comment footer, 
.comment .submitted {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin-bottom: 10px !important;
}

/* 3. Bold the author/date line */
.comment .submitted, 
.comment header {
    font-weight: bold !important;
    color: #333 !important;
    font-size: 1.05em !important;
}

.comment .submitted a, 
.comment header a {
    font-weight: bold !important;
    color: #000 !important;
}

/* 4. Hide the comment title and permalink */
.comment h3, 
.comment h3 a, 
.comment .permalink {
    display: none !important;
}

/* 5. Put action buttons (Delete, Edit, Reply) on one horizontal line */
.comment ul.links, 
.comment .links {
    padding: 0 !important;
    margin: 10px 0 25px 0 !important;
    display: flex !important;
    gap: 15px !important;
}

.comment ul.links li, 
.comment .links li {
    list-style-type: none !important;
    display: inline-block !important;
    margin: 0 !important;
}

/* Hide Drupal's default list bullet points on the inline buttons */
.comment ul.links li::before, 
.comment .links li::before {
    display: none !important;
}