* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Cairo', sans-serif;
}

:root {
    --primary-color: #CD0606;
    --text-bg: rgba(0, 0, 0, 0.6);
    --white: #ffffff;
    --light-gray: #f0f0f0;
}

html {
    scroll-behavior: smooth;
}
/* Header Styles */
header {
    padding: 20px 0;
    position: relative;
    text-align: center;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    transition: all 0.5s ease;
}

.logo {
    width: 180px;
    height: 180px;
    margin: 0 auto 20px;
    opacity: 0;
    transform: translateY(30px);
    transition: transform 0.5s ease;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--primary-color);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.1); /* تكبير الشعار عند التمرير */
}

.header-content {
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: transform 0.5s ease, opacity 1s ease;
}

.header-content h1 {
    font-size: 3.5rem;
    margin-bottom: 10px;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    transition: color 0.5s ease;
}

.header-content h1:hover {
    color: var(--primary-color); /* تغيير اللون عند التمرير */
}

.header-content p {
    font-size: 1.5rem;
    color: var(--white);
    opacity: 0.9;
    margin-bottom: 30px;
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 24px;
    color: var(--white);
    animation: bounce 2s infinite;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.scroll-down:hover {
    transform: translateY(5px); /* رفع الأيقونة قليلاً عند التمرير */
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-20px) translateX(-50%);
    }
    60% {
        transform: translateY(-10px) translateX(-50%);
    }
}

/* إضافة تأثيرات ظهور عند تحميل الصفحة */
header .logo, header .header-content, header .scroll-down {
    opacity: 1;
    transform: translateY(0);
}

/* Animations for header */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
body {
    background-image: url('https://cdn.discordapp.com/attachments/1276639014522196175/1358829978661290044/edb7a7b46a7cf3f9.png?ex=67f54488&is=67f3f308&hm=9fd066d76eb056936e26bf94bd52797ab90f929733933265e1295c34c97c6d44');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    color: var(--white);
    line-height: 1.6;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Styles for the Navbar */
#navbar {
    background-color: rgba(0, 0, 0, 0.8);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
}

#navbar ul {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

#navbar li {
    margin: 0 15px;
}

#navbar a {
    display: block;
    color: #fff;
    text-decoration: none;
    padding: 15px 20px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

#navbar a:hover {
    background-color: rgba(205, 6, 6, 0.2);
}

#navbar .active {
    border-bottom: 3px solid #CD0606;
}

/* Hamburger Menu Styles */
.menu-toggle {
    display: none;
}

/* أسلوب hamburger menu - اجعله ثابت */
.hamburger-menu {
    position: fixed;
    top: 20px;  /* يمكنك تعديل هذه القيمة حسب المكان الذي ترغب فيه */
    right: 20px; /* يمكنك تعديل هذه القيمة حسب المكان الذي ترغب فيه */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 35px;
    height: 25px;
    cursor: pointer;
    z-index: 1000; /* تأكد من أن الـ hamburger يظهر فوق المحتويات الأخرى */
    transition: all 0.3s ease;
}

.hamburger-menu .bar {
    width: 100%;
    height: 4px;
    background-color: var(--white);
    border-radius: 10px;
    transition: all 0.3s ease;
}


/* When the menu is toggled, the bars change into a cross */
.menu-toggle:checked + .hamburger-menu .bar:nth-child(1) {
    transform: rotate(45deg);
    position: relative;
    top: 9px;
}

.menu-toggle:checked + .hamburger-menu .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle:checked + .hamburger-menu .bar:nth-child(3) {
    transform: rotate(-45deg);
    position: relative;
    top: -9px;
}

/* Mobile Menu Styles */
#navbar ul {
    display: none;
    width: 100%;
    text-align: center;
    flex-direction: column;
    background-color: rgba(0, 0, 0, 0.9);
    position: absolute;
    top: 60px;
    left: 0;
}

#navbar .menu-toggle:checked + .hamburger-menu + ul {
    display: flex;
}

#navbar li {
    margin: 10px 0;
}

#navbar a {
    padding: 20px;
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    /* Show hamburger menu on small screens */
    .hamburger-menu {
        display: flex;
    }

    #navbar ul {
        display: none;
    }
}
/* Nav Styles */
nav {
    background-color: rgba(0, 0, 0, 0.8);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(-20px);
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
}

nav li {
    margin: 0;
    position: relative;
}

nav a {
    display: block;
    color: var(--white);
    text-decoration: none;
    padding: 20px 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

nav a:hover {
    background-color: rgba(205, 6, 6, 0.2);
    color: var(--white);
}

.active {
    border-bottom: 3px solid var(--primary-color);
}

/* Section Styles */
section {
    padding: 80px 0;
    background-color: var(--text-bg);
    margin: 40px 0;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(30px);
}

section .section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 40px;
    color: var(--white);
    position: relative;
    padding-bottom: 15px;
}

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

.about-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.2rem;
    line-height: 1.8;
    padding: 0 20px;
}

/* Social Media Section */
.social-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    padding: 0 20px;
}

.social-link {
    display: flex;
    align-items: center;
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-weight: 600;
}

.social-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.social-link i {
    margin-right: 10px;
    font-size: 1.2rem;
}

/* Videos Section */
.videos-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    padding: 0 20px;
}

.video-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
    height: 100%;
}

.video-card:hover {
    transform: translateY(-10px);
}

.video-thumbnail {
    position: relative;
    padding-bottom: 56.25%;
    background-color: #111;
    overflow: hidden;
}

.video-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.video-card:hover .play-icon {
    color: var(--primary-color);
    font-size: 3.5rem;
}

.video-info {
    padding: 20px;
}

.video-info h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.video-info p {
    color: var(--light-gray);
    font-size: 0.9rem;
}

/* Gallery Section */
.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    height: 250px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Story Section */
.story-content {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 8px;
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
}

.story-content p {
    margin-bottom: 15px;
}

.story-content p:last-child {
    margin-bottom: 0;
}

/* Discord Section */
.discord-section {
    text-align: center;
    padding: 0 20px;
}

.discord-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.discord-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.discord-button {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.discord-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    background-color: rgba(205, 6, 6, 0.8);
}

/* Clips Section */
.clips-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    padding: 0 20px;
}

.clip-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.clip-card:hover {
    transform: translateY(-10px);
}

/* Footer */
footer {
    text-align: center;
    padding: 40px 0;
    background-color: var(--text-bg);
    position: relative;
    opacity: 0;
    transform: translateY(30px);
}

footer p {
    margin-bottom: 20px;
}

.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    background-color: var(--primary-color);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: none;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 999;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
    }

    nav a {
        padding: 15px;
        text-align: center;
    }

    .header-content h1 {
        font-size: 2.5rem;
    }

    .header-content p {
        font-size: 1.2rem;
    }

    section {
        padding: 60px 15px;
    }

    .social-links, .discord-buttons {
        flex-direction: column;
        align-items: center;
    }

    .video-thumbnail {
        padding-bottom: 70%;
    }

    .gallery-container {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .logo {
        width: 150px;
        height: 150px;
    }
    
    .header-content h1 {
        font-size: 2rem;
    }
    
    .header-content p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .about-content, .story-content {
        font-size: 1rem;
    }
    
    .social-link, .discord-button {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}

/* Animations and hover effects */
.btn {
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
.video-link {
    text-decoration: none; /* يشيل الخط */
    color: inherit; /* يخلي اللون زي ما كان قبل ما يصير رابط */
}

.video-link h3 {
    color: #fff; /* أو أي لون تبغاه لعناوين المقاطع */
}
