/* Import navbar and footer styles from home page */
@import url('../css/index.css');

/* Navbar styles */
.navbar {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    padding: 5px 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    z-index: 1000;
    position: fixed;
    top: 0;
    left: 0;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 600;
    color: #FFD700 !important;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-left: 20px;
    margin: 0;
    font-family: 'Playfair Display', serif;
    transition: all 0.3s ease;
}

.navbar-brand i {
    font-size: 1.3rem;
}

.navbar-brand:hover {
    color: #fff !important;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

.nav-link {
    color: #fff !important;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 6px 14px !important;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: #FFD700 !important;
    background: rgba(255, 215, 0, 0.1);
    transform: translateY(-2px);
}

.btn-register {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: #000 !important;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(255, 215, 0, 0.3);
    padding: 6px 16px !important;
}

.navbar.scrolled {
    padding: 3px 0;
}

/* Hero Section */
.hero-section {
    padding: 100px 0 100px;
    text-align: center;
    background: rgba(0, 0, 0, 0.3);
    margin-bottom: 80px;
}

.hero-section h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    color: #FFD700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-section .lead {
    font-size: 1.5rem;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Content Section */
.content-section {
    padding: 50px 0;
}

.about-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.about-card:hover {
    transform: translateY(-5px);
}

.card-icon {
    text-align: center;
    margin-bottom: 20px;
}

.card-icon i {
    font-size: 2.5rem;
    color: #FFD700;
}

.about-card h3 {
    color: #FFD700;
    font-family: 'Playfair Display', serif;
    text-align: center;
    margin-bottom: 20px;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.value-item {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.value-item:hover {
    transform: translateY(-5px);
}

.value-item i {
    font-size: 2rem;
    color: #FFD700;
    margin-bottom: 15px;
}

.value-item h4 {
    color: #FFD700;
    font-family: 'Playfair Display', serif;
    margin-bottom: 10px;
}

/* Team Section */
.team-section {
    margin-top: 50px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.team-section h3 {
    text-align: center;
    margin-bottom: 40px;
    width: 100%;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    justify-content: center;
    justify-items: center;
}

.team-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    margin: 0 auto;
    cursor: pointer;
    width: 240px;
    height: 380px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.team-card:hover {
    transform: translateY(-5px) scale(1.05);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.team-card img {
    width: 180px;
    height: 180px;
    border-radius: 15px;
    margin: 5px 0;
    border: 3px solid #FFD700;
    object-fit: cover;
}

.team-card h5 {
    color: #FFD700;
    font-family: 'Playfair Display', serif;
    margin: 0;
    font-size: 1.2rem;
}

.team-card p {
    color: #fff;
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    font-size: 1rem;
    margin: 0;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.team-card .social-icons {
    margin: 0;
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
}

.team-card .social-icons a {
    color: #fff;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.team-card .social-icons a:hover {
    color: #FFD700;
}

/* تحديث التصميم المتجاوب للشاشات الصغيرة */
@media (max-width: 1200px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 900px;
        gap: 30px;
        padding: 0 20px;
    }

    .team-card {
        width: 100%;
        margin-bottom: 20px;
    }

    .team-card img {
        width: 180px;
        height: 180px;
    }
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        gap: 30px;
    }

    .team-card {
        padding: 20px;
    }

    .team-card img {
        width: 160px;
        height: 160px;
    }

    .hero-section {
        padding: 80px 0 30px;
    }

    .hero-section h1 {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .content-section {
        padding: 30px 0;
    }

    .about-card {
        padding: 20px;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .team-grid {
        max-width: 300px;
        gap: 20px;
    }

    .team-card {
        padding: 15px;
    }

    .team-card img {
        width: 140px;
        height: 140px;
    }

    .team-card h5 {
        font-size: 1.1rem;
    }

    .team-card p {
        font-size: 0.9rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section .lead {
        font-size: 1.2rem;
    }
    
    .values-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-card, .team-card {
    animation: fadeIn 0.8s ease-out forwards;
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Loading States */
.loading {
    position: relative;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Toast Notifications */
.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1050;
}

/* Custom Form Styles */
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Shadow utility */
.shadow-hover {
    transition: box-shadow 0.3s ease;
}

.shadow-hover:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
} 