/* Start Global Rules */

* {
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

/* Start Variables */

:root {
    --main-yellow-color: #FFCF49;
    --main-blue-color: #1F2A3E;
    --main-transition: 0.5s;
    --p-color: #ccc;
    --padding-top: 50px;
    --padding-bottom: 50px;
}

/* End Variables */


html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
}

/* Start Contanier */

.contanier {
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .contanier {
        width: 750px;
    }
}

@media (min-width: 992px) {
    .contanier {
        width: 970px;
    }
}

@media (min-width: 1200px) {
    .contanier {
        width: 1170px;
    }
}

/* End Contanier */

ul {
    list-style: none;
}

a {
    text-decoration: none;
}

img {
    width: 50px;
    height: 50px;
}

.main-title {
    margin: 0 auto 80px;
    border: 2px solid black;
    padding: 10px 20px;
    width: fit-content;
    font-size: 30px;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
    transition: var(--main-transition);
}

@media (max-width: 768px){
    .main-title{
        font-size: 20px;
    }
}

.main-title a {
    color: black;
}

.main-title:hover {
    color: white;
    border: 2px solid white;
    transition-delay: 0.5s;
}


.main-title:hover a {
    color: white;
    transition-delay: 0.5s;
}

.main-title::before {
    content: "";
    width: 20px;
    height: 20px;
    background-color: var(--main-yellow-color);
    position: absolute;
    border-radius: 50%;
    left: -30px;
    top: 50%;
    transform: translateY(-50%);
}

.main-title::after {
    content: "";
    width: 20px;
    height: 20px;
    background-color: var(--main-yellow-color);
    position: absolute;
    border-radius: 50%;
    right: -30px;
    top: 50%;
    transform: translateY(-50%);
}

.main-title:hover::before {
    z-index: -1;
    animation-name: left-move;
    animation-duration: .5s;
    animation-timing-function: linear;
    animation-fill-mode: forwards;
}

.main-title:hover::after {
    z-index: -1;
    animation-name: right-move;
    animation-duration: .5s;
    animation-timing-function: linear;
    animation-fill-mode: forwards;
}

/* Start Mage Menu */

.menu-icon {
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    /* position: fixed; */
    top: 10px;
    left: 10px;
    z-index: 2;
}



.close-icon {
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 2;
}

.close-icon {
    display: none;
}

.menu-items {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1;
}

.menu-items ul {
    list-style: none;
    padding: 0;
    margin: 20% 0 0 0;
    text-align: center;
}

.menu-items ul li {
    margin-bottom: 20px;
}

.menu-items ul li a {
    text-decoration: none;
    color: white;
    font-size: 24px;
    transition: color 0.3s ease-in-out;
}

.menu-items ul li a:hover {
    color: #00bcd4;
}

.close-icon {
    color: white;
}

/* End Mage Menu */

/* End Global Rules */

/* start amman governorte page */

.landing-page-governorate {
    width: 100%;
    height: 80vh;
    padding: 15px;
    position: relative;

}

.landing-page-governorate img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.landing-page-governorate::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    background-color: rgb(0 0 0 / 55%);
    width: 100%;
    height: 100%;
    z-index: 2;
}

.landing-page-governorate .content {
    padding: 10% 5%;
    position: relative;
    color: white;
    z-index: 5;
}

.landing-page-governorate .content h1 {
    font-size: 2.5rem;
    text-transform: uppercase;
}

.landing-page-governorate .content p {
    line-height: 1.5;
    font-size: 22px;
    font-weight: bold;
    text-transform: capitalize;
 width: 55%;
}

@media(max-width:767px) {
    .landing-page-governorate.destinations ul {
        flex-direction: column;
    }

    .landing-page-governorate .content p {
        font-weight: normal;
        padding-left: 5px;
        width: 60%;
        font-size: 18px;
        
    }
}

/* end amman governorte page */
/* start top places in amman */
.place-container {
    /* position: absolute; */
    padding: 15px;
    margin: auto;
    min-height: 80vh;

}

.place-container>h1 {
    color: var(--main-blue-color);
    padding-top: 5px;
    text-transform: uppercase;
    padding-left: 5px;
    border-left: 5px solid var(--main-yellow-color);
}

.place-container .all-boxes {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px 0px;
    position: relative;
}


.all-boxes .box > img{
position: absolute;
width: 100%;
height: 100%;
z-index: 5;
left: 0;
top: 0;
border-radius: 10px;
}



.all-boxes .box {
    width: 260px;
    height: 330px;
    border-radius: 10px;
    position: relative;
    transition: 0.5s;
    text-align: center;
    cursor: pointer;
}

.all-boxes .box:hover {
   transform: translateY(-10px);

}

.box:hover.box::before {
    background-color: rgb(0 0 0 / 10%);
    transition: 0.5s;
}

/* .all-boxes .box .content i:hover {
    color: red;
} */

.box::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    background-color: rgb(0 0 0 / 50%);
    width: 100%;
    height: 100%;
    z-index: 9;
    border-radius: 10px;
}

.all-boxes .box .content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 8px 8px;
    z-index: 1000;
}

.all-boxes .box .content h3 {
    font-weight: bold;
    font-size: 21px;
    color: white;
    z-index: 10;
    max-width: 70%;
}

.all-boxes .box .content i {
    color: rgb(255, 255, 255);
    font-size: 33px;
    z-index: 10;
        position: absolute;
        top: 10px;
        right: 10px;
        cursor: pointer;

}
.all-boxes .box .content .fa-heart.clicked {
    color: red; /* Color when clicked */
  }
.hotels {
    background-color: var(--main-yellow-color);
    color: white;
    width: fit-content;
    padding: 10px 20px;
    margin: 20px auto;
    font-size: 25px;
    font-weight: 700;
    cursor: pointer;
}

.hotels-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: fit-content;
    padding: 15px;
    margin: 10px auto;
}

.more a {
    width: 150px;
    height: 50px;
    background-color: var(--main-blue-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 24px 15px 24px 15px;
    transition: var(--main-transition);
}

.more a {
    color: white;
    font-weight: bold;
}

.more :hover {
    border: 1px solid var(--main-blue-color);
    background-color: white;
}

.more:hover a {
    color: var(--main-blue-color);
    transition: var(--main-transition);
}


/* end top places in amman */