:root {
    --jordan-red: #ce1126;
    --jordan-black: #0b0b0b;
    --text-white: #ffffff;
}

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

body {
    background-color: var(--jordan-black);
    color: var(--text-white);
    font-family: 'Tajawal', sans-serif;
    overflow: hidden;
    height: 100vh;
}

html { scroll-behavior: smooth; }


h1, h2, h3, .logo, .menu { 
    font-family: 'Rubik', sans-serif; 
    font-weight: 400; 
}


nav {
    position: absolute; top: 0; width: 100%; padding: 40px 60px;
    display: flex; justify-content: space-between; align-items: center; z-index: 100;
}

.logo { 
    font-weight: 900; font-size: 1.5rem; letter-spacing: 0; color: var(--text-white); 
    text-shadow: 0 0 15px rgba(206, 17, 38, 0.4);
}

.menu { display: flex; gap: 50px; list-style: none; }
.menu li { font-size: 1rem; opacity: 0.7; cursor: pointer; transition: 0.3s; font-weight: 700; }
.menu li:hover { opacity: 1; color: var(--jordan-red); }


.slider-container { position: relative; width: 100%; height: 100vh; }

.slide {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    visibility: hidden; opacity: 0; z-index: 1;
}
.slide.active { visibility: visible; opacity: 1; z-index: 2; }


.hero-video {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 1;
}

.overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.4); 
    z-index: 2;
}


.img-container {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    overflow: hidden;
}

.slide-img {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover; background-position: center;
    filter: brightness(0.5);
    transform: scale(1.3);
}


.content {
    position: absolute; top: 50%; right: 15%;
    transform: translateY(-50%); z-index: 10;
    text-align: right;
    max-width: 800px;
}

.subtitle {
    font-family: 'Cairo'; color: var(--jordan-red); letter-spacing: 1px;
    text-transform: uppercase; margin-bottom: 15px; font-size: 1.1rem;
    font-weight: 700;
    overflow: hidden;
    display: inline-block;
    border-bottom: 2px solid var(--jordan-red);
}

.title-wrapper { overflow: hidden; }

.title {
    font-family: 'Lalezar', cursive; 
    font-size: 7rem; 
    line-height: 1.1; 
    color: #fff; font-weight: 400;
    transform: translateY(100%);
    margin-bottom: 10px;
}

.desc {
    font-family: 'Tajawal'; font-weight: 400; margin-top: 20px;
    color: rgba(255,255,255,0.8); font-size: 1.3rem;
    transform: translateY(20px); opacity: 0;
}

.weblixity-link { color: #fff; font-weight: bold; text-decoration: none; }
.credit-link { color: rgb(255, 61, 61); font-weight: bolder; text-decoration: none; }

.nav-btn {
    position: absolute; bottom: 80px; left: 100px;
    width: 70px; height: 70px; 
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%; display: flex; justify-content: center; align-items: center;
    cursor: pointer; background: var(--jordan-red); color: #fff; font-size: 1.5rem;
    z-index: 50; 
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), background 0.3s;
    box-shadow: 0 0 20px rgba(206, 17, 38, 0.3);
}

@media (min-width: 769px) {
    .nav-btn:hover { transform: scale(1.1); background: #a50e1e; }
}

.details-right {
    position: absolute; bottom: 80px; right: 60px;
    font-size: 0.8rem; line-height: 1.6; opacity: 0.6;
    border-right: 3px solid var(--jordan-red); padding-right: 20px; 
    font-family: 'Tajawal'; font-weight: 700;
    z-index: 50;
}

.slide-number {
    position: absolute; top: 50%; left: 60px;
    transform: translateY(-50%) rotate(-90deg);
    font-family: 'Cairo'; font-size: 1rem; letter-spacing: 2px;
    color: rgba(255,255,255,0.3); z-index: 50;
}

@media (max-width: 1024px) {
    .title { font-size: 5rem; }
    .content { right: 10%; }
    .nav-btn { left: 60px; }
}

@media (max-width: 768px) {
    nav { padding: 20px 30px; }
    .menu { display: none; } 
    
    .content { 
        right: 50%; 
        transform: translate(50%, -50%); 
        text-align: center; 
        width: 90%; 
    }
    
    .title { font-size: 3.5rem; margin-bottom: 20px; }
    .desc { font-size: 1.1rem; }
    
    .nav-btn {
        bottom: 40px; 
        left: 50%;
        transform: translateX(-50%);
    }

    .nav-btn:hover, .nav-btn:active {
        transform: translateX(-50%) scale(1.1);
        background: #a50e1e;
    }

    .details-right { display: none; }
    .slide-number { display: none; }
}

@media (max-width: 768px) {

    .slide:nth-child(3) .slide-img,
    .slide:nth-child(4) .slide-img {

        background-position: 15% center !important; 
    }
}