/* Font stack inspired by Airbnb */
:root {
  /* Colors */
  --color-primary: #ff385c;
  --color-secondary: #00a699;
  --color-text: #484848;
  --color-text-black: #0f0f0f;
  --color-bg: #ffffff;
  --color-surface: #f7f7f7;
  --color-success: #2ecc71;
  --color-warning: #f39c12;
  --color-error: #e74c3c;

  /* Typography */
  --font-family: "Circular Std", "SF Pro", "Roboto", sans-serif;

  --text-display: 34px;
  --text-headline: 24px;
  --text-title: 20px;
  --text-body: 16px;
  --text-caption: 14px;

  /* Spacing (8pt system) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;

  /* Radius + Shadows */
  --radius-sm: 8px;
  --radius-md: 12px;
  --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.3);
}

body {
  font-family: poppins;
  margin: 0;
  padding: 0;
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  box-sizing: border-box;
  position: relative;
  padding-bottom: 3rem;
}
p {
  padding: 0;
  margin: 0;
}

@media screen and (max-width: 600px) {
  header {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 1rem 0;
    border-radius: 10rem;
    box-shadow: var(--shadow-card);
    margin-top: 1rem;
    gap: 0.4rem;
    cursor: pointer;
    position: fixed;
    top: 0;
    background-color: transparent;
    backdrop-filter: blur(20px);
    z-index: 999;
  }

  header i {
    font-size: 1rem;
  }

  header input {
    background-color: transparent;
  }
  .search-box {
    border: none;
    cursor: pointer;
    z-index: 999;
    padding: 0.4rem;
  }

  .search-box::placeholder {
    color: black;
    font-weight: 500;
    font-family: poppins;
    font-size: 1rem;
    text-align: center;
  }

  .header-nav {
    margin-top: 1rem;
    display: flex;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    margin-top: 5rem;
    z-index: 1;
    position: relative;
    padding-top: 1rem;
  }

  .header-nav-img {
    height: 3rem;
    width: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .header-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
  }

  .header-nav div:first-child {
    border-bottom: 2px solid black;
  }

  .header-nav-item p {
    margin: 0;
    color: grey;
    font-size: 0.8rem;
  }

  .header-nav-item .home {
    color: #333;
    font-weight: 500;
  }

  .places {
    margin-bottom: 1rem;
  }
  .home-gallery {
    display: grid;
    grid-auto-flow: column;
    align-items: start;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
    margin: 0;
    cursor: pointer;
  }

  .home-gallery::-webkit-scrollbar {
    display: none; /* hides scrollbar on WebKit browsers */
  }

  .home-gallery-item {
    width: 220px;
    border-radius: 200px;
    scroll-snap-align: start;
    padding: 0.5rem;
    flex-shrink: 0;
    position: relative;
  }

  .favourite {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    right: 10%;
    top: 8%;
    left: 10%;
  }

  .favourite .g-fav {
    background-color: rgba(255, 255, 255, 0.872);
    color: var(--color-text-black);
    font-size: 0.75rem;
    padding: 0.1rem 0.4rem;
    border-radius: 20px;
    /* position: absolute; */
  }

  .favourite .fa-heart {
    font-size: 1.3rem;
    color: var(--color-bg);
    transition: all ease 0.15s;
  }

  .fa-heart:hover {
    transform: scale(1.1);
    color: var(--color-text-black);
  }

  .home-gallery-item img {
    width: 100%;
    height: 200px;
    object-position: center;
    object-fit: cover;
    border-radius: 20px;
  }

  .home-gallery-item .hotel-name {
    font-size: 0.8rem;
    color: var(--color-text-black);

    font-weight: 600;
    margin-top: 0.5rem;
  }
  .home-gallery-item .hotel-price {
    font-size: 0.7rem;
    color: var(--color-text);
    display: flex;
    align-items: center;
    gap: 0.25rem;
  }

  .bottom-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5rem;
    padding: 0.7rem 0;
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: var(--color-surface);
  }

  .bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
  }
  .bottom-nav {
    transition: transform 0.3s ease-in-out;
    will-change: transform;
    z-index: 1000;
  }

  .bottom-nav.hide {
    transform: translateY(100%);
  }

  .explore {
    color: var(--color-primary);
  }

  .bottom-nav-item i {
    font-size: 1.2rem;
  }

  .bottom-nav-item p {
    font-size: 0.8rem;
  }

  .footer-item {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 1rem;
    padding: 0;
    margin: 0;
    padding-top: 2rem;
  }

  .footer-language {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    font-size: 0.8rem;
    font-weight: 600;
  }

  .language {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
  }

  .social-links {
    display: flex;
    justify-content: flex-start;
    gap: 1rem;
    align-items: start;
    margin-top: 1rem;
  }
  .social-icon i {
    font-size: 1.1rem;
  }

  .copyright {
    display: flex;
    flex-direction: column;
  }

  .year {
    font-size: 0.85rem;
  }

  .terms ul {
    display: flex;
  }
}
