/* ============================================================
   التنسيقات العامة لمنظمة سلمى
   ============================================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== الشريط العلوي ===== */
.top-bar {
    background: #1a2a3a;
    color: #fff;
    padding: 8px 0;
    font-size: 14px;
    text-align: center;
}
.top-bar a {
    color: #f0c27f;
    text-decoration: none;
}
.top-bar a:hover {
    text-decoration: underline;
}

/* ===== الهيدر ===== */
.header {
    background: linear-gradient(135deg, #2d5a3b 0%, #1a3a2a 100%);
    color: #fff;
    padding: 20px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    position: sticky;
    top: 0;
    z-index: 100;
}
.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}
.logo i {
    font-size: 40px;
    color: #f0c27f;
}
.logo h1 {
    font-size: 28px;
    font-weight: 900;
    letter-spacing: 1px;
}
.logo h1 span {
    color: #f0c27f;
}
.logo p {
    font-size: 14px;
    opacity: 0.8;
    margin-top: 2px;
}

.header-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* ===== الأزرار ===== */
.btn {
    padding: 10px 24px;
    border: none;
    border-radius: 50px;
    font-family: 'Cairo', sans-serif;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-primary {
    background: #f0c27f;
    color: #1a2a3a;
}
.btn-primary:hover {
    background: #e6b06a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(240, 194, 127, 0.4);
}
.btn-secondary {
    background: rgba(255,255,255,0.15);
    color: #fff;
    border: 2px solid rgba(255,255,255,0.3);
}
.btn-secondary:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-2px);
}
.btn-success {
    background: #27ae60;
    color: #fff;
}
.btn-success:hover {
    background: #219a52;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.4);
}
.btn-gold {
    background: #f0c27f;
    color: #1a2a3a;
}
.btn-gold:hover {
    background: #e6b06a;
    transform: translateY(-2px);
}

/* ===== الهيرو ===== */
.hero {
    padding: 60px 0 40px;
    text-align: center;
}
.hero h2 {
    font-size: 42px;
    color: #1a2a3a;
    margin-bottom: 15px;
}
.hero h2 i {
    color: #2d5a3b;
}
.hero p {
    font-size: 20px;
    color: #3d4a5a;
    max-width: 700px;
    margin: 0 auto 30px;
    line-height: 1.8;
}
.hero-badges {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 30px;
}
.hero-badge {
    background: #fff;
    padding: 15px 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    color: #1a2a3a;
}
.hero-badge i {
    color: #2d5a3b;
    font-size: 24px;
}

/* ===== النشاط المميز ===== */
.featured-event {
    background: linear-gradient(135deg, #1a2a3a 0%, #2d5a3b 100%);
    color: #fff;
    padding: 50px 0;
    border-radius: 30px;
    margin: 20px 0 40px;
}
.featured-event .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}
.featured-event .info {
    flex: 1;
    min-width: 280px;
}
.featured-event .info h3 {
    font-size: 32px;
    margin-bottom: 10px;
}
.featured-event .info h3 i {
    color: #f0c27f;
}
.featured-event .info p {
    opacity: 0.9;
    font-size: 17px;
    line-height: 1.8;
}
.featured-event .info .meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin: 15px 0 20px;
    font-size: 15px;
}
.featured-event .info .meta i {
    color: #f0c27f;
}
.featured-event .actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* ===== الخدمات ===== */
.services {
    padding: 40px 0 60px;
}
.services h3 {
    text-align: center;
    font-size: 32px;
    color: #1a2a3a;
    margin-bottom: 40px;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.service-card {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid rgba(45, 90, 59, 0.1);
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}
.service-card .icon {
    font-size: 48px;
    color: #2d5a3b;
    margin-bottom: 15px;
}
.service-card h4 {
    font-size: 22px;
    color: #1a2a3a;
    margin-bottom: 10px;
}
.service-card p {
    color: #5a6a7a;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
}
.service-card .btn {
    width: 100%;
    justify-content: center;
}

/* ===== الفوتر ===== */
.footer {
    background: #0f1a24;
    color: #aab;
    padding: 30px 0;
    text-align: center;
    margin-top: 40px;
}
.footer a {
    color: #f0c27f;
    text-decoration: none;
}
.footer a:hover {
    text-decoration: underline;
}
.footer .social {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 15px 0;
}
.footer .social a {
    color: #fff;
    font-size: 24px;
    opacity: 0.6;
    transition: opacity 0.3s;
}
.footer .social a:hover {
    opacity: 1;
}

/* ===== التوافق مع الجوال ===== */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 15px;
    }
    .hero h2 {
        font-size: 28px;
    }
    .hero p {
        font-size: 17px;
    }
    .featured-event .container {
        flex-direction: column;
        text-align: center;
    }
    .featured-event .info .meta {
        justify-content: center;
    }
    .featured-event .actions {
        justify-content: center;
    }
}