/* Custom CSS for FiveM Discord Website */

/* General Styles */
body {
    font-family: 'Cairo', sans-serif;
    background-color: #f8f9fa;
    color: #333;
}

/* RTL Specific Adjustments */
.me-2 {
    margin-left: 0.5rem !important;
    margin-right: 0 !important;
}

.me-3 {
    margin-left: 1rem !important;
    margin-right: 0 !important;
}

.me-auto {
    margin-left: auto !important;
    margin-right: 0 !important;
}

/* Hero Section & Slider */
.hero-section {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.heroSwiper {
    width: 100%;
    height: 100%;
}

.slide-content {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.slide-text {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.slide-text h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.slide-text p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Swiper Navigation Buttons */
.swiper-button-next,
.swiper-button-prev {
    color: #fff;
    background: rgba(0, 0, 0, 0.3);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 20px;
}

.swiper-pagination-bullet {
    background: #fff;
    opacity: 0.7;
}

.swiper-pagination-bullet-active {
    background: #007bff;
    opacity: 1;
}

/* Features Section */
.features {
    background-color: #fff;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    background-color: #fff;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 3rem;
    color: #007bff;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

/* How to Join Section */
.how-to-join {
    background-color: #f8f9fa;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.step {
    display: flex;
    align-items: flex-start;
}

.step-number {
    width: 40px;
    height: 40px;
    background-color: #007bff;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.25rem;
    margin-left: 1rem;
    flex-shrink: 0;
}

.step-content h4 {
    margin-bottom: 0.5rem;
    font-weight: 600;
}

/* Requirements Section */
.requirements-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.requirements-card h3 {
    color: #007bff;
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-align: center;
}

.requirements-card ul li {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.requirements-card ul li i {
    color: #007bff;
    margin-left: 0.75rem;
    width: 20px;
    text-align: center;
}

/* Call to Action Section */
.cta {
    background: linear-gradient(135deg, #007bff, #0056b3);
    position: relative;
}

.cta:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/cta-bg.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
}

.cta .container {
    position: relative;
    z-index: 1;
}

/* Footer */
.footer {
    background-color: #212529;
}

.footer h5 {
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.footer ul li {
    margin-bottom: 0.5rem;
}

.footer a {
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer a:hover {
    opacity: 0.8;
}

.social-links {
    margin-top: 1.5rem;
}

/* Quiz Styles */
.quiz-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 2rem;
}

.quiz-header {
    text-align: center;
    margin-bottom: 2rem;
}

.quiz-progress {
    margin-bottom: 2rem;
}

.quiz-question {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.quiz-option {
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quiz-option:hover {
    border-color: #007bff;
    background-color: #f8f9fa;
}

.quiz-option.selected {
    border-color: #007bff;
    background-color: #e6f2ff;
}

.quiz-result {
    text-align: center;
}

.quiz-result-icon {
    font-size: 5rem;
    margin-bottom: 1.5rem;
}

.quiz-result-icon.success {
    color: #28a745;
}

.quiz-result-icon.failure {
    color: #dc3545;
}

/* Not Member Page */
.not-member-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 3rem 1rem;
}

.not-member-icon {
    font-size: 5rem;
    color: #dc3545;
    margin-bottom: 2rem;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .hero-section {
        height: 500px;
    }
    
    .slide-text h1 {
        font-size: 2.5rem;
    }
    
    .slide-text p {
        font-size: 1.1rem;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        height: 400px;
    }
    
    .slide-text h1 {
        font-size: 2rem;
    }
    
    .slide-text p {
        font-size: 1rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .step-number {
        margin-left: 0;
        margin-bottom: 1rem;
    }
}

@media (max-width: 575.98px) {
    .hero-section {
        height: 350px;
    }
    
    .slide-text h1 {
        font-size: 1.75rem;
    }
    
    .requirements-card {
        padding: 1.5rem;
    }
}
