:root {
  --bg: #ffffff;
  --bg-alt: #f7f7f7;
  --card: #ffffff;
  --accent: #ff385c;
  --accent-soft: rgba(255, 56, 92, 0.12);
  --text: #111111;
  --muted: #6b7280;
  --border-subtle: #e5e7eb;
  --radius-lg: 18px;
  --radius-md: 12px;
  --shadow-soft: 0 10px 25px rgba(0, 0, 0, 0.06);
  --shadow-card: 0 12px 28px rgba(0, 0, 0, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Inter", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
}

/* NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 32px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-left .logo {
  font-weight: 700;
  letter-spacing: 0.12em;
  font-size: 0.95rem;
  text-transform: uppercase;
}

.nav-left .logo span {
  color: var(--accent);
}

.nav-center {
  display: flex;
  gap: 20px;
}

.nav-center a {
  color: var(--muted);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 999px;
}

.nav-center a:hover {
  background: var(--accent-soft);
  color: var(--accent);
}

.nav-right {
  display: flex;
  gap: 10px;
}

/* BUTTONS */
.btn-primary,
.btn-outline {
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 20px rgba(255, 56, 92, 0.25);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-subtle);
}

/* HERO */
.hero {
  padding: 60px 20px 20px;
  max-width: 1120px;
  margin: 0 auto;
}

.hero-content h1 {
  font-size: clamp(2.4rem, 3.2vw, 3.4rem);
  line-height: 1.1;
  margin-bottom: 14px;
}

.hero-content p {
  color: var(--muted);
  max-width: 420px;
}

/* SEARCH BAR */
.search-bar {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  gap: 10px;
  padding: 14px;
  background: #fff;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
}

.field {
  display: flex;
  flex-direction: column;
}

.field label {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--muted);
}

.field input,
.field select {
  background: transparent;
  border: none;
  font-size: 0.9rem;
  padding: 4px 0;
  outline: none;
}

/* BOOKING SECTION */
.booking-section {
  margin-top: 60px;
  padding: 40px 20px;
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
}

.booking-container {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
}

/* PHOTO GRID */
.photo-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: repeat(2, 180px);
  gap: 10px;
}

.photo-grid img:first-child {
  grid-row: span 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.photo-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
}

/* LISTING INFO */
.listing-info h2 {
  margin: 0 0 6px;
}

.location {
  color: var(--muted);
  margin-bottom: 20px;
}

.host-box {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.host-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.description {
  color: var(--muted);
  margin-bottom: 20px;
}

.amenities-list {
  list-style: none;
  padding: 0;
  margin: 10px 0 20px;
}

.amenities-list li {
  margin: 4px 0;
}

/* BOOKING SUMMARY */
.booking-summary {
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-soft);
  height: fit-content;
}

.booking-summary h3 {
  margin: 0 0 6px;
}

.booking-summary .sub {
  margin: 2px 0;
  color: var(--muted);
}

.free-banner {
  margin: 14px 0;
  background: var(--bg-alt);
  padding: 10px 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.reserve-btn {
  width: 100%;
}

.reserve-note {
  margin-top: 6px;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}

/* REVIEWS */
.reviews-block {
  margin-top: 40px;
  max-width: 600px;
}

.review-row {
  display: grid;
  grid-template-columns: 120px 1fr 40px;
  align-items: center;
  gap: 10px;
  margin: 10px 0;
}

.bar {
  height: 6px;
  background: #e5e7eb;
  border-radius: 999px;
  overflow: hidden;
}

.fill {
  width: 100%;
  height: 100%;
  background: #111;
}

/* FOOTER */
.footer {
  margin-top: 60px;
  padding: 20px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 14px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .booking-container {
    grid-template-columns: 1fr;
  }

  .photo-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, 160px);
  }

  .photo-grid img:first-child {
    grid-row: span 1;
  }
}

@media (max-width: 720px) {
  .search-bar {
    grid-template-columns: 1fr;
    border-radius: 20px;
  }

  .reserve-btn {
    width: 100%;
  }

  .footer {
    flex-direction: column;
    gap: 10px;
  }
}
