/* ===== GLOBAL ===== */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f4f6f8;
    color: #1f2937;
}

.wrap {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

h1,
h2,
h3 {
    color: #0c3b6b;
}

/* ===== HEADER ===== */
.site-header {
    background: linear-gradient(90deg, #0c3b6b, #174a80);
    border-bottom: 4px solid #f0ad00;
    color: #fff;
    padding: 14px 0;
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #fff;
    flex-shrink: 0;
}

.logo {
    height: 54px;
    width: auto;
    max-width: 80px;
    object-fit: contain;
}

.brand-text h1 {
    margin: 0;
    font-size: 24px;
    line-height: 1.1;
    color: #fff;
}

.brand-text p {
    margin: 3px 0 0;
    font-size: 12px;
    color: rgba(255,255,255,0.85);
}

/* ===== NAVIGATION ===== */
.site-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: nowrap;
}

.site-nav a,
.dropbtn {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    padding: 9px 10px;
    border-radius: 4px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-family: Arial, sans-serif;
}

.site-nav a:hover,
.dropbtn:hover {
    background: rgba(255,255,255,0.15);
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn::after {
    content: " ▾";
    font-size: 11px;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 220px;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    overflow: hidden;
    z-index: 9999;
}

.dropdown-content a {
    color: #0c3b6b;
    padding: 12px 16px;
    display: block;
    text-decoration: none;
    font-weight: normal;
    background: #fff;
}

.dropdown-content a:hover {
    background: #f4f6f8;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* ===== CONTENT ===== */
.page-content {
    padding: 40px 0;
}

.card {
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    margin-bottom: 25px;
}

.hero {
    background: linear-gradient(135deg, #ffffff, #eef4fb);
    border-left: 6px solid #f0ad00;
}

/* ===== HERO BANNER ===== */
.hero-banner {
    background: linear-gradient(rgba(12,59,107,0.85), rgba(12,59,107,0.85)),
                url('/assets/images/community.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    padding: 60px 40px;
    color: #fff;
    margin-bottom: 30px;
}

.hero-content {
    max-width: 600px;
}

.hero-banner h1 {
    font-size: 36px;
    margin: 0 0 10px;
    color: #fff;
}

.hero-banner p {
    font-size: 16px;
    margin: 0 0 20px;
}

.hero-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.button {
    display: inline-block;
    background: #f0ad00;
    color: #111;
    text-decoration: none;
    padding: 12px 18px;
    border-radius: 6px;
    font-weight: bold;
    margin-top: 10px;
}

.button.secondary {
    background: #fff;
    color: #0c3b6b;
}

.button:hover {
    opacity: 0.92;
}

/* ===== QUICK ACTION CARDS ===== */
.quick-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 20px;
}

.quick-card {
    display: block;
    padding: 22px;
    border-radius: 12px;
    background: #f7f9fc;
    border-left: 6px solid #f0ad00;
    text-decoration: none;
    color: #0c3b6b;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.quick-card h3 {
    margin: 0 0 8px;
    color: #0c3b6b;
}

.quick-card p {
    margin: 0;
    color: #333;
    line-height: 1.4;
}

.quick-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

/* ===== GRID SECTION ===== */
.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.grid-item {
    display: block;
    background: #f9fafb;
    padding: 20px;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.grid-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

/* ===== IMAGE CARDS ===== */
.image-card {
    position: relative;
    display: block;
    height: 185px;
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    padding: 0;
}

.image-card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
}

.image-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(12,59,107,0.85),
        rgba(12,59,107,0.4)
    );
}

.image-card-content {
    position: relative;
    z-index: 2;
    padding: 22px;
}

.image-card h3 {
    margin: 0 0 8px;
    color: #fff;
    font-size: 20px;
}

.image-card p {
    margin: 0;
    color: rgba(255,255,255,0.92);
    font-size: 14px;
    line-height: 1.4;
}

.image-card:hover .image-card-bg {
    transform: scale(1.06);
}

/* ===== FOOTER ===== */
.site-footer {
    background: #0c3b6b;
    color: #fff;
    padding: 30px 0;
    margin-top: 50px;
    border-top: 4px solid #f0ad00;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 30px;
    align-items: start;
}

.site-footer h3 {
    margin-bottom: 10px;
    font-size: 16px;
    color: #f0ad00;
}

.site-footer p {
    margin: 5px 0;
    font-size: 14px;
}

.site-footer a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-size: 14px;
}

.site-footer a:hover {
    text-decoration: underline;
}

.site-footer::after {
    content: "© " attr(data-year) " Hubbard Rotary Club";
    display: block;
    text-align: center;
    margin-top: 20px;
    font-size: 12px;
    opacity: 0.7;
}
.project-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.project-row {
    display: flex;
    gap: 20px;
    align-items: center;
    background: #f7f9fc;
    padding: 20px;
    border-radius: 12px;
}

.project-row img {
    width: 280px;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
}

.project-row h3 {
    margin-top: 0;
    color: #0c3b6b;
}

@media (max-width: 768px) {
    .project-row {
        flex-direction: column;
    }

    .project-row img {
        width: 100%;
        height: auto;
    }
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
    .header-flex {
        flex-direction: column;
        align-items: flex-start;
    }

    .site-nav {
        flex-wrap: wrap;
    }

    .hero-banner {
        padding: 40px 24px;
    }

    .hero-banner h1 {
        font-size: 30px;
    }

    .quick-grid,
    .grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }
}