@import url("https://fonts.googleapis.com/css2?family=Mulish:ital,wght@0,200..1000;1,200..1000&display=swap");

.mulish {
  font-family: "Mulish", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

/* Commonly shared styles */

header,
main {
  padding: 0 100px;
}

header ul {
  list-style: none;
}

.display-flex {
  display: flex;
}

a {
  text-decoration: none;
}

.text-orange {
  color: #ff5400;
}

.text-dark {
  color: #131318;
}

.text-grey {
  color: #5a5a5d;
}

.btn-primary {
  background: #ff5400;
  color: #fff;
  border: none;
  padding: 14px 34px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
}

.title-primary {
  font-size: 2.5rem;
  font-weight: 800;
  color: #131318;
}

/* Header styles */

/* ==== Navbar styles ==== */

.navbar {
  justify-content: space-around;
  align-items: center;
}

.brand {
  align-items: center;
  gap: 16px;
}

.brand-logo {
  width: 45px;
  height: 40px;
}

.nav-links {
  gap: 32px;
}

.nav-link {
  color: #424247;
}

.menu-icon {
  display: none;
}

/* ==== Banner styles ====  */
.hero {
  min-height: 80vh;
  background-image: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
    url("Images/banner.png");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 16px;

  align-items: center;
  justify-content: center;

  text-align: center;
  max-width: 1180px;
  margin: 50px auto;
}

.hero-content {
  color: #ffffff;
  max-width: 800px;
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.hero-subtitle {
  font-size: 1rem;
  font-weight: 400;
  max-width: 660px;
}

.search-form {
  margin-top: 32px;
  background: rgba(255, 255, 255, 0.3);
  padding: 20px;
  border-radius: 8px;
  display: flex;
  gap: 16px;
}

.search-form select {
  padding: 12px 16px;
  border: none;
  border-radius: 6px;
  outline: none;
  font-size: 1rem;
  width: 160px;
  color: rgba(19, 19, 24, 0.5);
}

.search-icon {
  width: 30px;
  height: 30px;
}

.search-form button {
  justify-content: center;
  align-items: center;
  gap: 12px;
}

/* Main section styles  */

/* ==== Popular Tours section ====  */

.popular-tours {
  margin-top: 50px;
  gap: 50px;
  justify-content: center;
}

.popular-tours-details {
  max-width: 600px;
  line-height: 1.5;
  margin-bottom: 24px;
}

.popular-tours-title {
  margin-top: 0;
  margin-bottom: 24px;
}

.popular-tours-point {
  padding: 5px 0;
  flex-direction: column;
  gap: 10px;
}

.popular-tours-img {
  max-width: 530px;
  height: 550px;
}

/* ==== Your Destination section ====   */

.your-destination {
  margin-top: 80px;
  text-align: center;
}

.destination-intro {
  max-width: 643px;
  margin: 0 auto;
}

.destination-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  max-width: 1180px;
  margin: 40px auto;
}

.card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 250px;

  display: flex;
  align-items: center;
  justify-content: center;

  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 800;
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

.card span {
  position: relative;
  z-index: 1;
}

.maldives {
  grid-column: span 6;
  background-image: url("Images/maldives.png");
}

.indonesia {
  grid-column: span 6;
  background-image: url("Images/indonesia.png");
}

.srilanka {
  grid-column: span 4;
  background-image: url("Images/srilanka.png");
}

.north-america {
  grid-column: span 4;
  background-image: url("Images/north-america.png");
}

.kashmir {
  grid-column: span 4;
  background-image: url("Images/kashmir.png");
}

.bangladesh {
  grid-column: span 6;
  background-image: url("Images/bangladesh.png");
}

.bandarban {
  grid-column: span 6;
  background-image: url("Images/bandarban.png");
}

/* ==== Choose Us section ====  */

.choose-us {
  margin: 100px auto;
}

.choose-us-intro {
  max-width: 643px;
  margin: 0 auto;
  margin-bottom: 40px;
  text-align: center;
}

.choose-us-intro h2 {
  margin-top: 0;
  margin-bottom: 24px;
}

.cards-container {
  justify-content: center;
  gap: 24px;
  margin-bottom: 24px;
}

.choice-card {
  max-width: 573px;
  padding: 32px;
}

.card-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 16px;
}

.card-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 16px;
}

.card1 {
  background-color: rgba(251, 181, 99, 0.05);
  border-radius: 12px;
}

.card2 {
  background-color: rgba(41, 206, 246, 0.05);
  border-radius: 12px;
}

.card3 {
  background-color: rgba(233, 68, 68, 0.05);
  border-radius: 12px;
  margin: 0 auto;
}

/* ==== Deals & Discounts section ====   */

.deals-intro {
  max-width: 643px;
  margin: 24px auto;
  text-align: center;
}

.deals-title {
  margin-top: 0;
  margin-bottom: 16px;
}

.satorini-card {
  position: relative;
  background-image: url("Images/satorini.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  display: flex;
  align-items: center;
  justify-content: right;

  height: 500px;
  max-width: 1170px;
  margin: 24px auto;
  border-radius: 12px;

  overflow: hidden;
  cursor: pointer;
  color: #ffffff;
}

.satorini-content {
  position: relative;
  z-index: 1;
  background-color: #ffffff;
  opacity: 0.85;
  padding: 40px;
  border-radius: 12px;
  max-width: 580px;
  margin-right: 40px;
}

.satorini-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-top: 0;
  margin-bottom: 16px;
}

.satorini-pricing {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 16px 0;
}

.meta {
  align-items: center;
  gap: 22px;
  margin-bottom: 16px;
}

.metabar {
  align-items: center;
  gap: 8px;
}

.second-card {
  background-image: url("Images/Group\ 40.png");
  justify-content: left;
}

.second-card .satorini-content {
  margin-left: 40px;
}

/* ==== Perfect Place Section ==== */

.perfect-place {
  margin: 0 auto;
  max-width: 1770px;
  justify-content: center;
  align-items: center;
  gap: 28px;
}

.perfect-text {
  max-width: 532px;
}

.perfect-title {
  margin-bottom: 0;
}

.perfect-subtitle,
.perfect-points {
  line-height: 1.5;
  margin: 16px 0;
}

.points-item {
  padding: 5px 0;
  font-weight: 500;
}

.perfect-card {
  background-image: url("Images/mountains.png");
  width: 35%;
  height: 300px;
}

.perfect-card span {
  max-width: 272px;
  text-align: center;
}

/* ==== Newsletter Section ====  */

.newsletter {
  margin: 100px auto;
  justify-content: center;
  align-items: stretch;
  gap: 24px;
}

.news-card {
  flex-direction: column;
  justify-content: center;
  padding: 40px;
  border: 1px solid #ff5400;
  border-radius: 12px;
}

.news-card h2 {
  margin: 0;
}

.news-form {
  flex-direction: column;
  gap: 12px;
}

.news-form input {
  padding: 12px 16px;
  border: 1px solid #cccccc;
  border-radius: 6px;
  outline: none;
  font-size: 1rem;
}

.sale-card {
  position: relative;
  border-radius: 16px;
}

.sale-card img {
  width: 100%;
  border-radius: 12px;
}

.badge {
  position: absolute;
  right: -10px;
  bottom: 30px;
  background-color: #ff5400;
  color: #ffffff;
  padding: 16px 28px;
  border-radius: 12px;
  text-align: center;
  transform: rotate(-22deg);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25);
}

.badge small {
  display: block;
  font-size: 13px;
  opacity: 0.9;
}

.badge span {
  font-size: 22px;
  font-weight: 700;
}

/* ==== Footer styles ====  */

footer {
  background-color: rgba(19, 19, 24, 0.05);
  padding: 80px 0;
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
  text-align: center;
}


#footer-brand {
  margin: 0 auto;
  justify-content: center;
}

.socials {
  justify-content: center;
  gap: 24px;
  margin: 40px 0;
}

hr {
  border: none;
  border-top: 1px solid #e0e0e0;
}

.copyright {
  margin: 50px 0 0 0;
}

/* Responsive adjustments */

/* ==== Mobile screen ==== */

@media screen and (max-width: 576px) {
  header,
  main {
    padding: 0 20px;
  }

  .title-primary {
    font-size: 1.5rem;
  }

  .hero {
    min-height: 500px;
    border-radius: 12px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 0.9rem;
    line-height: 1.4;
    max-width: 350px;
  }

  .menu-item {
    display: none;
  }

  .menu-icon {
    display: block;
    width: 24px;
    height: 24px;
    cursor: pointer;
  }

  .search-form {
    flex-direction: column;
    width: 80%;
    margin: 32px auto 0 auto;
  }

  .search-form select {
    width: 100%;
  }

  .search-form button {
    padding: 8px;
  }

  .popular-tours {
    flex-direction: column;
  }

  .popular-tours-img {
    max-width: 100%;
    height: auto;
  }

  .your-destination {
    margin-top: 40px;
  }

  .destination-intro {
    max-width: 309px;
  }

  .destination-grid {
    grid-template-columns: 1fr;
  }

  .card {
    grid-column: span 1;
    height: 200px;
  }

  .cards-container {
    flex-direction: column;
    align-items: center;
  }

  .choose-us {
    margin: 50px auto;
  }

  .choose-us-intro {
    max-width: 309px;
  }

  .satorini-card {
    height: auto;
    flex-direction: column;
    justify-content: flex-start;
    border-radius: 12px;
    border: 1px solid #ff5400
  }

  .satorini-card::before {
    content: "";
    width: 100%;
    height: 220px;
    background-image: inherit;
    background-size: cover;
    background-position: center;
    display: block;
  }

  .satorini-content {
    max-width: 100%;
    margin: 0;
    padding: 20px;
    border-radius: 0 0 12px 12px;
    background-color: #ffffff;
    opacity: 1;
  }

  .second-card {
    justify-content: flex-start;
  }

  .second-card .satorini-content {
    margin-left: 0;
  }

  .meta {
    flex-wrap: wrap;
    gap: 12px;
  }

  .satorini-title {
    font-size: 1.25rem;
  }

  .satorini-pricing {
    font-size: 1.1rem;
  }

  .perfect-place {
    flex-direction: column;
  }

  .perfect-card {
    width: 100%;
    height: 250px;
    border-radius: 12px;
  }

  .newsletter {
    flex-direction: column;
    margin: 50px auto;
  }

  footer {
    padding: 50px 0;
  }

  .footer-container {
    padding: 0 20px;
  }

  .socials {
    gap: 16px;
  }

  .copyright {
    margin-top: 32px;
    font-size: 0.85rem;
  }
}

/* ==== Tablet screen ==== */

@media screen and (min-width: 577px) and (max-width: 992px) {
  header,
  main {
    padding: 0 40px;
  }

  .hero {
    min-height: 600px;
    border-radius: 12px;
  }

  .hero-title {
    font-size: 3rem;
  }

  .hero-subtitle {
    font-size: 1rem;
    line-height: 1.5;
    max-width: 550px;
  }

  .menu-item {
    display: none;
  }

  .menu-icon {
    display: block;
    width: 24px;
    height: 24px;
    cursor: pointer;
  }

  .search-form {
    flex-direction: column;
    flex-wrap: wrap;
    gap: 12px;
    width: 70%;
    margin: 32px auto 0 auto;
  }

  .search-form select {
    width: 100%;
  }

  .search-form button {
    padding: 8px;
  }

  .popular-tours {
    flex-direction: column;
    align-items: center;
  }

  .popular-tours-img {
    width: 100%;
    height: 400px;
  }

  .destination-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .card {
    grid-column: span 1;
    height: 220px;
  }

  .cards-container {
    flex-direction: column;
    align-items: center;
  }

  .bandarban {
    grid-column: span 2;
  }

  .satorini-content {
    max-width: 80%;
    margin: 0 auto;
  }

  .second-card .satorini-content {
    max-width: 80%;
    margin: 0 auto;
  }

  .perfect-place {
    flex-direction: row;
    align-items: center;
    gap: 24px;
  }

  .perfect-text {
    width: 55%;
  }

  .perfect-card {
    width: 45%;
    height: 260px;
    border-radius: 12px;
  }

  .perfect-title {
    font-size: 2.2rem;
  }

  .perfect-subtitle,
  .perfect-points {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .btn-perfect {
    margin-top: 12px;
  }

  .newsletter {
    flex-direction: row;
    align-items: stretch;
  }

  .news-card,
  .sale-card {
    width: 50%;
  }

  footer {
    padding: 60px 0;
  }

  .footer-container {
    max-width: 900px;
    padding: 0 30px;
  }

  .socials {
    gap: 20px;
  }
}

/* ==== IPad Pro ====  */

@media screen and (min-width: 993px) and (max-width: 1200px) {
  header,
  main {
    padding: 0 60px;
  }

  .hero {
    min-height: 600px;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 700px;
  }

  .hero-title {
    font-size: 3.5rem;
  }

  .hero-subtitle {
    font-size: 1rem;
    max-width: 600px;
    line-height: 1.5;
  }

  .popular-tours {
    flex-direction: column;
    align-items: center;
  }

  .popular-tours {
    flex-direction: row;
  }

  .popular-tours-img {
    max-width: 480px;
    height: auto;
  }

  .destination-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .card {
    grid-column: span 1;
    height: 240px;
  }

  .cards-container {
    flex-direction: column;
    align-items: center;
  }

  .bandarban {
    grid-column: span 3;
  }

  .perfect-place {
    flex-direction: row;
    align-items: center;
  }

  .perfect-card {
    width: 45%;
    height: 300px;
  }

  footer {
    padding: 70px 0;
  }

  .footer-container {
    max-width: 1000px;
    padding: 0 50px;
  }

  .socials {
    gap: 28px;
  }

  .copyright {
    font-size: 0.95rem;
    margin-top: 40px;
  }
}

@media screen and (max-width: 1200px) {
  .navbar {
    justify-content: space-between;
  }
}
