*{
    margin: 0%;
    padding: 0%;
}

p {
    font-family: "cabin", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

/* header */
.logo{
    width: 200px;
}
a{
    text-decoration: none;
    color: white;
    font-size: 140%;
}

/* js  */
header {
    position: fixed; /* يجعل الـ header ثابت أعلى الصفحة */
    top: 0;
    width: 100%;
    /* padding: 20px; */
    z-index: 1000; /* التأكد من ظهور الـ header أعلى العناصر الأخرى */
    transition: background-color 0.3s ease, transform 0.3s ease-in-out;
    background-color: transparent; 
    display: flex;
}
header.scrolled {
    background-color: #102039a6; /* خلفية نصف شفافة */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* إضافة ظل */
}

/* الحالة عندما نمر للأسفل */
header.hide {
    transform: translateY(-100%); /* نقل الـ header خارج الشاشة */
}

/* الحالة عند العودة للأعلى */
header.show {
    transform: translateY(0); /* إرجاع الـ header إلى مكانه */
}
/* js */

header ul{
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
}
header ul li{
    margin-right: 30px;
    transform: translateX(-10px);
}
header ul li a {
    padding: 6px 15px;
    border-radius: 20px;
}
header ul li a:hover {
    background-color: #102039;
    color: #fff;;
}

.search input {
    border-radius: 50px;
    border: none;
    outline: none;
    height: 30px;
    padding: 0 10px;
    box-shadow: 20px 8px 20px rgba(24, 42, 97, 0.75) ;
    position: absolute;
    left: 1250px; 
    transform: translateY(65px);
}

.search button{
    position: absolute;
    left: 280px;
    height: 30px;
    width: 60px;
    border-radius:50px ;
    background-color: #102039;
    color: #fcfcfc;
    border: none;
    position: absolute;
    left: 1387px;
    transform: translateY(65px);
    }

.search button:hover{
    background-color:#3fd0d4;
    background-image: url("magnifying-black.png") ;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
    
}
.button{
    transform: translateX(1100px);
}


/* content */
.body{
    margin: 0;
    font-family: system-ui, -apple-system,
    BlinkMacSystemFont, 'Segoe UI', Roboto,
    Oxygen, Ubuntu, Cantarell,
    'Open Sans', 'Helvetica Neue', sans-serif;
}

/* js */
.landing-page {
    background-image: url(bg2.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    margin: 0px;
    background-attachment: fixed;

    position: relative; /* مهم لتحديد السياق للعناصر المضافة */
}

.overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* تحديد العناصر في منتصف الشاشة */
    color: white;
    text-align: center;
}
/* js */

.text-center{   
    background-color: rgba(0, 0, 0, 0.5);
    background-size:1920px 1080px;
    padding: 220px 0 200px ;
}

.landing-h1{
    color:white;
    font-size:30px;
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.landing-p{
    color:rgb(249, 242, 242);
    font-size:larger ;
    display: flex;
    justify-content: center;
    text-transform: uppercase;
    margin: 0;
}
/* ENDING LANDING PAGE */

/* tours */
.tours{
    padding: 25px 10px;
    margin: 10px 30px 0;
}

.tours span{
    color:#3ec4c9 ;
    text-transform: uppercase;
    font-size: 23px;
}    

.tours-header h1{
    font-size: 35px;
    margin: 0%;
    color: #102039;
}

/* tours card */
.card{
    width: 420px;
    background-color: #f1efef;
    border-radius: 60px;
    margin: 0 10px;
    box-shadow: 5px 5px 13px 2px   rgb(177, 186, 189);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* transform: translateX(-100px); /* تبدأ الكروت خارج الشاشة من اليسار */
    /* transition: all 0.8s ease-out; */ 
}
.card:hover{
    transform: scale(1.05);
    box-shadow: 0 8px 12px 0 rgba(0, 0, 0, 0.2);
}
/* .card.show {
    opacity: 1;
    transform: translateX(0); /* ترجع الكروت لمكانها الطبيعي 
}*/
.img-btn{
    position: relative;
    width: 100%;
    max-width: 450px;
}

.card-img{
    width: 420px;
    height:500px ;
    border-radius: 60px 60px 0 0;
} 

.card-info{
    padding: 0px 15px;
}

.upper-cardpart{
    padding: 5px 0 8px 0;
}

.card-name{
    height: 145px;
}

.card-name p{
    color: rgb(95, 85, 85);
}

.card-name h3{
    color: #102039;
    font-size: 25px;
    padding: 0 0 7px 0;
}

.lower-cardpart{
    padding: 5px 15px 0 15px ;
    margin-bottom: 0;
}

.lower-cardpart .price{
    color: #102039;
    font-style: bold;
    font-size: 23px;
    padding:10px 0 10px 0;
    
}

.btn{
    background-color: #102039;
    color: rgb(231, 232, 238);
    border: none;
    border-radius: 4px ;
    position: relative;
    left:220px;
    height: 50px;
    width: 130px;
    font-size: 19px;
    transform: translateY(-45px);
    cursor: pointer;
    transition: all 0.5s;
}

.btn span {
    cursor: pointer;
    display: inline-block;
    position: relative;
    transition: 0.5s;
}

.btn span:after {
    content: '\00bb';
    position: absolute;
    opacity: 0;
    top: 0;
    right: -20px;
    transition: 0.5s;
}

.btn:hover span {
    padding-right: 25px;
}

.btn:hover span:after {
    opacity: 1;
    right: 0;
}

.btn:hover{
    background-color:#3fd0d4;
}

.days{
    background-color: white;
    /* background-size: 170px 55px ; */
    color: #102039;
    height: 55px;
    width: 170px;
    border: none;
    border-radius: 60px 60px 60px 0 ;
    font-size: 18px;
    cursor: not-allowed;
    margin: 20px;
    
    transform: translateY(-490px);
    position: absolute;
    top: 100%;
    left: 3%;
}

.days:hover{
    background-color:#3fd0d4;
    color: white;
    box-shadow: 10px 10px 20px  rgb(106, 106, 111);
}

.first-tours{
    display: flex;
    gap:40px;
    padding: 25px 50px;
}


/* footer */
.tiktok{
    width:1.7%;
    margin: 2px;    
}

.twitter{
    width:1.7%;
    margin: 2px;
}

.instagram{
    width:1.7%;
    margin: 2px;
}

.facebook{
    width:1.7%;
    margin: 2px;
}

/* js */
.footer {
    background-image: url(footer.jpg); 
    background-size: cover;
    background-position: center;
    clip-path: inset(20% 0 0 0); 
    width: 100%;
    position: relative;
    transition: background-position 0.3s ease-out;
}



footer.show {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
   
} 
/* js */

.logo2{
    transform: translateX(500px);
    margin-bottom: 8%;
    margin-top: 5%;
    width: 35%;    
}

.content2{
    background-color: rgba(0, 0, 0, 0.372);
    background-size:1920px 1080px;
    /* padding: 220px 0 200px ; */
}

.part1{
    position: absolute;
    margin-left: 6%;
    list-style: none;
    color: #fff;
    transform: translateY(-300px);
    font-family:"Caveat", cursive;
    font-size: 130%;
}

.links1{
    position: absolute;
    transform: translateY(-300px);
    margin-left: 77%;
    color: #fff;
    font-family:"Caveat", cursive;
    font-size: 130%;
}

.links2{
    position: absolute;
    transform: translateY(-241px);
    margin-left: 90%;
    color: #fff;
    font-family:"Caveat", cursive; 
    font-size: 130%; 
}