/* -------------- General Styles ----------------------------- */
@font-face {
  font-family: "Roboto Bold";
  src: url(fonts/Roboto-Bold.ttf) format("truetype");
}
@font-face {
  font-family: "Roboto Regular";
  src: url(fonts/Roboto-Regular.ttf) format("truetype");
}
@font-face {
  font-family: "Roboto Italic";
  src: url(fonts/Roboto-LightItalic.ttf) format("truetype");
}

*,
*::before,
*::after {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
.body {
  margin: 0;
}

/* -------------- Nav Bar ----------------------------------- */
.header{
  position:sticky;
  top:0;
  z-index:100
}

.nav {
  display: flex;
  background-color: #1f2937;
  justify-content: space-between;
  padding: 40px;
}

.logo {
  color: #f9faf8;
  font-size: 24px;
  text-decoration: none;
  font-family: "Roboto Regular";
}
.link1,
.link2,
.link3,
.link4,
.link5 {
  color: #e5e7eb;
  font-size: 18px;
  text-decoration: none;
  font-family: "Roboto Regular";
}

.nav > a:not(:nth-of-type(1)):hover{
  border-bottom: 1px solid #e5e7eb;
}

.selected {
  border-bottom: 1px solid #e5e7eb;
}

@media (max-width: 500px){
  .nav{
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
  }
}

/* -----------Hero Section --------------------------------------- */
.hero {
  background-color: #1f2937;
  display: flex;
  align-items: center;
  padding: 20px;
}
.text {
  flex: 1;
  padding-right: 20px;
  padding: 20px;
}
.main {
  color: #f9faf8;
  font-size: 48px;
  font-family: "Roboto Bold";
}
.secondary {
  color: #e5e7eb;
  font-size: 18px;
  font-family: "Roboto Regular";
}
.signup-btn {
  background-color: #3882f6;
  color: white;
  padding: 10px 20px;
  font-size: 16px;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  margin-top: 20px;
  font-family: "Roboto Regular";
}

@media (max-width: 700px){
  .hero{
    flex-direction: column-reverse;
  }
  .hero > img{
    inline-size: 100%;
  }
}

/* -------------- Guides Section ------------------------ */

#guides-main-container {
  width: 100%;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: center; 
  align-items: center; 
  gap: 2rem; 
} 

.guides-header{

  font-family: "Roboto-Bold";
  color: #1F2937;
  font-size: 36px;
  margin-top: 1.5rem;

}

.guides {
  inline-size: 100%;
  block-size: 80%;
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

.guides-avatars {
  width: 140px;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: all 0.3s linear;
}
.guides-avatars-image-1 {
  width: 200px;
  aspect-ratio: 1;
  margin: 0;
}
.guides-avatars-image-2 {
  width: 200px;
  aspect-ratio: 1;;
  margin: 0;
}
.guides-avatars-image-3 {
  width: 200px;
  aspect-ratio: 1;
  margin: 0;
}
.guides-avatars-image-4 {
  width: 200px;
  aspect-ratio: 1;
  margin: 0;
}
.guides-avatars-image-5 {
  width: 200px;
  aspect-ratio: 1;
  margin: 0;
}

.guide-image{
  inline-size: 100%;
  aspect-ratio: 1;
  border: 4px solid #3882F6;
  border-radius: 8px;
}

.guides:has(.guides-avatars:hover) > .guides-avatars:not(:hover){
  opacity: 0.3;
}

/* ------Testimonial Section --------------------- */
.container-tes {
  inline-size: 100%;
  min-block-size: 35rem;
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #e5e7eb;
}

.testimonial-box{
    --inline: 100%;
    inline-size: var(--inline);
    min-block-size: 80%;
    display: flex;
    position: relative;
    background-color: #e5e7eb;
    overflow: hidden;
}

@media (min-width: 600px){
    .testimonial-box{
        --inline: 40rem;
        block-size: 21rem;
    }
}

.testimonial{
    min-inline-size: 100%;
    block-size: 100%;
    background: #e5e7eb;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: scroll 10s steps(5) infinite;
    transform: translateX(calc(-100% * 1));}


.tes-text {
  font-family: "Roboto Italic", sans-serif;
  font-weight: 300;
  font-style: italic;
  font-size: 36px;
  color: #1f2937;
  padding-inline: 0.5em;
  text-align: center;
}


@keyframes scroll {
  0%,
  20% {
    transform: translateX(calc(-100% * 0));
  }
  25%,
  40% {
    transform: translateX(calc(-100% * 1));
  }
  45%,
  60% {
    transform: translateX(calc(-100% * 2));
  }
  65%,
  80% {
    transform: translateX(calc(-100% * 3));
  }
  85%,
  100% {
    transform: translateX(calc(-100% * 4));
  }
}

/* call to action section */ 

.call-to-action{
    width: 100%;
    background-color: #fff ;
    padding: 10vh;
    font-family: "Roboto", sans-serif;

    .call-to-action-container{
        width: 100%;
        display: flex;
        flex-direction:row;
        justify-content: space-around;
        align-items: center;
        flex-wrap: nowrap;
        background-color: #3882f6;
        padding-top: 50px;
        padding-bottom: 50px;
        border-radius: 10px;
        color: #fff;
        @media(max-width: 800px){
            flex-direction: column;
            justify-content: space-between;
            gap: 20px;
            padding: 30px 50px 30px 50px;
        }
    }

    button{
        padding: 8px 15px 8px 15px;
        background-color: #3882f6;
        border: 1.5px #fff solid;
        border-radius: 5px;
        color: #fff;
        font-weight: bold;
        
    }

    h1{
        font-size: 20px;
        margin-bottom: 4px;
    }

    p{
        color: #ecedef;
        font-size: 15px;
    }
}

.footer{
    font-family:"Roboto", sans-serif;
    background-color: #1F2937;
    color: #e5e7eb;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px 200px 50px 200px;
}



/* sudan page styles */ 

.container-sudan{
    padding: 100px ;
    h1{
        font-size: 46px;
        font-weight: 800;
        margin-bottom: 20px;
        font-family: "Roboto bold";

        span{
            color: #ff5d5d
        }
    }

    .button-container{
        width: 100%;
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        gap: 20px;
        margin-bottom: 20px;

        @media(max-width: 800px){
            flex-direction: column;
            align-items: flex-start;

        }

        button.things-to-do{
            display: flex;
            justify-content: center;
            align-items: center;
            width: 307px;
            height: 67px;
            background-color: transparent;
            color: #303030;
            border-radius: 10px;
            border: 2px #303030 solid;
            font-size: 15px;
            font-weight: bold;
            cursor: pointer;

            &:hover{
                background-color: #000000;
                color: #e5e7eb;
                transition: 0.5s;
            }
        }
    }

    .picture-grid{
        display: flex;
        flex-direction: row;
        gap: 2px;
        margin-bottom: 40px;
        column-gap: 2px;

        img{
            max-width: 100%;
            width: 700px;
            height: auto;
            opacity:1.0;
            filter:alpha(opacity=100); 
            
            &:hover{
                cursor: pointer;
                opacity:0.7;
                filter:alpha(opacity=40);
                transition: 0.5s;
            }    
        }

        .grid-item-1{
          border-radius: 10px 0px 0px 0px;
        }
        .grid-item-2{
          border-radius: 0px 0px 0px 10px;
        }
        .grid-item-3{
          border-radius: 0px 10px 0px 0px;
        }
        .grid-item-4{
          border-radius: 0px 0px 10px 0px;
        }
        
        @media(max-width: 850px){
            flex-direction: column;
        }

    }

    .about-sudan{
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        
        


        h2{
            margin-bottom: 10px ;
            font-size: 36px;
        }
        p{
            font-size: 36/1.161px;
            max-width: 600px;
            line-height: 22px;
            font-family: "Roboto regular";
            margin-bottom: 20px;
        }


        @media(max-width: 850px){
          h2{
            font-size: 25px;
            margin-bottom: 5px;
          }
          p{
            font-size: 25/1.161px;
            max-width: 600px;
          }
      }

        .review{
            display: flex;
            justify-content: flex-start;
            align-items:start;
            margin-bottom: 30px;

            p{
                font-size: 15px;
                max-width: 400px;
                color: #616161;
                line-height: 22px;
            }

            img{
                height: 80px;
                width: 80px;
                border-radius: 100px;
                margin-right: 20px;
                margin-left: 20px
            }
        };

        @media(max-width: 800px){
            flex-direction: column;
            gap: 30px;
            align-items: flex-start;
            p{
              font-size: 25/1.161px;
              max-width: 600px;
            }
        }
    }
}



/* ------------------------------ DUBLIN PAGE -------------------------------------- */

.dublin-section{
    display: flex;
    flex-direction: column;
    gap: 2rem;
    justify-content: center;
    align-items: center;
}

.dublin-head{
    inline-size: 100%;
    text-align: center;
    font-family: "Roboto Bold";
    font-weight: 900;
    font-size: 36px;
    color: #1F2937;
    margin-block-start: 1rem;
}

.dub-img-container{
    inline-size: 100%;
    block-size: 18rem;
    border-radius: 10px;
    box-shadow: 5px 5px 8px  #1F2937;
    position: relative;
}

.dublin-image{
  inline-size: 100%;
  block-size: 100%;
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 8px;
  animation: fade 12s infinite;
}

.dublin-article{
    inline-size: 100%;
    padding: 0.75em;
    text-align: justify;
}

.dublin-article > p{
    font-size: 18px;
    font-family: "Roboto Regular";
    color: #1F2937;
    line-height: 1.5em;
    margin-block-start: 1.5em;
}

@media (min-width: 550px){
  .dub-img-container{
        block-size: 25rem;
    }

    .dublin-article{
        inline-size: 80%;
    }
}

@media (min-width: 700px){
  .dub-img-container{
        inline-size: 80%;
        block-size: 35rem;
    }
}

@media (min-width: 1200px){
  .dub-img-container{
        inline-size: 70%;
        block-size: 35rem;
    }
}

.dublin-image:nth-of-type(1){
  animation-delay: 0s;
  z-index: 4;
}
.dublin-image:nth-of-type(2){
  z-index: 3;
  animation-delay: 3s
}
.dublin-image:nth-of-type(3){
  z-index: 2;
  animation-delay: 6s
}
.dublin-image:nth-of-type(4){
  z-index: 1;
  animation-delay: 9s
}

@keyframes fade {
  0%, 100% {
    opacity: 1;
  }
  33.33%, 66.66% {
    opacity: 0;
  }
}

/*-------MILANO OLD PAGE-------*/

body {
  margin: 0;
  padding: 0;
  font-family: "Roboto Regular"  
}
.top-image-container {
  text-align: center;
}

.top-image {
  width: 800px;
  height: 200px;
  object-fit: cover;
}

.container-Milano{
  display: flex;
  flex-wrap: wrap; 
  width: 100%;
  position: relative;
  z-index: 0; 
  padding:20px;
  margin:0;
}

.left-column, .right-column, .left-middle-column, .right-middle-column {
  flex: 1;
  padding: 20px;
  box-sizing:border-box;
}

.box {
  margin-bottom: 20px;
  font-family: "Roboto Regular";
  padding: 10px;
}

.image {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 20px;
  max-width: 100%;
  transition: transform 0.3s;
  transition: transform 0.3s, box-shadow 0.3s; 
}
.image:hover {
  transform: scale(1.2); 
  box-shadow: 0 0 10px 5px #3882f6;
}

.book-button {
  text-align: center;
  margin-top: 20px;
  padding: 20px;
}

button {
  padding: 15px 40px;
  font-size: 16px;
  background-color: #3882f6;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s; 
}

button:hover {
  background-color: #45a049;
}



/* ------------------ CASABLANCA SECTION ------------------ */

.cas-header{
  margin-block: 1rem;
}
.cas-background{ 
    padding-inline: 3rem;
}

.cas-container{
  display: flex;
  justify-content: center;
  margin-bottom: 5px;
}
.cas-container2{
  display: flex;
  justify-content: space-between;
}

.cas-subhead {
  color: black;
  font-size: 18px;
  font-family: "Roboto Regular";
}

.cas-container2 > img {
  width: 30%;
  height: auto;
  border: 2px solid #172c66;
}

.margin > li{
  font-family: "Roboto Regular";
  font-size: 18px;
}

.cas-sec {
  margin-block-end: 1.75rem;
}

.cas-sec:first-of-type{
  margin-block-start: 2rem;
}

.cas-sec li:first-child {
  margin-top: 10px;
}

/* --------- SINGAPORE ------------- */

.tourist-attractions {
  display:flex;
  justify-content: center;
  align-items: center;
}
.img {
  border: 2px solid gold;
  width: 430px;
  height: 220px;
}
section.touristy-places {
  padding: 20px;
  margin: 10px;
}