/* =========================
   LANGUAGE SWITCHER
========================= */

.language-switcher{
    
    margin-top: 15%;
    position: fixed;

    top: 25px;
    right: 25px;

    z-index: 1001;

    transition: .4s ease;
}

.lang-btn{

    min-width: 120px;
    height: 55px;

    padding: 0 20px;

    border: 1px solid rgba(255,255,255,.2);

    border-radius: 999px;

    cursor: pointer;

    color: white;

    font-size: 16px;

    font-weight: 600;

    letter-spacing: 1px;

    backdrop-filter: blur(15px);

    background:
    rgba(255,255,255,.12);

    box-shadow:
    0 10px 30px rgba(0,0,0,.25);

    transition: .35s;
}

.lang-btn:hover{

    transform:
    translateY(-3px)
    scale(1.03);

    background:
    rgba(184,44,44,.85);

    box-shadow:
    0 15px 35px rgba(184,44,44,.4);
}

.language-switcher.hidden{

    opacity: 0;

    visibility: hidden;

    transform: translateY(-20px);
}

@media (max-width:768px){
    
    .language-switcher{
        margin-top: 1%;
        top: 20px;
        right: 20px;
    }

    .lang-btn{

        min-width: 75px;

        height: 55px;

        padding: 0 15px;

        font-size: 14px;
    }

}


html,
body{

    width: 100%;
    min-height: 100%;
}

/* RESET */
body.no-scroll {
    overflow: hidden;
}

.body{
    margin: 0;

}
/* الشريط العلوي */
.one {
    background-color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
}

/* القائمة الأفقية */
.tow {
    display: block;
    background-color: rgb(184, 44, 44);
}
.sidebar-header{
    display: flex;

}


.menu-items {
    display: flex;
    width: 100%;
}

.menu-items button {
    flex: 1;
    background: none;
    border: none;
    color: white;
    padding: 15px;
    cursor: pointer;
}

.menu-items button:hover {
    background-color: rgb(150, 30, 30);
}

.menu-toggle.hidden {
    display: none;
}
/* نخفي أشياء الموبايل */
.menu-toggle {
    display: none;
}
.menu-toggle.hide,
.overlay {
    display: none;
    opacity: 0;
    transform: scale(0.8);
}


/* الهيدر داخل القائمة */
.sidebar-header {
    display: flex;              /* 👈 السر */
    justify-content: space-between; /* يبعد العناصر */
    align-items: center;
    padding: 5px;
    background: white;
    border-bottom: 1px solid #eee;
}

/* الصورة (اللوجو) */
.sidebar-header img {
    width: 120px;
    height: 120px;  
}

/* زر التسجيل */
.sidebar-header button {
    background: white;
    border: 1.5px solid black;
    color: black;
    padding: 10px 14px;
    border-radius: 12px;
    cursor: pointer;
    transition: 0.25s;
}

/* Hover محترم */
.sidebar-header button:hover {
    background: black;
    color: white;
    transform: translateY(-1px); /* حركة خفيفة */
}



@media (max-width: 768px) {

    
    /* زر دائري */
    .menu-toggle {
        position: fixed;
        top: 20px;
        left: 20px;
        width: 55px;
        height: 55px;
        border-radius: 50%;
        background-color: rgb(184, 44, 44);
        color: rgb(255, 255, 255);
        font-size: 22px;
        border: none;
        z-index: 1001;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: 0.3s;

    }

    /* الخلفية السوداء */
    .overlay {
        position: fixed;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.4);
        display: none;
        z-index: 999;
    }

    .overlay.show {
        display: block;
    }

    /* القائمة الجانبية */
    .tow {
        
        position: fixed;
        top: 0;
        left: -270px;
        width: 270px;
        height: 100vh;
        overflow-y: auto;
        flex-direction: column;
        background-color: white; /* 👈 أصبحت بيضاء */
        transition: 0.3s;
        z-index: 1000;
    }

    .tow.show {
        left: 0;
    }

    /* الهيدر */
    .sidebar-header {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        background: white;
    }

    .sidebar-header img {
        width: 80px;
        margin-bottom: 10px;
    }

    .sidebar-header button {
        background: white;
        border: 1px solid black; /* 👈 الحواف السوداء */
        padding: 10px;
        border-radius: 10px;
        cursor: pointer;
    }

    /* الأزرار */
    .menu-items {
        display: flex;
        flex-direction: column;
        padding: 15px;
        gap: 10px;
    }

    .menu-items button {
        color: black;
        background: #f5f5f5;
        border-radius: 8px;
        text-align: left;
    }

    /* نخفي النسخة العادية */
    .one {
        display: none;
    }
}
/* ----------------------------------------------------------------- */
/* ----------------------------------------------------------------- */

/* ================================================= */
/* START PAGE */
/* ================================================= */

.start-page{

    position: relative;

    width: 100%;
    min-height: 100vh;

    overflow: hidden;

    display: flex;

    justify-content: center;
    align-items: center;

    text-align: center;

    padding: 40px;
    box-sizing: border-box;

    background:
    linear-gradient(
        135deg,
        #090909,
        #111111,
        #1a1a1a
    );
}

/* ================================================= */
/* GLOW EFFECT */
/* ================================================= */

.start-glow{

    position: absolute;

    border-radius: 50%;

    filter: blur(120px);

    opacity: 0.45;

    animation: floatGlow 8s ease-in-out infinite;
}

.glow-one{

    width: 400px;
    height: 400px;

    background: rgb(184,44,44);

    top: -120px;
    left: -100px;
}

.glow-two{

    width: 350px;
    height: 350px;

    background: rgba(255,255,255,0.15);

    bottom: -120px;
    right: -80px;
}

@keyframes floatGlow{

    0%{
        transform: translateY(0px);
    }

    50%{
        transform: translateY(30px);
    }

    100%{
        transform: translateY(0px);
    }
}

/* ================================================= */
/* CONTENT */
/* ================================================= */

.start-content{

    position: relative;

    z-index: 2;

    max-width: 850px;

    padding: 70px 50px;

    border-radius: 35px;

    background:
    linear-gradient(
        135deg,
        rgba(255,255,255,0.10),
        rgba(255,255,255,0.03)
    );

    backdrop-filter: blur(18px);

    border:
    1px solid rgba(255,255,255,0.15);

    animation: fadeUp 1s ease;

    box-shadow:
    0 20px 50px rgba(0,0,0,0.5);
}

    @keyframes fadeUp{

        from{

            opacity: 0;

            transform:
            translateY(40px);
        }

        to{

            opacity: 1;

            transform:
            translateY(0);
        }
    }
/* ================================================= */
/* BADGE */
/* ================================================= */

.start-badge{

    display: inline-block;

    padding: 12px 22px;

    border-radius: 999px;

    background:
    rgba(255,255,255,0.08);

    border:
    1px solid rgba(255,255,255,0.18);

    color: rgba(255, 255, 255, 0.952);

    letter-spacing: 2px;

    font-size: 14px;

    margin-bottom: 30px;
    text-shadow:
    0 7px 3px rgba(0,0,0,0.6);
    
}

/* ================================================= */
/* TITLE */
/* ================================================= */
html[dir="rtl"] .A,
html[dir="rtl"] .B{
    text-align: right;
    padding-right: 25px;
}

html[dir="ltr"] .A,
html[dir="ltr"] .B{
    text-align: left;
    padding-left: 25px;
}

.start-content h1{

    color: white;

    font-size: clamp(45px,7vw,90px);

    line-height: 1.05;

    margin-bottom: 30px;

    font-family: 'Times New Roman', Times, serif;

    text-shadow:
    0 7px 4px rgba(0,0,0,0.6);
}

.span{
        font-size: clamp(45px,7vw,90px);

    color: rgb(184,44,44);
    text-shadow:
    0 7px 1px rgba(0,0,0,0.6);
}

/* ================================================= */
/* TEXT */
/* ================================================= */

.start-content p{

    color: rgba(255,255,255,0.82);

    font-size: clamp(18px,2vw,24px);

    line-height: 1.8;

    margin-bottom: 45px;
}

/* ================================================= */
/* BUTTONS */
/* ================================================= */

.start-buttons{

    display: flex;

    justify-content: center;

    gap: 20px;

    flex-wrap: wrap;
}

.start-buttons button{

    min-width: 240px;

    height: 62px;

    border: none;

    border-radius: 18px 5px;

    font-size: 18px;

    cursor: pointer;

    transition: 0.35s ease;
}

/* LOGIN */

.login-btn{

    background:
    linear-gradient(
        135deg,
        rgb(184,44,44),
        rgb(120,20,20)
    );

    color: white;

    box-shadow:
    0 15px 35px rgba(184,44,44,0.4);
}

.login-btn:hover{

    transform:
    translateY(-6px)
    scale(1.04);

    box-shadow:
    0 25px 45px rgba(184,44,44,0.55);
}

/* OWNER */

.owner-btn{

    background:
    rgba(255,255,255,0.08);

    border:
    1px solid rgba(255,255,255,0.2);

    color: white;

    backdrop-filter: blur(10px);
}

.owner-btn:hover{

    transform:
    translateY(-6px);

    background:
    rgba(255,255,255,0.14);
}

/* ================================================= */
/* BACK BUTTON */
/* ================================================= */

.back-btn{

    position: absolute;

    top: 25px;
    left: 25px;

    z-index: 10;

    width: 140px;
    height: 50px;

    border: none;

    border-radius: 14px;

    background:
    rgba(255,255,255,0.08);

    border:
    1px solid rgba(255,255,255,0.15);

    color: white;

    font-size: 16px;

    cursor: pointer;

    backdrop-filter: blur(12px);

    transition: 0.3s;
}

.back-btn:hover{

    transform: translateX(-4px);

    background:
    rgba(255,255,255,0.15);
}
/* ================================================= */
/* MOBILE */
/* ================================================= */

@media (max-width:768px){

    
    .start-page{

        width: 100%;
        min-height: 100vh;

        padding:
          80px 30px 100px 30px;
        /* 👆 نزلنا الصفحة تحت زر القائمة */

        box-sizing: border-box;

        align-items: flex-start;
        /* 👆 يبدأ المحتوى من الأعلى قليلاً بدل الوسط */
    }

    .start-content{

        width: 100%;

        max-width: 100%;

        padding: 45px 22px;

        border-radius: 28px;

        
        margin-top: 10px;
    }
    

    .start-content h1{

        font-size: 46px;

        line-height: 1.1;
    }

    .start-content p{

        font-size: 18px;

        line-height: 1.7;
    }

    .start-buttons{

        flex-direction: column;

        align-items: center;

        width: 100%;
    }

    .start-buttons button{

        width: 100%;

        max-width: 100%;

        height: 60px;
    }

    .back-btn{

        top: 90px;
        /* 👈 صار تحت زر القائمة */

        left: 20px;

        width: 115px;

        height: 44px;

        font-size: 15px;
    }

}