/* ============================================
   Biqiltuu Ganamaa Charity Organization
   Custom Styles
============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* Navigation */
.navbar {
    background: linear-gradient(135deg, #1a5f3a, #0e3d24);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 0.8rem 0;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffd700 !important;
}

.navbar-nav .nav-link {
    color: white !important;
    font-weight: 500;
    margin: 0 0.2rem;
    transition: all 0.3s;
}

.navbar-nav .nav-link:hover {
    color: #ffd700 !important;
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), 
                url('https://images.unsplash.com/photo-1532629345422-7515f3d16bb6?ixlib=rb-4.0.3&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
    text-align: center;
    border-radius: 0 0 20px 20px;
    margin-bottom: 2rem;
}

.hero-section h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-section .lead {
    font-size: 1.3rem;
    margin-bottom: 2rem;
}

/* Buttons */
.btn-primary, .btn-success {
    border-radius: 50px;
    padding: 10px 30px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary:hover, .btn-success:hover {
    transform: scale(1.03);
    filter: brightness(1.05);
}

.btn-primary {
    background-color: #ffd700;
    border: none;
    color: #1a5f3a;
}

.btn-primary:hover {
    background-color: #ffc107;
    color: #0e3d24;
}

.btn-success {
    background-color: #1a5f3a;
    border: none;
}

/* Cards */
.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

/* Stat Boxes */
.stat-box {
    background: linear-gradient(135deg, #1a5f3a, #0e3d24);
    color: white;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    margin-bottom: 1.5rem;
    transition: transform 0.3s;
}

.stat-box:hover {
    transform: scale(1.02);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
}

.stat-box i {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #ffd700;
}

/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: 2rem;
    color: #1a5f3a;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #ffd700;
}

/* Footer */
.footer {
    background: #0e3d24;
    color: #ddd;
    padding: 3rem 0 1rem;
    margin-top: 3rem;
}

.footer h5 {
    color: #ffd700;
    margin-bottom: 1.2rem;
}

.footer a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s;
}

.footer a:hover {
    color: #ffd700;
}

.footer .list-unstyled li {
    margin-bottom: 0.5rem;
}

/* Form Elements */
.form-control, .form-select {
    border-radius: 10px;
    padding: 12px;
    border: 1px solid #ddd;
    transition: all 0.3s;
}

.form-control:focus, .form-select:focus {
    border-color: #1a5f3a;
    box-shadow: 0 0 0 0.2rem rgba(26,95,58,0.25);
}

/* Admin Sidebar */
.admin-sidebar {
    background: #1a5f3a;
    min-height: 100vh;
}

.admin-sidebar .nav-link {
    color: white;
    padding: 12px 20px;
    border-radius: 10px;
    margin: 5px 0;
    transition: all 0.3s;
}

.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
    background: #ffd700;
    color: #1a5f3a;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 1.8rem;
    }
    .stat-number {
        font-size: 1.8rem;
    }
    .navbar-brand {
        font-size: 1.2rem;
    }
}

/* Alerts */
.alert {
    border-radius: 10px;
    border: none;
}

/* Gallery Hover Effect */
.gallery-img {
    cursor: pointer;
    transition: transform 0.2s;
}

.gallery-img:hover {
    transform: scale(1.02);
}

/* Jumbotron */
.jumbotron {
    background: linear-gradient(135deg, #e9ecef, #dee2e6);
    border-radius: 20px;
    padding: 2rem;
}