body {
    direction: ltr;
    margin: 0;
    background: linear-gradient(224deg, #a513d5d9, #fd67cfc7, #6687ff);
    /* background-size: cover; */
    background-repeat: no-repeat;
    font-family: "Roboto Slab", serif;
    font-optical-sizing: auto;
    font-weight: 600;
    height: 100vh;
    box-sizing: border-box;
    font-style: normal;
}



.hamburger {
    display: none;
}

.form-section {
    display: flex;
    margin: 15px auto;
    text-align: center;
    justify-content: center;
}

#up-form {
    display: grid;
    text-align: start;
    padding: 10px;
}

.navbar {
    box-shadow: 0px 0px 10px black;
    background-color: white;
    text-align: center;
    display: flex;
    align-items: center;
    flex-direction: row;
    align-content: stretch;
    justify-content: flex-start;
    z-index: 1;
    height: 25px;
    margin: 0 auto;
    padding: 12px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    transition: transform 0.5s ease-in-out;
}

.links {
    text-align: center;
    display: flex;
    align-items: center;
    flex-direction: row;
    height: 37px;
    transition: transform 0.5s ease-in-out;
}

.links a {
    position: relative;
    text-decoration: none;
    padding: 0px 10px;
    font-size: 20px;
    color: #2575fc;
    cursor: pointer;
    display: inline-block;
    font-weight: bold;
}

.links a::after {
    transform: scaleX(0);
    content: "";
    position: absolute;
    font-weight: bold;
    transform-origin: left;
    transition: transform 0.3s ease-in-out;
    color: white;
    left: 0;
    bottom: -5px;
    width: 100%;
    height: 2px;
    background-color: white;
}


.links a:hover::after {
    transform: scaleX(1);
}

.navbar img {
    width: 60px;
    height: 40px;
    transition: transform 0.5s ease-in-out, box-shadow 0.7s ease-in-out;

}

.navbar img:hover {
    transform: scale(1.1);
}

#up-btn {
    background: #2575fc;
    color: white;
    border: none;
    margin-top: 15px;
    /* padding: 305px 0px; */
    height: 37px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    transition: 0.3s;
}

#up-btn:hover {
    background: #6a11cb;
}

.links a:hover::after {
    transform: scaleX(1);
}
.navbar a {
    text-decoration: none;
    font-size: 20px;
}
.navbar img {
    width: 60px;
    height: 40px;
    padding: 14px;
    transition: transform 0.5s ease-in-out, box-shadow 0.7s ease-in-out;

}

.navbar img:hover {
    transform: scale(1.1);
}


.login-box {
    box-shadow: 0px 0px 10px black;
    width: 100%;
    height: 50px;
    background-color: white;
    padding: 0px 17px;
    border-radius: 15px;
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: start;
    gap: 5px;
}

.login-box h2 {
    color: white;
    padding: 0px 5px;
    text-align: center;
    color: #2575fc;
    font-size: 20px;
    /* height: 18px; */
    right: 10px;
    display: flex;
    position: relative;
    justify-content: center;
}

.form-container {
    background: #ffffff14;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0px 4px 18px 6px rgb(0 0 0 / 90%);
    width: 350px;
}

.form-container h2 {
    text-align: center;
    margin-bottom: 20px;
}

form label {
    display: block;
    margin: 10px 0 5px;
}

form input {
    padding: 10px;
    /* margin-bottom: 15px; */
    border-radius: 6px;
    height: 15px;
    border: 1px solid #ccc;
    outline: none;
    transition: border 0.3s;
}

form input:focus {
    border-color: #2575fc;
}

#myButton,
#sign-btn {
    /* padding: 14px; */
    background: #2575fc;
    color: white;
    border: none;
    height: 37px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    transition: 0.3s;
}

#sign-btn:hover {
    background: #6a11cb;
}

#myButton:hover {
    background: #6a11cb;
}

.cards {

    padding: 30px 0;
    display: flex;
    gap: 35px;
    margin: 0 auto;
    flex-direction: row;
    justify-content: center;
}

/*h2:nth-child(1){
    color: red;
    position: absolute;
    top: 10rem;
}*/

.section {
    position: absolute;
    display: flex;
    top: 10rem;
    align-items: flex-start;
    align-content: space-between;

}

h4 {
    text-align: center;
    color: white;
    /* background-color: grey; */
    /* border: 1px solid; */
    border-radius: 12px;
    letter-spacing: 2px;
    width: fit-content;
    margin: 0 auto;

}

.store1,
.store2,
.store3 {
    background-color: rgba(255, 253, 253, 0.904);
    width: 230px;
    height: 297px;
    text-align: center;
    box-shadow: 6px 7px 24px #2575fc, -7px -7px 24px black;
    border-radius: 10px;
    align-items: center;
    /* margin: 0 auto; */
    justify-content: center;
    transform: scale(0.5);
    transition: opacity 1.8s ease, transform 0.8s ease;

}

.store1.show,
.store2.show,
.store3.show {
    opacity: 1;
    transform: scale(1);
}

.store1 img {
    width: 100%;
    height: 100%;
    border-radius: 15px;

}

.store2 img {
    width: 100%;
    height:100%;
    border-radius: 15px;

}

.store3 img {
    width: 100%;
    height: 100%;
    border-radius: 15px;

}

.fa-cart-shopping,
.fa-shopping-cart {
    --fa: "\f07a";
    color: #2575fc;
    font-size: 20px;
}

.cards a {
    text-decoration: none;
    color: white;
    font-size: 17px;
    border-radius: 10px;
    background: #2575fc;
    padding: 0 10px;
    /* align-items: center; */
    /* width: fit-content; */
    /* text-align: center; */
    transition: transform 0.5s ease-in-out;
    display: inline-block;
    box-shadow: 0px 2px 10px rgb(53 53 53);
}

.cards a:hover {
    transform: scale(1.1);
    color: white;
    font-size: 17px;
}



h1 {
    text-align: center;
    padding: 0 10px;
    color: white;
    /* background-color: grey; */
    border: 1px solid;
    border-radius: 12px;
    letter-spacing: 10px;
    width: fit-content;
    margin: 0 auto;
    margin-top: 40px;
}

p {
    FONT-SIZE: 14px;
    font-weight: bold;
}

h3 {
    font-size: 15px;
    background-color: #e972da;
    font-weight: bold;
    width: 66%;
    border-radius: 10px;
    margin: 0 auto;
    padding: 0px 0px;
}

.hamburger {
    display: none;
    font-size: 28px;
    color: white;
    cursor: pointer;
}

.shop a {
    text-decoration: none;
    font-size: 22px;
    color: #2575fc;
}

/* 📱 موبايل صغير (أقل من 576px) */
@media (max-width: 576px) {
    .navbar {
        flex-direction: column;
        height: auto;
        justify-content: center;
    }

    .links {
        flex-direction: column;
        gap: 10px;
    }

    .links a {
        font-size: 16px;
        padding: 5px;
    }

    .navbar img {
        width: 50px;
        height: 35px;
        margin-bottom: 8px;
    }

    .section-one {
        height: 20rem;
        font-size: 20px;
        background-image: url('/media/2.png');
    }

    .section-two,
    .section-three,
    .section-four {
        width: 100%;
        height: auto;
        padding: 20px;
        font-size: 18px;
    }

    .section-two h2,
    .section-three h2,
    .section-four h2 {
        width: 60%;
        font-size: 22px;
    }

    .cards {
        flex-direction: column;
        align-items: center;
    }

    .gallery img {
        width: 90%;
        height: auto;
    }

    .icons {
        gap: 20px;
    }
}

/* 💻 لابتوب (من 769px لحد 1200px) */
@media (max-width: 1200px) {

    .section-two,
    .section-three,
    .section-four {
        width: 90%;
        font-size: 22px;
    }
body{
    margin:0;
    padding:0;
    height:100vh;
}
    .section-two h2,
    .section-three h2,
    .section-four h2 {
        width: 25%;
    }

    .gallery img {
        width: 30%;
    }
}

/* 🖥 شاشات كبيرة جداً (أكبر من 1600px) */
@media (min-width: 1600px) {
    .section-one {
        height: 45rem;
        font-size: 35px;
    }
    body{
    margin:0;
    padding:0;
    height:100vh;
}

    .section-two,
    .section-three,
    .section-four {
        width: 85%;
        font-size: 26px;
    }

    .section-two h2,
    .section-three h2,
    .section-four h2 {
        width: 20%;
        font-size: 32px;
    }

    .gallery img {
        width: 18%;
    }
}

@media (max-width: 768px) {
    .navbar {
        justify-content: space-between;
        padding: 0;
        display: flex;
        flex-direction: row;
        margin: 0 auto;
        direction: rtl;
        height: 50px;

    }
body{
    margin:0;
    padding:0;
    height:100%;
}
    form input {
        direction: ltr;
        padding: 11px 0;
        gap: 2px;
        margin: 7px;
        border-radius: 6px;
        text-align: center;
        height: 10px;
        border: 1px solid #ccc;
        outline: none;
        transition: border 0.3s;
    }

    .links a {
        font-size: 18px;
        padding: 0 8px;
    }

    .section-two,
    .section-three,
    .section-four {
        width: 95%;
        height: auto;
        padding: 30px 15px;
        font-size: 20px;
    }

    .section-two h2,
    .section-three h2,
    .section-four h2 {
        width: 40%;
    }

    .gallery img {
        width: 45%;
        height: auto;
    }

    .cards {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hamburger {
        display: block;
        padding: 10px;
        color: black;
    }

     .links {
        height: 0;
        border-radius: 15px;
        position: absolute;
        top: 55px;
        background: white;
        width: 200px;
        overflow: hidden;
        right: 4px;
        transition: height 0.5s ease;
        z-index: 1;
    }

     .links a {
        padding: 15px;
        color: white;
        text-align: center;
        margin: 0 auto;
        border-radius: 17px;
        width: 80%;
        background-color: #2575fc;
        border-bottom: 1px solid #555;
    }	
    /* عند الفتح */
    .links.open {
        display: grid;
        height: 220px;
        position: absolute;
        width: 200px;
        border-radius: 15px;
        right: 4px;
        top: 52px;
        z-index: 1;
    }



    #myButton {
        margin-bottom: 5px;
    }

    h1 {
        font-size: 15px;
        letter-spacing: 5px;
        padding: 10px 0;
    }

    #sign-btn {

        height: 30px;

    }

}

@media (max-width: 1200px){
    body{
        height:100%;
    }
}