/*
Theme Name: ALGON Plateau
Theme URI: https://algonplateau.org
Description: Official theme for ALGON Plateau State Chapter - A modern, professional WordPress theme for government organizations
Author: ALGON Plateau
Author URI: https://algonplateau.org
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: algon-theme
Tags: government, corporate, responsive, custom-post-types, featured-images, custom-header
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
1.0 CSS Reset & Normalize
2.0 Typography
3.0 Layout & Grid
4.0 Header
5.0 Navigation
6.0 Hero Section
7.0 Content Sections
8.0 Cards & Grid
9.0 Footer
10.0 Forms
11.0 Buttons
12.0 Utilities
13.0 Responsive
--------------------------------------------------------------*/

/*--------------------------------------------------------------
1.0 CSS Reset & Normalize
--------------------------------------------------------------*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333333;
    background-color: #ffffff;
    overflow-x: hidden;
}

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

.breadcrumbs .container ol
{
    display: flex;
    gap:8px; list-style: none;
}

.breadcrumbs .container ol li a ::after
{
    width: 40px; 
    height: 40px;
    background-color: #2e7d32;
}

a {
    color: forestgreen;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: rgb(18, 173, 18);
}

/*--------------------------------------------------------------
2.0 Typography
--------------------------------------------------------------*/
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', 'Inter', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

h1 {
    font-size: 2.5rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2rem;
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

h5 {
    font-size: 1.1rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: 1rem;
    color: #4a4a4a;
}

.lead {
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 1.7;
    color: #555555;
}

/*--------------------------------------------------------------
3.0 Layout & Grid
--------------------------------------------------------------*/
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.container-narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.section {
    padding: 80px 0;
}

.section-sm {
    padding: 40px 0;
}

.section-lg {
    padding: 120px 0;
}

.grid {
    display: grid;
    gap: 30px;
}

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

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

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

/*--------------------------------------------------------------
4.0 Header
--------------------------------------------------------------*/
.site-header {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-top {
    background: #006633;
    color: #ffffff;
    padding: 10px 0;
    font-size: 0.875rem;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-top-left,
.header-top-right {
    display: flex;
    gap: 20px;
    align-items: center;
}

.header-top a {
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 5px;
}

.header-top a:hover {
    color: #ccffcc;
}

.header-main {
    padding: 20px 0;
}

.header-main .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.site-logo img {
    max-height: 60px;
    width: auto;
}

.site-title {
    display: flex;
    flex-direction: column;
}

.site-title h1 {
    font-size: 1.5rem;
    margin: 0;
    color: #006633;
    line-height: 1.2;
}

.site-title p {
    font-size: 0.875rem;
    margin: 0;
    color: #666666;
}

/*--------------------------------------------------------------
5.0 Navigation
--------------------------------------------------------------*/
.main-navigation {
    display: flex;
    align-items: center;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 5px;
}

.main-navigation li {
    position: relative;
}

.main-navigation a {
    display: block;
    padding: 12px 20px;
    color: #333333;
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a {
    background: #006633;
    color: #ffffff;
}

.menu-toggle {
    display: none;
    background: #006633;
    color: #ffffff;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.2rem;
}

/*--------------------------------------------------------------
6.0 Hero Section
--------------------------------------------------------------*/
.hero-section {
    position: relative;
    background: linear-gradient(135deg, #006633 0%, #004d26 100%);
    color: #ffffff;
    padding: 100px 0;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="none"/><path d="M0 0L50 50L0 100M50 0L100 50L50 100" stroke="rgba(255,255,255,0.05)" stroke-width="2"/></svg>') repeat;
    opacity: 0.3;
}

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

.hero-section h1 {
    color: #ffffff;
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-section .lead {
    color: #e6ffe6;
    font-size: 1.3rem;
    margin-bottom: 30px;
}

.hero-badges {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.hero-badge {
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
}

/*--------------------------------------------------------------
7.0 Content Sections
--------------------------------------------------------------*/
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.1rem;
    color: #666666;
    max-width: 700px;
    margin: 0 auto;
}

.section-divider {
    width: 60px;
    height: 4px;
    background: #006633;
    margin: 20px auto;
    border-radius: 2px;
}

.bg-light {
    background-color: #f8f9fa;
}

.bg-white {
    background-color: #ffffff;
}

.bg-green {
    background-color: #006633;
    color: #ffffff;
}

.bg-green h2,
.bg-green h3 {
    color: #ffffff;
}

.bg-green p {
    color: #e6ffe6;
}

/*--------------------------------------------------------------
8.0 Cards & Grid
--------------------------------------------------------------*/
.card {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.card-image {
    position: relative;
    overflow: hidden;
    padding-top: 60%;
    background: #f0f0f0;
}

.card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card:hover .card-image img {
    transform: scale(1.05);
}

.card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #006633;
    color: #ffffff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 1;
}

.card-body {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-title {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: #1a1a1a;
}

.card-title a {
    color: inherit;
    transition: color 0.3s ease;
}

.card-title a:hover {
    color: #006633;
}

.card-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.875rem;
    color: #666666;
}

.card-meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.card-excerpt {
    color: #555555;
    margin-bottom: 15px;
    flex: 1;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}

/* LGA Card Specific */
.lga-card .card-body {
    text-align: center;
}

.lga-chairman {
    font-size: 0.9rem;
    color: #666666;
    margin-top: 10px;
}

.lga-chairman strong {
    color: #333333;
}

/* Event Card Specific */
.event-date-box {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #ffffff;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 1;
}

.event-date-box .day {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
    color: #006633;
}

.event-date-box .month {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #666666;
    font-weight: 600;
}

.event-status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.event-status.upcoming {
    background: #e3f2fd;
    color: forestgreen;
}

.event-status.ongoing {
    background: #e8f5e9;
    color: #2e7d32;
}

.event-status.completed {
    background: #f5f5f5;
    color: #757575;
}

/*--------------------------------------------------------------
9.0 Footer
--------------------------------------------------------------*/
.site-footer {
    background: #1a1a1a;
    color: #cccccc;
    padding-top: 60px;
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-widget h3 {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #006633;
}

.footer-widget ul {
    list-style: none;
    padding: 0;
}

.footer-widget li {
    margin-bottom: 10px;
}

.footer-widget a {
    color: #cccccc;
    transition: color 0.3s ease;
}

.footer-widget a:hover {
    color: #ffffff;
}

.footer-contact-item {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    align-items: flex-start;
}

.footer-contact-item i {
    color: #006633;
    margin-top: 3px;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #333333;
    border-radius: 50%;
    color: #ffffff;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: #006633;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid #333333;
    padding: 25px 0;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    color: #999999;
    font-size: 0.9rem;
}

/*--------------------------------------------------------------
10.0 Forms
--------------------------------------------------------------*/
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="search"],
textarea,
select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #006633;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333333;
}

/*--------------------------------------------------------------
11.0 Buttons
--------------------------------------------------------------*/
.btn {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background: #006633;
    color: #ffffff;
}

.btn-primary:hover {
    background: #004d26;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 51, 0.3);
}

.btn-secondary {
    background: #ffffff;
    color: #006633;
    border: 2px solid #006633;
}

.btn-secondary:hover {
    background: #006633;
    color: #ffffff;
}

.btn-outline {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.btn-outline:hover {
    background: #ffffff;
    color: #006633;
}

.btn-lg {
    padding: 15px 40px;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.9rem;
}

/*--------------------------------------------------------------
12.0 Utilities
--------------------------------------------------------------*/
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mt-4 { margin-top: 40px; }
.mt-5 { margin-top: 50px; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }
.mb-4 { margin-bottom: 40px; }
.mb-5 { margin-bottom: 50px; }

.d-flex {
    display: flex;
}

.justify-between {
    justify-content: space-between;
}

.align-center {
    align-items: center;
}

.gap-10 { gap: 10px; }
.gap-20 { gap: 20px; }
.gap-30 { gap: 30px; }

/*--------------------------------------------------------------
13.0 Responsive
--------------------------------------------------------------*/
@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-widgets {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .hero-section h1 {
        font-size: 2.2rem;
    }
    
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .header-top {
        display: none;
    }
    
    .main-navigation {
        display: none;
    }
    
    .main-navigation.active {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #ffffff;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 0;
    }
    
    .main-navigation a {
        padding: 15px 20px;
        border-radius: 0;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .footer-widgets {
        grid-template-columns: 1fr;
        gap: 30px;
    }
	
	 /* Make sidebar stack below main content on mobile */
    .site-main .container > div[style*="grid-template-columns: 2fr 1fr"] {
        grid-template-columns: 1fr !important;
    }
    
    /* Adjust video embed wrapper on mobile */
    .card-body > div[style*="padding-top: 56.25%"] {
        width: 100% !important;
    }
}

/* Video embed responsive fix */
.card-body iframe,
.card-body video,
.card-body embed {
    max-width: 100%;
}


@media (max-width: 480px) {
    .container,
    .container-wide {
        padding: 0 15px;
    }
    
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-section h1 {
        font-size: 1.8rem;
    }
    
    .btn-lg {
        padding: 12px 30px;
        font-size: 1rem;
    }
}
