/*
Theme Name: Akilimali Foundation
Theme URI: https://akilimalifoundation.org
Author: Akilimali Global Foundation
Author URI: https://akilimalifoundation.org
Description: A minimal, structured WordPress theme designed for the Akilimali Global Foundation. Features deep navy (#0B1F3B) and muted gold (#C8A646) color scheme with generous white space. Optimized for Elementor Pro page builder with full-width support and custom header/footer capabilities.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: akilimali-foundation
Tags: foundation, healthcare, nonprofit, minimal, elementor, custom-colors, custom-header, custom-footer, full-width

Akilimali Foundation WordPress Theme, (C) 2024 Akilimali Global Foundation
Akilimali Foundation is distributed under the terms of the GNU GPL.
*/

/* 
=== COLOR PALETTE ===
Primary Navy: #0B1F3B
Muted Gold: #C8A646
White: #FFFFFF
Light Gray: #F8F9FA
Text Gray: #6B7280
*/

/* Reset and Base Styles */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #1F2937;
    background-color: #FFFFFF;
}

/* Elementor Compatibility */
.elementor-section.elementor-section-boxed > .elementor-container {
    max-width: 1200px;
}

.elementor-section.elementor-section-stretched {
    width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
}

/* Header Styles */
.site-header {
    background-color: #FFFFFF;
    border-bottom: 1px solid #E5E7EB;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-navigation {
    padding: 1rem 0;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.main-navigation li {
    margin: 0 1.5rem;
}

.main-navigation a {
    color: #0B1F3B;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.main-navigation a:hover,
.main-navigation a.active {
    color: #C8A646;
    border-bottom-color: #C8A646;
}

/* Footer Styles */
.site-footer {
    background-color: #0B1F3B;
    color: #FFFFFF;
    padding: 3rem 0;
    text-align: center;
}

.site-footer a {
    color: #C8A646;
    text-decoration: none;
}

.site-footer a:hover {
    text-decoration: underline;
}

/* Content Layout */
.site-content {
    min-height: 60vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Typography Classes for Elementor */
.akilimali-heading-navy {
    color: #0B1F3B !important;
}

.akilimali-heading-gold {
    color: #C8A646 !important;
}

.akilimali-text-gray {
    color: #6B7280 !important;
}

.akilimali-bg-navy {
    background-color: #0B1F3B !important;
}

.akilimali-bg-gold {
    background-color: #C8A646 !important;
}

.akilimali-bg-light-gray {
    background-color: #F9FAFB !important;
}

/* Button Styles */
.akilimali-btn-navy {
    background-color: #0B1F3B !important;
    color: #FFFFFF !important;
    border: none !important;
    padding: 12px 32px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}

.akilimali-btn-navy:hover {
    background-color: #0A1A33 !important;
    transform: translateY(-2px) !important;
}

.akilimali-btn-outline {
    background-color: transparent !important;
    color: #0B1F3B !important;
    border: 2px solid #0B1F3B !important;
    padding: 12px 32px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}

.akilimali-btn-outline:hover {
    background-color: #0B1F3B !important;
    color: #FFFFFF !important;
}

/* Section Spacing for Elementor */
.akilimali-section {
    padding: 80px 0 !important;
}

.akilimali-section-narrow {
    padding: 60px 0 !important;
}

@media (max-width: 768px) {
    .akilimali-section {
        padding: 60px 0 !important;
    }
}

/* Card Styles */
.akilimali-card {
    background: #FFFFFF !important;
    border: 1px solid #E5E7EB !important;
    border-radius: 8px !important;
    padding: 2rem !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
}

.akilimali-card:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
}

/* Image Styles */
.akilimali-img-rounded {
    border-radius: 50% !important;
    border: 3px solid #C8A646 !important;
}

.akilimali-img-shadow {
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1) !important;
}

/* Navigation for Elementor */
.akilimali-nav {
    display: flex !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 2rem !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.akilimali-nav a {
    color: #0B1F3B !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    padding: 0.5rem 0 !important;
    border-bottom: 2px solid transparent !important;
    transition: all 0.3s ease !important;
}

.akilimali-nav a:hover,
.akilimali-nav a.active {
    color: #C8A646 !important;
    border-bottom-color: #C8A646 !important;
}

/* Responsive Grid for Elementor */
.akilimali-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
    gap: 2rem !important;
}

.akilimali-grid-2 {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr)) !important;
    gap: 3rem !important;
}

@media (max-width: 768px) {
    .akilimali-grid-2 {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
}

/* Utility Classes */
.akilimali-text-center {
    text-align: center !important;
}

.akilimali-mx-auto {
    margin-left: auto !important;
    margin-right: auto !important;
}

.akilimali-max-w-4xl {
    max-width: 800px !important;
}

.akilimali-max-w-3xl {
    max-width: 700px !important;
}

/* Hide admin bar space for Elementor */
body.elementor-editor-active #wpadminbar {
    position: fixed !important;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Accessibility */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

/* Print Styles */
@media print {
    .site-header,
    .site-footer {
        display: none;
    }
}
