@import url("https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400..700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400..700&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
body {
  font-family: "Poppins", serif;
  font-weight: 500;
  background-color: #fff;
  color: #343a40;
  line-height: 1.6;
  background-color: #f4f4f4;
  padding: 0;
  margin: 0;
}

.container {
  max-width: 1200px;
  margin: 50px auto;
  padding: 20px;
  background-color: #f7f7f7;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
  min-height: 465px;
}
.container h1 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 20px;
}

button, .icone {
  padding: 12px;
  font-size: 1.25rem;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  margin-top: 20px;
}
button.btn-secondary, .icone.btn-secondary {
  background-color: #333;
  color: #fff;
}
button.btn-success, .icone.btn-success {
  background-color: #ff385c;
  color: #fff;
}
button:hover, .icone:hover {
  opacity: 0.85;
}

#backToTopBtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 99;
  background-color: #555;
  border: none;
  padding: 10px;
  cursor: pointer;
  border-radius: 5px;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

#backToTopBtn.show {
  opacity: 1;
}

html {
  scroll-behavior: smooth;
}

nav {
  background-color: white;
  padding: 10px 0;
  position: relative;
}
nav .container-fluid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}
nav .logo {
  width: 60px;
}
nav .menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  position: relative;
  font-size: 24px;
  color: #333;
  transition: color 0.3s ease;
}
nav .menu-toggle .fa-bars {
  display: block;
}
nav .menu-toggle .fa-xmark {
  display: none;
}
nav .menu-toggle.open .fa-bars {
  display: none;
}
nav .menu-toggle.open .fa-xmark {
  display: block;
}
nav .menu-toggle:focus {
  outline: none;
}
nav .navbar {
  display: flex;
  align-items: center;
}
nav .navbar a {
  text-decoration: none;
  color: #333;
  padding: 10px;
  transition: color 0.3s ease;
}
nav .navbar a:hover {
  color: #ff385c;
}
@media (max-width: 1024px) {
  nav {
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
  }
  nav .navbar {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    padding: 10px;
    z-index: 1099;
  }
  nav .navbar a {
    padding: 10px;
    font-size: 18px;
  }
  nav .navbar.open {
    display: flex;
  }
  nav .menu-toggle {
    display: block;
  }
}

footer {
  background: #222;
  color: #fff;
  padding: 40px 0;
  text-align: center;
  font-size: 14px;
}
footer .containerr {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
footer p {
  margin-bottom: 15px;
  font-size: 14px;
  opacity: 0.8;
}
footer .footer-links {
  list-style: none;
  padding: 0;
  margin: 0 0 15px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
footer .footer-links li {
  margin: 5px 15px;
}
footer .footer-links li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}
footer .footer-links li a:hover {
  color: #ff385c;
}
footer .footer-social {
  margin-top: 10px;
}
footer .footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #fff;
  font-size: 18px;
  transition: all 0.3s ease;
  text-decoration: none;
}
footer .footer-social a:hover {
  background: #ff385c;
  color: #fff;
}
@media (max-width: 1024px) {
  footer .footer-links {
    flex-direction: column;
    align-items: center;
  }
  footer .footer-links li {
    margin: 5px 0;
  }
  footer .footer-social a {
    width: 35px;
    height: 35px;
    font-size: 16px;
  }
}

#chat-widget-admin, #chat-widget-user {
  position: fixed;
  bottom: 70px;
  right: 20px;
  z-index: 1000;
}

#chat-icon {
  background-color: #ff385c;
  color: white;
  padding: 10px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  text-align: center;
}

#chat-window {
  display: none;
  position: fixed;
  bottom: 70px;
  right: 20px;
  width: 300px;
  height: 400px;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  background: white;
  overflow: hidden;
}

#chat-conversations {
  height: 150px;
  overflow-y: auto;
  padding: 10px;
}

#chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 10px;
}

#chat-input {
  display: flex;
  border-top: 1px solid #ccc;
  padding: 10px;
  background: #f9f9f9;
}

#chat-input textarea {
  flex: 1;
  border: none;
  padding: 10px;
  resize: none;
  border-radius: 4px;
  margin-right: 10px;
}

#chat-input button {
  background: #ff385c;
  color: white;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 4px;
}

#back-button {
  padding: 10px;
  cursor: pointer;
  font-weight: bold;
  border-bottom: 1px solid #ccc;
  background: #f9f9f9;
}

#back-button:hover {
  background: #e9e9e9;
}

.conversation-item, .user-item {
  padding: 10px;
  border-bottom: 1px solid #ccc;
  cursor: pointer;
}

.conversation-item:hover, .user-item:hover {
  background-color: #e9e9e9;
}

/* =====================================================
   HOME PAGE — Airbnb-inspired
   ===================================================== */

/* Main wrapper */
.home-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 24px 64px;
}

/* ── Search bar ── */
.home-search-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 48px;
}

.home-search {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid #DDDDDD;
  border-radius: 999px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.10);
  padding: 8px 8px 8px 20px;
  gap: 0;
  width: 100%;
  max-width: 560px;
  transition: box-shadow 0.2s ease;
}

.home-search:focus-within {
  box-shadow: 0 4px 20px rgba(0,0,0,0.16);
}

.home-search__field {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.home-search__label {
  font-size: 11px;
  font-weight: 700;
  color: #222;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 2px;
  line-height: 1;
}

.home-search__input {
  border: none;
  outline: none;
  background: transparent;
  font-size: 14px;
  color: #222;
  width: 100%;
  padding: 0;
  font-family: inherit;
}

.home-search__input::placeholder {
  color: #717171;
}

.home-search__btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #FF385C;
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color 0.15s ease;
  margin-top: 0;
}

.home-search__btn:hover {
  background: #E31C5F;
  opacity: 1;
}

/* ── Sections ── */
.home-section {
  margin-bottom: 52px;
}

.home-section__title {
  font-family: inherit;
  font-size: 22px;
  font-weight: 700;
  color: #222;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
}

.home-empty {
  color: #717171;
  font-size: 15px;
  padding: 24px 0;
}

/* ── Listing grid ── */
.listing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

/* ── Card ── */
.listing-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.listing-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.10);
}

.listing-card__img-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 12px;
  background: #F0F0F0;
}

.listing-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.listing-card:hover .listing-card__img-wrap img {
  transform: scale(1.03);
}

.listing-card__body {
  padding: 12px 4px 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.listing-card__name {
  font-size: 15px;
  font-weight: 600;
  color: #222;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.listing-card__desc {
  font-size: 13px;
  color: #717171;
  margin: 0;
  line-height: 1.4;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.listing-card__price {
  font-size: 14px;
  color: #222;
  margin: 6px 0 0;
}

.listing-card__price strong {
  font-weight: 700;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .listing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .home-main {
    padding: 20px 16px 48px;
  }
  .home-search {
    flex-direction: column;
    border-radius: 16px;
    padding: 16px;
    gap: 12px;
    align-items: stretch;
  }
  .home-search__btn {
    justify-content: center;
    border-radius: 8px;
    padding: 14px;
  }
  .listing-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/*# sourceMappingURL=home.css.map */
