/* ===========================
   MAMO FITNESS STYLE V2
=========================== */

@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700;800&display=swap');



:root{
    --main:#ff7b00;
    --main2:#ff9b21;
    --dark:#0b0b0b;
    --dark2:#151515;
    --card:#1d1d1d;
    --text:#ffffff;
    --gray:#c8c8c8;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Tajawal',sans-serif;
}

html{
    scroll-behavior:smooth;
}


body{

    background: linear-gradient(90deg, #272727, #181818, #131212);

    color:var(--text);


}



/* ================= HEADER ================= */

.header{

    position: sticky;
    top:0;
    z-index:999;

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:1px 2%;

    background:rgba(10,10,10,.75);

    backdrop-filter:blur(14px);

    border-bottom:1px solid rgba(255,255,255,.08);

}

.left{

    display:flex;
    align-items:center;
    gap:18px;

}

.logo{

    width:70px;
    transition:.35s;
}

.logo:hover{

    transform:rotate(-5deg) scale(1.08);

}

.left h1{

    font-size:28px;
    font-weight:800;

    color:white;

}

.left h1 span{

    color:var(--main);

}
.btn1{
        

    background:var(--card);

    color:white;

    font-size:34px;

    cursor:pointer;

    transition:.3s;
    padding: 10px;



}
.btn1:hover{
    color: var(--main);
    transform:scale(1.15) ;
}

.menu-btn{

    border:none;

    background:none;

    color:white;

    font-size:34px;

    cursor:pointer;

    transition:.3s;

}

.menu-btn:hover{

    color:var(--main);

    transform:scale(1.15);

}

.menu{
        position: sticky;
    top: 81px;
    z-index:999;
    display:none;

    flex-direction:column;

    background:#101010;

}

.menu.active{

    display:flex;

}

.menu a{

    color:white;

    text-decoration:none;

    padding:15px 25px;

    transition:.3s;

    border-bottom:1px solid rgba(255,255,255,.05);

}

.menu a:hover{

    background:var(--main);

    padding-right:35px;

}

/* ================= ABOUT ================= */

.about{

    display: block;

    align-items:center;

    gap:10px;

}

.image-container{

    position:relative;
    


}

.image-container img{


    width:100%;

    transition:.5s;

}




.center-btn{

    position:absolute;

    left:50%;

    top:80%;

    transform:translate(-50%,-50%);

    z-index:5;

    text-decoration:none;

    color:white;

    font-weight:700;

    font-size:19px;

    padding:15px 42px;

    border-radius:50px;

    background:linear-gradient(45deg,var(--main),var(--main2));

    box-shadow:0 10px 35px rgba(255,120,0,.45);

    transition:.35s;

}
.image-container{
    overflow: hidden;
    border-radius: 10px; /* إذا عندك زوايا دائرية */
}

.image-container img{
    display: block;
    width: 100%;
    animation: zoom 10s ease-in-out infinite;
}

@keyframes zoom{
    0%   { transform: scale(1); }
    50%  { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.center-btn:hover{

    transform:translate(-50%,-50%) scale(1.08);

    box-shadow:0 18px 45px rgba(255,120,0,.7);

}

.about h2{

    font-size:44px;

    margin-bottom:20px;

}

.about h3{

    color:var(--gray);

    line-height:2;

    font-size:18px;

    font-weight:500;

}

.about span{

    color:var(--main);

}

.pro{

    padding-top:1px;

}

.menu-ticker{
    overflow:hidden;
    width:100%;
    background: var(--main); 
    padding:5px 0;

}
.menu-track {
    display:flex;
    width:max-content;
    animation:ticker-scrol 30s linear infinite;
}
.menu-ticker span {
    white-space: nowrap;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--dark);
    box-shadow: 0 0 30px var(--dark);
    padding: 0 10px;
    position: relative;

}
.menu-ticker span::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 20px;
    background: var(--dark);
}
.menu-ticker span:last-child::after {
    display: none;
}
@keyframes ticker-scrol {

    from {
        transform:translateX(0);
    }

    to {
        transform:translateX(50%);
    }

}

.mySwiper{
    width:100%;
    height:100%;
    padding:50px 0;
    margin-top:20px;
    
}

.swiper-slide{
    width:300px !important;
    height:auto;
}

.swiper-slide img{
    width:100%;
    display:block;
    border-radius:20px;
}


.swiper-slide-active{
    transform:translateY(-30px);
    z-index:10;
    
}

.swiper-slide:not(.swiper-slide-active){
    opacity:.3;
}

/* الخطط */

.plans {
    text-align: center;
    padding: 60px 20px;
}


.plans h2 {
    font-size: 38px;
    margin-bottom: 40px;
    color: #fff;
}



.plan {

    background: var(--text);

    padding: 30px;

    margin: 15px;

    border-radius: 25px;

    display: inline-flex;

    flex-direction: column;

    justify-content: space-between;

    vertical-align: top;

    width: 330px;

    min-height: 520px;

    box-shadow: 0 10px 30px rgba(136,79,41,.5);

    transition: .3s;

}


.plan:hover {

    transform: translateY(-10px);

}


.plan h3 {

    font-size: 24px;

    margin-bottom: 20px;

    color: #111;

}


.plan ul {

    list-style: none;

    padding: 0;

    margin: 0;

    text-align: right;

}


.plan li {

    font-size: 16px;

    line-height: 1.8;

    color: #222;

    margin-bottom: 8px;

}


.price {

    font-size: 22px;

    font-weight: bold;

    color: var(--main);

    margin-top: 20px;

}


.plan button {

    background: var(--main);

    color: white;

    border: none;

    padding: 14px 30px;

    border-radius: 12px;

    cursor: pointer;

    font-size: 17px;

    font-weight: bold;

    transition: .3s;

}


.plan button:hover {

    background: #333;

    transform: scale(1.05);

}


/* الباقة المميزة */
/*تعديل*/


.plan.featured {

    transform:scale(1.05);

    box-shadow:
        0 0 15px var(--main),
        0 0 35px var(--main2);

    animation:goldGlow 1s infinite alternate;

}


@keyframes goldGlow {

    from{

        box-shadow:
        0 0 1px var(--main),
        0 0 1px var(--main2);

    }

    to{

        box-shadow:
        0 0 5px var(--main),
        0 0 30px var(--main2);

    }

}

/* للموبايل */

@media(max-width:700px){

    .plan{

        width:90%;

        max-width:330px;

        margin:20px auto;

    }


    .plans h2{

        font-size:30px;

    }

}

/* نموذج التسجيل */

.contact {
    background: none;
    border-radius: 15px;
    text-align: center;
}

input {
    display: block;
    width: 90%;
    max-width: 400px;
    margin: 10px auto;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
}


.user{
    padding:50px 0;
    text-align:center;
}


.user h2{
    font-size:35px;
    margin-bottom:30px;
}


.userSwiper{
    width:100%;
    padding:50px 0;
}


.userSwiper .swiper-slide{

    width:280px;
    transition:.5s;

}


.userSwiper img{

    width:100%;
    height:100%;
    object-fit:cover;
    border-radius:30px;
    box-shadow:0 15px 40px rgba(0,0,0,.5);

}



#form-page{

    min-height:100vh;

    display:flex;

    justify-content:center;

    align-items:center;

    padding:30px;

}


.form-card{

    width:100%;

    max-width:450px;

    background:#1b1b1b;

    padding:35px;

    border-radius:25px;

    box-shadow:0 20px 60px rgba(0,0,0,.5);

    position:relative;
    margin: 0 auto;

}


.form-card h2{

    text-align:center;

    color:white;

    margin-bottom:30px;

    font-size:28px;

}







.form-card label{

    display:block;

    color:#ddd;

    margin:12px 0 6px;

    font-size:15px;

}



.form-card input{

    width:100%;

    padding:14px;

    border-radius:12px;

    border:none;

    outline:none;

    background:#292929;

    color:white;

    font-size:16px;

}



.form-card input:focus{

    border:2px solid rgb(216,97,0);

}



.form-card input[readonly]{

    background:#333;

    color:#ff9800;

    font-weight:bold;

}



.submit-btn{

    width:100%;

    margin-top:25px;

    padding:15px;

    border:none;

    border-radius:12px;

    background:rgb(216,97,0);

    color:white;

    font-size:18px;

    font-weight:bold;

    cursor:pointer;

}


.submit-btn:hover{

    background:#ff7300;

}

.success-message{

    display:none;

    text-align:center;

    margin-top:20px;

    font-size:20px;

    color:#22c55e;

    font-weight:bold;

}

/* pord */
.pord{
display: flex;
height: 100%;
border-top: 3px solid rgb(105, 105, 104);
background-color: #222;


}
.howmy a{
    color: var(--main);
    display: flex;
    flex-direction: column;
    margin: 20px;
    text-decoration: none;
    border: none;
}
/* ================= CALCULATOR ================= */


#calorie-page{

    display:none;
    width: 100%;

    position:fixed;
    inset:0;

    justify-content:center;
    align-items:center;

    background:rgba(11,11,11,.95);

    z-index:9999;
     overflow-y: auto;

}

#calorie-page.active{

    display:block;
   

}

.calculator{
    width: fit-content;
    margin:auto;

    background:var(--card);

    border-radius:20px;

    padding:30px;

    border:1px solid rgba(255,255,255,.08);

    box-shadow:0 20px 60px rgba(0,0,0,.45);

    animation:fade .4s;

}

.calculator h2{

    color:var(--text);

    text-align:center;

    margin-bottom:8px;

}

.calculator p{

    color:var(--gray);

    text-align:center;

    margin-bottom:25px;

}

.input-box{

    display:flex;

    flex-direction:column;

    margin-bottom:18px;

}

.input-box label{

    color:var(--gray);

    margin-bottom:8px;

    font-size:.95rem;

}

.input-box input,
.input-box select{

    background:var(--dark2);

    color:var(--text);

    border:2px solid transparent;

    border-radius:12px;

    padding:14px;

    font-size:15px;

    transition:.3s;

    outline:none;

}

.input-box input:focus,
.input-box select:focus{

    border-color:var(--main);

}

/* ================= BUTTON ================= */

.btn{

    width:100%;

    border:none;

    border-radius:12px;

    padding:15px;

    background:linear-gradient(90deg,var(--main),var(--main2));

    color:white;

    font-size:17px;

    cursor:pointer;

    transition:.3s;

}

.btn:hover{

    transform:translateY(-3px);

    box-shadow:0 10px 25px rgba(255,123,0,.35);

}

/* ================= RESULT ================= */

#result-card{

    display:none;

    text-align:center;

}

.main-calories{

    margin:25px 0;

}

.main-calories span{

    display:block;

    font-size:55px;

    color:var(--main);

    font-weight:bold;

}

.main-calories p{

    color:var(--gray);

    margin-top:8px;

}

.result-grid{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:18px;

    margin-top:25px;

}

.result-grid .item{

    background:var(--dark2);

    border-radius:15px;

    padding:18px;

    transition:.3s;

}

.result-grid .item:hover{

    transform:translateY(-5px);

    background:#222;

}

.result-grid span{

    font-size:30px;

}

.result-grid h3{

    color:white;

    margin:10px 0;

    font-size:22px;

}

.result-grid small{

    color:var(--gray);

}

/* ================= CLOSE BUTTON ================= */

.close-btn{

    position:absolute;

    top:5px;

    right:5px;

    width:30px;

    height:30px;

    border:none;

    border-radius:50%;

    background:var(--main);

    color:white;

    font-size:22px;

    cursor:pointer;

    transition:.3s;

}

.close-btn:hover{

    background:var(--main);

    transform:rotate(90deg);

}

/* ================= ANIMATION ================= */

@keyframes fade{

    from{

        opacity:0;

        transform:translateY(20px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

/* ================= عنوان ================= */
.benefits-section {
    padding: 90px 20px;
    background: none;
    color: #fff;
    direction: rtl;
    text-align: right;
    width: 100%;
}

.benefits-accordion {
    width: 100%;
    margin: 0 0 0 auto;
}
.benefits-header span {
    display: block;
    color: #f59e0b;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.benefits-header h2 {
    
    font-size: 36px;
    margin: 0 0 15px;
    
}

.benefits-header h2 strong {
    color: #f59e0b;
}

.benefits-header p {
    color: #aaa;
    line-height: 1.8;
    font-size: 16px;
}


/* القائمة */

.benefits-accordion {
    
    margin: 0 0 auto;
    width: 100%;
}


/* كل عنوان */

.benefit-item {
    border-bottom: 1px solid #292929;
}

.benefit-title {
    width: 100%;
    padding: 25px 10px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: transparent;
    border: none;
    outline: none;

    color: #fff;
    font-family: inherit;
    font-size: 18px;
    font-weight: 700;

    cursor: pointer;
    text-align: right;
}

.benefit-title:hover {
    color: #f59e0b;
}


/* علامة + */

.benefit-icon {
    color: #f59e0b;
    font-size: 28px;
    font-weight: 300;

    transition: transform 0.3s ease;
}


/* الشرح */

.benefit-content {
    max-height: 0;
    overflow: hidden;

    transition: max-height 0.4s ease;
}

.benefit-content p {
    margin: 0;
    padding: 0 10px 25px;

    color: #aaa;
    font-size: 15px;
    line-height: 1.9;
}


/* لما ينفتح */

.benefit-item.active .benefit-content {
    max-height: 200px;
}

.benefit-item.active .benefit-icon {
    transform: rotate(45deg);
}


/* الموبايل */

@media (max-width: 600px) {

    .benefits-section {
        padding: 70px 15px;
    }

    .benefits-header h2 {
        font-size: 28px;
    }

    .benefit-title {
        font-size: 16px;
        padding: 22px 5px;
    }

    .benefit-content p {
        font-size: 14px;
        padding-left: 5px;
        padding-right: 5px;
    }

}





/* ================= MOBILE ================= */

@media(max-width:600px){

    .calculator{

        padding:20px;
        

    }

    .result-grid{

        grid-template-columns:1fr;

    }

    .main-calories span{

        font-size:42px;

    }

}

/* للموبايل */

@media(max-width:700px){

    .about {
        flex-direction: column;
        text-align: center;
        display: block;
    }

    .about img {
        width: 100%;
        height: auto;
    }

    .plan {
        width: 90%;
        margin: 15px auto;
    }
    .nav {
        display: none;
        flex-direction: column;
        align-items: center;
    }

}

