
:root {
  --ink: #171717;
  --muted: #717171;
  --soft: #f7f7f5;
  --line: #e8e8e8;
  --accent: #ff5a36;
  --white: #fff;
  --radius: 22px;
  --shadow: 0 15px 45px rgba(0,0,0,.08);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background: white;
  line-height: 1.5;
}

button, input { font: inherit; }
button { cursor: pointer; }

/* NAVIGATION */

.navbar {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(15px);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -1.5px;
  color: var(--ink);
  text-decoration: none;
}

.logo span { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.host-btn {
  background: none;
  border: 0;
  padding: 10px 15px;
  font-weight: 600;
}

.account-btn {
  border: 1px solid var(--line);
  background: white;
  border-radius: 50px;
  padding: 9px 15px;
  display: flex;
  gap: 8px;
}

/* HERO */

.hero {
  padding: 72px 5% 45px;
  max-width: 1450px;
  margin: auto;
}

.hero-content { max-width: 850px; }

.eyebrow {
  color: var(--accent);
  font-size: 13px;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(46px,6vw,78px);
  line-height: .98;
  letter-spacing: -4px;
  max-width: 780px;
  margin-bottom: 24px;
}

.hero h1 span { color: var(--accent); }

.hero p {
  color: var(--muted);
  font-size: 18px;
  max-width: 620px;
}

/* SEARCH */

.search-wrap {
  margin-top: 40px;
  background: white;
  border: 1px solid #ddd;
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 8px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr auto;
  align-items: center;
}

.search-item {
  padding: 13px 20px;
  border-right: 1px solid var(--line);
  min-width: 0;
}

.search-item label,
.panel-field label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: .6px;
  margin-bottom: 3px;
}

.search-item input {
  border: 0;
  outline: 0;
  width: 100%;
  font-size: 14px;
  background: transparent;
}

.search-btn {
  width: 52px;
  height: 52px;
  border-radius: 15px;
  border: 0;
  background: var(--accent);
  color: white;
  font-size: 25px;
}

/* SECTIONS */

.section {
  max-width: 1450px;
  margin: auto;
  padding: 45px 5%;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 25px;
}

.section-heading h2 {
  font-size: 29px;
  letter-spacing: -1.2px;
}

.section-heading p,
.search-panel-header p {
  color: var(--muted);
  font-size: 14px;
  margin-top: 4px;
}

.view-all {
  border: 0;
  background: none;
  text-decoration: underline;
  font-weight: 700;
}

/* DESTINATIONS */

.destinations {
  display: grid;
  grid-template-columns: repeat(5,1fr);
  gap: 16px;
}

.destination {
  height: 300px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  color: white;
  cursor: pointer;
  background: #ddd;
}

.destination img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .5s ease;
}

.destination:hover img { transform: scale(1.06); }

.destination::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 40%,rgba(0,0,0,.72));
}

.destination-info {
  position: absolute;
  z-index: 2;
  bottom: 20px;
  left: 20px;
}

.destination-info h3 { font-size: 21px; }
.destination-info p { opacity: .8; font-size: 13px; }

/* FILTERS */

.filters {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: none;
}

.filters::-webkit-scrollbar { display: none; }

.filter {
  white-space: nowrap;
  border: 1px solid var(--line);
  background: white;
  border-radius: 50px;
  padding: 11px 17px;
  font-size: 13px;
  font-weight: 700;
}

.filter.active,
.filter:hover {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}

/* PROPERTIES */

.property-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 24px;
  margin-top: 30px;
}

.property { min-width: 0; }

.property-image {
  height: 260px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  background: #eee;
}

.property-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .45s;
}

.property:hover .property-image img {
  transform: scale(1.035);
}

.heart {
  position: absolute;
  right: 13px;
  top: 13px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  border: 0;
  font-size: 19px;
}

.heart.active { color: var(--accent); }

.badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: white;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 800;
}

.property-info { padding: 13px 3px; }

.property-title {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.property-title h3 {
  font-size: 15px;
  font-weight: 700;
}

.rating {
  white-space: nowrap;
  font-size: 13px;
}

.location {
  color: var(--muted);
  font-size: 13px;
  margin: 4px 0;
}

.price { font-size: 14px; margin-top: 7px; }
.price strong { font-size: 15px; }

.no-results {
  margin-top: 30px;
  color: var(--muted);
}

/* BANNER */

.banner {
  margin: 55px 5%;
  border-radius: 28px;
  min-height: 370px;
  overflow: hidden;
  position: relative;
  background:
    linear-gradient(90deg,rgba(0,0,0,.75),rgba(0,0,0,.1)),
    url("https://images.unsplash.com/photo-1601918774946-25832a4be0d6?auto=format&fit=crop&w=1800&q=85")
    center/cover;
  color: white;
  display: flex;
  align-items: center;
}

.banner-content {
  max-width: 550px;
  padding: 55px;
}

.banner h2 {
  font-size: clamp(35px,4vw,55px);
  line-height: 1;
  letter-spacing: -2px;
  margin-bottom: 18px;
}

.banner p {
  color: rgba(255,255,255,.82);
  margin-bottom: 25px;
}

.banner-btn {
  background: white;
  color: var(--ink);
  border: 0;
  border-radius: 50px;
  padding: 13px 22px;
  font-weight: 800;
}

/* FOOTER */

footer {
  border-top: 1px solid var(--line);
  margin-top: 40px;
  padding: 55px 5% 30px;
}

.footer-grid {
  max-width: 1450px;
  margin: auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand p {
  max-width: 300px;
  color: var(--muted);
  font-size: 14px;
  margin-top: 15px;
}

.footer-col h4 {
  font-size: 13px;
  margin-bottom: 15px;
}

.footer-col a {
  display: block;
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  margin: 10px 0;
}

.footer-col a:hover,
.nav-links a:hover {
  color: var(--accent);
}

.copyright {
  max-width: 1450px;
  margin: 45px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: #999;
  font-size: 12px;
}

/* SEARCH MODAL */

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding-top: 110px;
  z-index: 2000;
}

.modal.open { display: flex; }

.search-panel {
  width: min(700px,92%);
  background: white;
  border-radius: 25px;
  padding: 25px;
  box-shadow: 0 25px 70px rgba(0,0,0,.2);
}

.search-panel-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.close {
  border: 0;
  background: #f4f4f4;
  width: 35px;
  height: 35px;
  border-radius: 50%;
}

.panel-field {
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 15px;
  margin-bottom: 10px;
}

.panel-field input {
  width: 100%;
  border: 0;
  outline: 0;
}

.modal-search {
  width: 100%;
  background: var(--accent);
  color: white;
  border: 0;
  border-radius: 13px;
  padding: 15px;
  font-weight: 800;
  margin-top: 8px;
}

/* RESPONSIVE */

@media(max-width:1100px) {
  .property-grid { grid-template-columns: repeat(3,1fr); }
  .destinations { grid-template-columns: repeat(3,1fr); }
  .search-wrap { grid-template-columns: 1fr 1fr; }
  .search-item:nth-child(2) { border-right: 0; }
  .search-btn { margin: 8px; }
}

@media(max-width:760px) {
  .navbar { height: 70px; }
  .nav-links { display: none; }
  .hero { padding-top: 50px; }
  .hero h1 { letter-spacing: -2.5px; }

  .search-wrap { display: block; padding: 6px; }
  .search-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .search-btn { width: 100%; margin: 8px 0 0; }

  .destinations { grid-template-columns: repeat(2,1fr); }
  .destination { height: 220px; }

  .property-grid {
    grid-template-columns: repeat(2,1fr);
    gap: 16px;
  }

  .property-image { height: 220px; }
  .banner { margin: 35px 5%; }
  .banner-content { padding: 35px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media(max-width:500px) {
  .section { padding-top: 32px; }
  .destinations { gap: 10px; }
  .destination { height: 190px; }
  .property-grid { grid-template-columns: 1fr; }
  .property-image { height: 270px; }
  .section-heading h2 { font-size: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
}
