/* Google font */
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Poppins:wght@400;600;800&family=Quicksand:wght@300..900&display=swap");

/* Variables */
:root {
  --header-height: 7rem;

  --big-fs: 1.5rem;
  --normal-fs: 1rem;
  --small-fs: 0.875rem;
}
@media screen and (max-width: 768px) {
  :root {
    --big-fs: 1rem;
    --normal-fs: 0.875rem;
    --small-fs: 0.8rem;
  }
}

/* Resizing page */
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  max-width: 960px;
  margin: auto;
  width: calc(100% - 2rem);
  font-size: 1rem;
  font-family: Poppins, "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  overflow-x: hidden;
}
a {
  text-decoration: none;
}
li {
  list-style: none;
}
img {
  max-width: 100%;
  height: auto;
}

/* Header */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}
.header_content {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header_img {
  display: flex;
  align-items: center;
  width: 60%;
}
.header_location {
  display: flex;
  align-items: center;
  color: #222;
}
.header_location i {
  color: #029456;
}
.header_location_text {
  margin-left: 0.5rem;
  font-weight: 500;
  transition: 0.3s ease-in-out;
}
.header_location_text:hover {
  color: #029456;
}
.header_location i {
  font-size: var(--big-fs);
}

/* Banner */
.banner {
  position: relative;
}
.banner_img {
  width: 100%;
}
.banner_img img {
  border-radius: 1rem;
}
.banner_content {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 85%;
  transform: translate(-50%, -50%);
  text-align: center;
  font-size: 1.2rem;
  color: #fff;
  z-index: 10;
}
.banner_mask::after {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  height: 99%;
  background-color: #222;
  border-radius: 1rem;
  opacity: 0.7;
}

/* showcase */
.showcase_content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 100%;
  height: fit-content;
  margin: 1rem auto;
}
.showcase_content .city {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px 0 rgba(179, 181, 201, 0.37);
  border-radius: 1rem;
}
.city {
  padding: 0.2rem 0.6rem;
}
.city_content .v {
  font-size: var(--normal-fs);
  font-style: italic;
}
.city_content .k {
  font-size: 1rem;
  font-weight: 900;
}
.hours .h {
  font-style: italic;
  color: #8a8a8a;
}
.hours .h1,
.h2 {
  font-size: 1rem;
  font-weight: 900;
}
.icon i {
  font-size: 2rem;
  color: #029456;
}

/* Galery */
.gallery {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  grid-template-rows: 280px 280px;
  gap: 10px;
  margin: 2.2rem auto;
}
.gallery-item {
  overflow: hidden;
  border-radius: 12px;
}
.gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item:hover img {
  transform: scale(1.05);
}
.item-1 {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
}
.item-2 {
  grid-column: 2 / 4;
  grid-row: 2 / 3;
}
.item-3 {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
}
.item-4 {
  grid-column: 3 / 4;
  grid-row: 1 / 2;
}
.item-5 {
  grid-column: 4 / 5;
  grid-row: 1 / 2;
}
.item-6 {
  grid-column: 4 / 5;
  grid-row: 2 / 3;
}

@media (max-width: 800px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, 250px);
  }
  .item-1 {
    grid-column: 1;
    grid-row: 1 / 3;
  }
  .item-2 {
    grid-column: 1 / 3;
    grid-row: 3;
  }
  .item-3 {
    grid-column: 2;
    grid-row: 1;
  }
  .item-4 {
    grid-column: 2;
    grid-row: 2;
  }
  .item-5 {
    grid-column: 1;
    grid-row: 4;
  }
  .item-6 {
    grid-column: 2;
    grid-row: 4;
  }
}

/* Responsive */
@media screen and (max-width: 768px) {
  .banner_content {
    width: 90%;
    font-size: 0.95rem;
  }
  .showcase_content {
    grid-template-columns: repeat(2, 1fr);
  }
  .icon i {
    font-size: 1.2rem;
  }
  .city_content .v {
    font-size: 0.8rem;
  }
  .city_content .k {
    font-size: 0.8rem;
  }
  .hours .h1,
  .h2 {
    font-size: 0.7rem;
  }
  .hours .h {
    font-size: 0.8rem;
  }
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* @media (max-width: 576px) {
  .gallery {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .gallery-item {
    min-height: 250px;
  }

  .item-1,
  .item-2,
  .item-3,
  .item-4,
  .item-5,
  .item-6 {
    grid-column: auto;
    grid-row: auto;
  }
} */

@media screen and (max-width: 540px) {
  .banner_content {
    font-size: 0.65rem;
  }
  .hours .h1,
  .h2 {
    font-size: 0.6rem;
  }
  .header_location_text {
    font-size: 0.9rem;
  }
}
