@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;600;700&display=swap');

:root {
    --primary-color: #0d6b4a;
    /* Emerald Green */
    --secondary-color: #c5a059;
    /* Gold */
    --accent-color: #f1c40f;
    --bg-light: #f8fbff;
    --text-dark: #333;
    --text-muted: #666;
    --white: #ffffff;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    --border-radius: 12px;
}

[data-theme="dark"] {
    --bg-light: #1a1a1a;
    --text-dark: #ffffff;
    --text-muted: #cccccc;
    --white: #2a2a2a;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

body {
    font-family: 'Cairo', sans-serif;
    direction: rtl;
    background-color: var(--bg-light);
    color: var(--text-dark);
    scroll-behavior: smooth;
}

/* Navbar Styling */
.navbar {
    background-color: var(--white) !important;
    box-shadow: var(--shadow);
    padding: 15px 0;
}

.navbar-brand img {
    height: 50px;
}

.nav-link {
    color: var(--text-dark) !important;
    font-weight: 600;
    margin: 0 10px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
}

/* Hero Section */
.hero-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.hero-card {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 250px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.hero-card:hover {
    transform: translateY(-5px);
}

.hero-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-card .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 20px;
    color: var(--white);
    text-align: center;
}

/* Category Icons */
.category-item {
    text-align: center;
    margin: 20px;
    cursor: pointer;
}

.category-icon {
    width: 70px;
    height: 70px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    color: var(--primary-color);
    font-size: 24px;
    transition: all 0.3s ease;
}

.category-item:hover .category-icon {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Filters */
.filters-bar {
    background: var(--white);
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin: 40px 0;
}

.form-select {
    border: 1px solid #eee;
    padding: 10px;
    border-radius: 8px;
}

/* Event Cards */
.event-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.event-card img {
    height: 180px;
    width: 100%;
    object-fit: cover;
}

.event-body {
    padding: 15px;
}

.event-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.event-info {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Featured Event (Grand Symphony) */
.featured-event {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    margin: 40px 0;
}

.featured-content {
    flex: 1;
    padding: 30px;
}

.featured-map {
    flex: 1;
    background: #eee;
    min-height: 300px;
}

/* Footer Section */
.footer-section {
    padding: 60px 0;
    background: var(--white);
    border-top: 1px solid #eee;
}

.contact-form {
    background: #fdfdfd;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.member-card {
    text-align: center;
    margin-top: 20px;
    transition: transform 0.3s ease;
}

.member-icon {
    font-size: 80px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.member-card:hover {
    transform: translateY(-5px);
}




/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border: none;
    padding: 10px 25px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #0a5a3a;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(13, 107, 74, 0.3);
}

.btn-secondary {
    background-color: var(--secondary-color);
    border: none;
    padding: 10px 25px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #b5944a;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(197, 165, 89, 0.3);
}

.btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}