/* Base Styles & Variables */
:root {
    --primary-color: #000000;
    --accent-color: #D4AF37;
    --text-light: #ffffff;
    --text-dark: #333333;
    --bg-light: #f5f5f5;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-light);
    background-color: var(--primary-color);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
    padding: 0 15px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    color: var(--text-light);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--accent-color);
}

.accent-text {
    color: var(--accent-color);
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--primary-color);
    border: 2px solid var(--accent-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--accent-color);
}

.btn-outline {
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
}

.btn-outline:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.2rem 0;
    background-color: rgba(0, 0, 0, 0.9);
    transition: var(--transition);
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo h1 {
    font-size: 1.8rem;
    margin: 0;
    color: var(--accent-color);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 30px;
    height: 2px;
    margin: 6px 0;
    background-color: var(--accent-color);
    transition: var(--transition);
}

/* Hero Section */
#hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.7)), url('./assets/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    padding-top: 80px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-tagline {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* About Section */
#about {
    padding: 100px 0;
    background-color: #0a0a0a;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.image-placeholder {
    width: 100%;
    height: 350px;
    background: linear-gradient(45deg, var(--primary-color), #181818);
    border: 2px solid var(--accent-color);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.image-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to bottom right,
        rgba(212, 175, 55, 0.1) 0%,
        rgba(212, 175, 55, 0.2) 50%,
        rgba(212, 175, 55, 0.1) 100%
    );
    animation: shimmer 2s infinite linear;
    transform: rotate(30deg);
}

@keyframes shimmer {
    0% {
        transform: translateY(-100%) rotate(30deg);
    }
    100% {
        transform: translateY(100%) rotate(30deg);
    }
}

/* Team Section */
.team-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.team-row {
    display: flex;
    justify-content: center;
    gap: 30px;
    width: 100%;
}

.team-card {
    background-color: #0a0a0a;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(212, 175, 55, 0.2);
    width: 250px;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

.team-card.main {
    width: 300px;
    margin-bottom: 40px;
}

.team-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 2px solid var(--accent-color);
}

.team-card.main .team-img {
    height: 250px;
}

.team-info {
    padding: 20px;
    text-align: center;
}

.team-name {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--accent-color);
}

.team-card.main .team-name {
    font-size: 1.4rem;
}

.team-role {
    font-size: 0.85rem;
    color: #cccccc;
}

@media (max-width: 768px) {
    .team-row {
        flex-direction: column;
        align-items: center;
    }
    
    .team-card,
    .team-card.main {
        width: 100%;
        max-width: 300px;
    }
}


/* Partners Section */
#partners {
    padding: 100px 0;
    background-color: #0a0a0a;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.partner-card {
    /* الخصائص الحالية... */
    cursor: pointer; /* تغيير شكل المؤشر */
    position: relative; /* مهم للتأثيرات */
}

/* تأثير عند النقر */
.partner-card:active {
    transform: translateY(-5px) scale(0.98);
}

/* طبقة شبه شفافة عند التمرير */
.partner-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(212, 175, 55, 0.1);
    opacity: 0;
    transition: var(--transition);
}

.partner-card:hover::after {
    opacity: 1;
}


.partner-header {
    display: flex;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.partner-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent-color);
    margin-right: 15px;
}

.partner-name {
    font-size: 1.3rem;
    color: var(--accent-color);
}

.partner-description {
    padding: 20px;
    flex-grow: 1;
    color: #cccccc;
}

/* Footer Section */
#footer {
    padding: 80px 0 30px;
    background-color: #000000;
    border-top: 1px solid rgba(212, 175, 55, 0.3);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}

.footer-logo h2 {
    color: var(--accent-color);
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #111;
    color: var(--accent-color);
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
    transform: translateY(-5px);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #777;
}

/* RTL Support */
[dir="rtl"] {
    text-align: right;
}

[dir="rtl"] .nav-links a::after {
    left: auto;
    right: 0;
}

[dir="rtl"] .section-title::after {
    left: auto;
    right: 50%;
    transform: translateX(50%);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
    }
    
    .about-image {
        margin-top: 30px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: rgba(0, 0, 0, 0.95);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
        gap: 3rem;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .team-grid,
    .partners-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 2rem;
    }
}