@font-face {
  font-family: 'Poppins';
  src: url(../assets/fonts/poppins/Poppins-Bold.ttf); 
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'Poppins';
  src: url(../assets/fonts/poppins/Poppins-Regular.ttf); 
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Poppins';
  src: url(../assets/fonts/poppins/Poppins-Italic.ttf); 
  font-weight: 400;
  font-style: italic;
}

*{
    font-family: Poppins, sans-serif;
    line-height: 1.5;
    /* font-size: 14px; */
}
body{
    min-height: 100vh; 
    margin:0;
    padding:0;
    display:flex;
    flex-direction: column;
    justify-content:space-between;
    
}

nav{
    width:100%;
    height: 60px;
    display:flex;
    justify-content: space-between;
    padding-block:6px;
    box-sizing: border-box;
    padding-inline: 5%;
    background-color:#e1e1e1;
    position: fixed;
    top:0;
    left:0;
    z-index: 999;
    box-shadow: 1px 2px #bebebe;
}
nav .logo{
    display:flex;
    align-items: center;
}
nav .logo span{
    font-size:24px;
    font-weight: bold;
}
nav .logo span:nth-child(1){
    color:blue;
    
}
nav ul{
    display:flex;
}
/* nav ul.hidden{
    display:none;
} */

nav ul li{
    list-style: none;
    margin-inline:12px;
}
nav ul li a{
    text-decoration: none;
    color:black;
}
nav ul li a:hover{
    color: blue;
    cursor: pointer;
}

nav .menu {
    display: none;
    flex-direction: column;
    gap:2px;
    cursor: pointer;
    
}
nav .menu span{
    width:24px;
    height: 4px;
    background-color: black;
}
main{
    margin-top:60px;
    width:100%;
}

.hero {
  background: url('../assets/images/buildings.jpg') no-repeat center center;
      
}
.attractions-hero{
    background: url('../assets/images/Burj_Al_Arab.jpg') no-repeat center center;
}
.culture-hero{
    background: url('../assets/images/cultural.jpg') no-repeat center center;
}
.hero, .attractions-hero,.culture-hero{
    background-size: cover;  
    height: 300px;
    width: 100%; 
    display: flex;
    justify-content: center;
    align-items: center; 
}
.hero h1, .attractions-hero h1,.culture-hero h1{
    color:white;
    text-align: center;
}

footer{
    margin-top:auto;
    background-color: rgb(1, 1, 54);
    height:120px;
}
.container{
    width:80%;
    margin-inline:auto;
}
.hidden{
    display: none;
}
.flex{
    display:flex;
}
.flex-col{
    flex-direction: column;
}
.flex-reverse{
    flex-direction: column-reverse;
}
.justify-center{
    justify-content: center;
}
.justify-between{
    justify-content: space-between;
}
.justify-start{
    justify-content: left;
}
.justify-end{
    justify-content: right;
}
.items-start{
    align-items: start;
}
.items-center{
    align-items: center;
}
.items-end{
    align-items: end;
}
.text-center{
    text-align: center;
}
.decoration-none{
    text-decoration: none;
}
.text-black{
    color:black !important;
}
.text-white{
    color:white!important;
}
.text-blue{
    color: blue !important;
}
.p-1{
    padding:6px;
}
.p-2{
    padding:12px;
}
.m-1{
    margin: 6px;
}
.m-2{
    margin: 12px;
}
.px-1{
    padding-inline: 6px;
}
.py-1{
    margin-block: 6px;
}
.px-2{
    padding-inline: 12px;
}
.py-2{
    padding-block: 12px;
}
.mx-1{
    margin-inline: 6px;
}
.py-1{
    padding-block: 6px;
}
.my-1{
    margin-block:6px;
}
.my-2{
    margin-block:12px;
}
.mx-2{
    margin-inline: 12px;
}
.py-2{
    margin-block: 12px;
}
.mt-1{
    margin-top:6px;
}
.mt-2{
    margin-top:12px;
}
.mb-0{
    margin-bottom: 0;
}
.m-0{
    margin:0;
}
.mb-1{
    margin-bottom: 6px;
}
.mb-2{
    margin-bottom: 12px;
}
.mx-auto{
    margin-inline:auto;
}
.pt-1{
    padding-top:6px;
}
.pt-2{
    padding-top:12px;
}
.pb-1{
    padding-bottom: 6px;
}
.pb-2{
    padding-bottom: 12px;
}
.gap-1{
    gap: 6px;
}
.gap-2{
    gap: 12px;
}

.rounded-left{
    border-radius: 12px 0 0 12px;
    
}
.rounded-right{
    border-radius: 0 12px 12px 0;
}
.btn{
    padding: 8px 12px;
    background-color: blue;
    color:white;
    border:none;
    border-radius: 6px;
    cursor: pointer;
}
.btn:hover{
    background-color: rgb(78, 78, 247);
}
.highlight-wrapper{
    border:solid 1px #dddd;
    border-radius: 8px;
}
.highlight-wrapper img{
    width: 400px;
    border-radius: 8px 0 0 8px;
}
.highlight-wrapper a{
    border:solid blue 1px;
    padding:6px;
    border-radius: 8px;
}
.highlight-wrapper .mb-2:hover{
    cursor:pointer;
}
.attractions-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}
.attractions-grid img{
    width:100%;
    height: 240px;
    border-radius: 8px 8px 0 0;
}
.attractions-grid .flex{
    border:solid 1px #dddd;
    border-radius: 8px;
}
.item-wrapper{
    border:solid 1px #dddd;
    border-radius: 12px;
}
.item-wrapper img,.guide-wrapper img{
    width: 40%;
    border-radius: 12px 0 0 12px;
}
.rounded-left,.rounded-right{
    width:40%;
}
.event,.guide-wrapper{
    border:solid 1px #dddd;
    border-radius: 12px;
}

.guide-wrapper img{
    width: 30%;
}
form{
    width:max-content;
    border: solid 1px #dddd;
    border-radius: 12px;
}
form .btn{
    width: 80px;
    margin-inline:auto;
}
form input, form textarea{
    padding: 8px;
    border: solid 1px #dddd;
    border-radius: 4px;
}
.info{
    color:green;
    background-color: rgb(215, 251, 215);
    text-align: center;
    width: max-content;
    margin-inline: auto;
    padding: 4px 12px;
    border-radius: 2px;
    font-size: 14px;
    display: none;
}

@media (max-width: 1340px) {
    .item-wrapper img{
        width: 50%;
    }
    .guide-wrapper img{
        width: 40%;
    }
}

@media (max-width: 1180px) {
    .top-attractions-grid{
        grid-template-columns:repeat(3, 1fr);
    }
    .item-wrapper{
        flex-direction: column;
    }
    .item-wrapper img{
        width: 100%;
        border-radius: 8px 8px 0 0;
    }
    .event:nth-child(odd){
        flex-direction: column;
    }
    .event:nth-child(even){
        flex-direction: column-reverse;
    }
    
    .rounded-left,.rounded-right{
        width: 100%;
        border-radius: 12px 12px 0 0!important;
    }
    .guide-wrapper img{
        width: 50%;
    }
}

@media (max-width: 992px) {
    nav .logo span {
        font-size: 18px;
    }
    .top-attractions-grid,.attractions-grid{
        grid-template-columns:repeat(2, 1fr);
    }
    
    .highlight-wrapper{
        flex-direction: column;
    }
    .highlight-wrapper img{
        width: 100%;
        border-radius: 8px 8px 0 0;
    }
    .highlight-wrapper h2{
        text-align: center;
    }
    .guide-wrapper{
        flex-direction: column;
    }
    .guide-wrapper img{
        width: 100%;
        border-radius: 12px 12px 0 0;
    }
}

@media (max-width: 768px) {
    .container {
        width: 90%;
    }
    /* nav ul.show {
        display: flex; 
    } */
    nav ul {
        display: none;
        position:absolute;
        left:0;
        top:60px;
        width:100%;
        flex-direction: column;
        background: #e1e1e1;
        text-align: start;
        margin-block-start: 0!important;
        padding-inline-start: 12px!important;
    }
    nav ul.show {
        display: flex;
    }
    nav ul li {
        margin-inline: 0;
        margin-block: 4px;
    }
    nav .menu {
        display: flex;
    }
}

@media (max-width: 576px) {
    nav{
        padding-inline:12px;
    }
    
    .container{
        width: 100%;
        box-sizing: border-box;
        padding-inline: 12px;
    }
    .top-attractions-grid,.attractions-grid{
        grid-template-columns:repeat(1, 1fr);
    }
}