:root {
    --primary-color: #D4AF37; /* ذهبي */
    --secondary-color: #1a1a1a; /* أسود داكن */
    --accent-color: #f8f9fa; /* أبيض */
    --text-color: #333;
    --light-text: #f8f9fa;
}

body {
    font-family: 'Tajawal', sans-serif;
    color: var(--text-color);
    overflow-x: hidden;
    background-color: #f9f9f9;
}

/* Navbar Styles */
.navbar {
    background-color: rgba(26, 26, 26, 0.9);
    padding: 15px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(26, 26, 26, 0.95);
    padding: 10px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    color: var(--primary-color) !important;
    font-weight: 700;
    font-size: 1.8rem;
}

.navbar-nav .nav-link {
    color: var(--light-text) !important;
    font-weight: 500;
    margin: 0 10px;
    transition: color 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    right: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

.dropdown-menu {
    background-color: rgba(26, 26, 26, 0.95);
    border: 1px solid var(--primary-color);
}

.dropdown-item {
    color: var(--light-text);
}

.dropdown-item:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.language-switcher {
    color: var(--light-text);
    cursor: pointer;
    transition: color 0.3s ease;
}

.language-switcher:hover {
    color: var(--primary-color);
}

/* Page Header */
.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/9.jpeg');
    background-size: cover;
    background-position: center;
    min-height: 70vh;
    color: var(--light-text);
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.breadcrumb {
    background: transparent;
    justify-content: center;
}

.breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: var(--light-text);
}

/* Gallery Section */
.gallery-section {
    padding: 100px 0;
}

.section-title {
    color: var(--secondary-color);
    font-weight: 700;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 70px;
    height: 3px;
    background-color: var(--primary-color);
    bottom: -10px;
    right: 0;
}

/* Filter Buttons */
.filter-buttons {
    margin-bottom: 50px;
    text-align: center;
}

.filter-btn {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 10px 25px;
    margin: 0 8px 15px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.filter-btn:hover, .filter-btn.active {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    height: 300px;
    opacity: 0;
    transform: translateY(30px);
}

.gallery-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.8));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-category {
    background: var(--primary-color);
    color: var(--secondary-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 10px;
    display: inline-block;
}

.gallery-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.gallery-location {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 0;
}

.gallery-zoom {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-zoom {
    opacity: 1;
    transform: scale(1);
}

/* Project Stats */
.stats-section {
    padding: 80px 0;
    background-color: var(--secondary-color);
    color: var(--light-text);
}

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-text {
    font-size: 1.2rem;
}

/* Lightbox Modal */
.modal-content {
    border-radius: 15px;
    overflow: hidden;
    border: none;
}

.lightbox-img {
    width: 100%;
    border-radius: 15px 15px 0 0;
}

.lightbox-content {
    padding: 25px;
}

.lightbox-category {
    background: var(--primary-color);
    color: var(--secondary-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
    display: inline-block;
}

.lightbox-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.lightbox-location {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 20px;
}

.lightbox-description {
    line-height: 1.7;
    margin-bottom: 25px;
    color: #555;
}

.project-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.detail-item {
    display: flex;
    align-items: center;
}

.detail-icon {
    width: 40px;
    height: 40px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    margin-left: 15px;
    flex-shrink: 0;
}

.detail-text {
    flex: 1;
}

.detail-label {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 2px;
}

.detail-value {
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 0;
}

/* Footer */
.footer {
    background-color: var(--secondary-color);
    color: var(--light-text);
    padding: 70px 0 20px;
}

.footer-logo {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 20px;
}

.footer-text {
    margin-bottom: 20px;
    line-height: 1.6;
}

.footer-heading {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

.footer-heading::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
    bottom: -8px;
    right: 0;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--light-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-text);
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    margin-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
    .page-title {
        font-size: 2.2rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    
    .project-details {
        grid-template-columns: 1fr;
    }
    
    .navbar-nav {
        text-align: right;
        padding-top: 15px;
    }
}