/*
Theme Name: Asempa Climate Focus
Theme URI: https://asempaclimatefocus.org
Author: Multimedia Group Limited
Description: Custom theme for the Asempa Climate Focus Foundation, converted from the foundation's static HTML site.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: asempa-climate-focus
*/

/* ===== Overrides carried over from the static index.html ===== */
body { font-family: 'Roboto', sans-serif; }
.navbar { padding: 1rem 1rem; }
.hero {
    background: url('assets/images/banner/bg-image.jpg') no-repeat center center/cover;
    color: #fff; text-align: center; padding: 80px 20px;
}
.hero h1 { font-family: 'Frank Ruhl Libre', serif; font-size: 3rem; font-weight: 700; }
.hero p { font-size: 1.2rem; max-width: 700px; margin: 1rem auto; }
.section { padding: 60px 0; }
.program-card {
    border: 1px solid #e0e0e0; border-radius: 8px;
    padding: 20px; margin-bottom: 30px; height: 100%;
}
footer { background: #0b1e3c; color: #fff; padding: 40px 0; }
footer a { color: #fff; text-decoration: underline; }

.hero-slider { width: 100%; margin: 0; overflow: hidden; }
.hero-slider .carousel-item img { max-height: 768px; width: 100%; object-fit: cover; }
.hero-slider .carousel-control-prev,
.hero-slider .carousel-control-next { opacity: 0; transition: opacity 0.3s; }
.hero-slider:hover .carousel-control-prev,
.hero-slider:hover .carousel-control-next { opacity: 1; }

/* ===== Compact header overrides (fix tall header) ===== */
.header-section .header-area {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 30px;
    padding: 8px 30px !important;
}
.header-section .logo { width: auto !important; }
.header-section .logo img { max-height: 54px; width: auto; }
.header-section .logo .logo-text {
    font-family: 'Frank Ruhl Libre', serif;
    font-weight: 700; font-size: 1.15rem; line-height: 1.2;
    color: #0b1e3c; text-decoration: none; display: inline-block;
}
.header-section .main-menu { min-width: 0 !important; flex: 1 1 auto; }

/* Top bar: thin horizontal strip */
.header-section .main-menu .top {
    display: flex !important;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px 24px;
    border: 0;
    border-bottom: 1px solid #e9e9e9;
    padding: 0 0 6px !important;
    margin: 0 0 8px !important;
    font-size: 0.85rem;
    min-height: 0 !important;
}
.header-section .main-menu .top ul {
    display: flex; align-items: center; flex-wrap: wrap;
    gap: 2px 20px; margin: 0; padding: 0; list-style: none;
}
.header-section .main-menu .top ul.left { margin-right: auto; }
.header-section .main-menu .top li {
    border: 0 !important; padding: 0 !important; margin: 0 !important;
    white-space: nowrap; line-height: 1.4;
}
.header-section .main-menu .top a { white-space: nowrap; }

/* Primary nav: horizontal, compact */
.header-section .main-menu .menu {
    display: flex !important;
    align-items: center;
    flex-wrap: wrap;
    gap: 2px 22px;
    justify-content: flex-end;
    margin: 0 !important; padding: 0 !important; list-style: none;
    min-height: 0 !important;
}
.header-section .main-menu .menu > li { margin: 0 !important; padding: 0 !important; }
.header-section .main-menu .menu > li > a {
    white-space: nowrap; display: inline-block; padding: 6px 0 !important;
}

/* ===== Phone number full display (template forces a 50px icon box) ===== */
.header-section .main-menu .top ul.right li a {
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
    line-height: 1.4 !important;
    text-align: left !important;
    white-space: nowrap;
    color: #0b1e3c !important;
}
.header-section .main-menu .top ul.right li a:hover { background: transparent !important; color: #2e8b57 !important; }
.header-section .main-menu .top ul.right li { border-left: 0 !important; }
.header-section .main-menu .top ul.right li a i { margin-right: 5px; }
