:root {
  --bg: #f7f3eb;
  --surface: #ffffff;
  --surface-soft: #fff9ef;
  --ink: #1f2430;
  --muted: #6f7482;
  --gold: #d4af37;
  --gold-dark: #b48e1e;
  --border: rgba(31, 36, 48, 0.1);
  --shadow: 0 24px 48px rgba(50, 38, 13, 0.08);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(212, 175, 55, 0.18), transparent 28%),
    radial-gradient(circle at right center, rgba(173, 141, 56, 0.14), transparent 24%),
    var(--bg);
  color: var(--ink);
  font-family: "Inter", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.shell {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(212, 175, 55, 0.24);
}

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 92px;
  gap: 24px;
}

.brand img {
  height: 64px;
  width: auto;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.header-link {
  font-size: 0.96rem;
  color: var(--muted);
  transition: color 0.2s ease, transform 0.2s ease;
}

.header-link:hover {
  color: var(--ink);
  transform: translateY(-1px);
}

.header-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.header-button.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--gold) 0%, #bea35b 100%);
  box-shadow: 0 16px 28px rgba(180, 142, 30, 0.2);
}

.header-button.secondary {
  background: rgba(31, 36, 48, 0.06);
  color: var(--ink);
}

.header-button.wide {
  width: 100%;
}

.header-button:hover {
  transform: translateY(-2px);
}

.hero {
  padding: 72px 0 48px;
}

.hero-shell {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--gold-dark);
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
}

.hero-copy h1,
.listing-header h1,
.detail-heading h1 {
  margin: 0 0 18px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3rem, 5vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.hero-copy p,
.listing-header p,
.detail-heading p,
.content-card p,
.site-footer p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.search-panel,
.promo-strip,
.content-card,
.filters-card,
.booking-card,
.venue-card,
.city-card,
.empty-card,
.alert-card,
.flash-message {
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.search-panel {
  padding: 20px;
  border-radius: var(--radius-lg);
}

.search-panel-tab {
  display: inline-block;
  margin-bottom: 18px;
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.12);
  color: var(--gold-dark);
  font-weight: 700;
}

.search-form,
.filters-form,
.booking-form {
  display: grid;
  gap: 16px;
}

.field-group {
  display: grid;
  gap: 8px;
}

.field-group label {
  font-size: 0.92rem;
  font-weight: 700;
}

.field-group input,
.field-group select,
.field-group textarea {
  width: 100%;
  border: 1px solid rgba(31, 36, 48, 0.15);
  border-radius: 14px;
  background: #fff;
  min-height: 52px;
  padding: 0 16px;
  font: inherit;
  color: var(--ink);
}

.field-group textarea {
  min-height: 136px;
  padding-top: 14px;
  resize: vertical;
}

.section,
.listing-page,
.detail-page {
  padding-bottom: 48px;
}

.promo-strip {
  margin-top: 8px;
  margin-bottom: 28px;
  padding: 28px 32px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.promo-strip h2,
.section-heading h2,
.content-card h2,
.filters-head h2,
.empty-card h1,
.empty-card h2,
.alert-card h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1;
}

.section-heading {
  margin-bottom: 22px;
}

.cards-grid,
.city-grid {
  display: grid;
  gap: 22px;
}

.cards-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.city-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.venue-card,
.city-card,
.content-card,
.filters-card,
.booking-card,
.empty-card,
.alert-card,
.flash-message {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.venue-card-link {
  display: grid;
  grid-template-columns: 320px 1fr;
  min-height: 100%;
}

.venue-card.compact .venue-card-link {
  grid-template-columns: 1fr;
}

.venue-card-image {
  position: relative;
  min-height: 260px;
}

.venue-card-image.large {
  min-height: 300px;
}

.venue-card-image img,
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.venue-card-content {
  display: grid;
  gap: 18px;
  padding: 24px;
}

.venue-card-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.venue-card-head h2,
.venue-card-head h3,
.city-card-body h3 {
  margin: 0;
  font-size: 1.4rem;
  line-height: 1.2;
}

.venue-card-head p,
.city-card-body p,
.venue-description,
.venue-meta span,
.filters-head a,
.detail-side-rating p,
.booking-price p {
  margin: 0;
  color: var(--muted);
}

.rating-pill,
.rating-box em {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  height: 54px;
  border-radius: 18px 18px 18px 6px;
  background: linear-gradient(135deg, var(--gold) 0%, #bea35b 100%);
  color: #fff;
  font-style: normal;
  font-weight: 800;
}

.rating-box {
  text-align: right;
  display: grid;
  gap: 4px;
}

.venue-tags,
.event-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.venue-tags span,
.event-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.12);
  color: #735815;
  font-size: 0.92rem;
  font-weight: 600;
}

.venue-meta {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.venue-meta strong,
.booking-price strong {
  font-size: 1.5rem;
}

.city-card-visual {
  min-height: 160px;
  background:
    linear-gradient(145deg, rgba(212, 175, 55, 0.18), rgba(52, 38, 12, 0.08)),
    linear-gradient(160deg, #fbf0d1 0%, #f3e4bc 100%);
}

.city-card-body {
  padding: 20px;
}

.site-footer {
  padding-top: 44px;
  margin-top: 24px;
  background: #1d1f26;
  color: rgba(255, 255, 255, 0.76);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 0.8fr;
  gap: 24px;
  padding-bottom: 24px;
}

.site-footer h3,
.site-footer h4 {
  color: #fff3cf;
  margin: 0 0 12px;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.footer-bottom {
  padding: 18px 0 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 28px 0 18px;
  color: var(--muted);
  font-size: 0.94rem;
}

.listing-layout,
.detail-layout {
  display: grid;
  gap: 24px;
}

.listing-layout {
  grid-template-columns: 320px 1fr;
}

.detail-layout {
  grid-template-columns: 1.15fr 0.85fr;
  align-items: start;
}

.filters-card,
.booking-card,
.content-card,
.empty-card,
.alert-card,
.flash-message {
  padding: 24px;
}

.filters-card {
  position: sticky;
  top: 110px;
}

.filters-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.listing-results {
  display: grid;
  gap: 18px;
}

.detail-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 24px;
}

.detail-side-rating {
  display: flex;
  align-items: center;
  gap: 14px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}

.gallery-item {
  min-height: 200px;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.gallery-item-main {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 420px;
}

.detail-main {
  display: grid;
  gap: 22px;
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.amenity-item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 14px;
  border-radius: 16px;
  background: rgba(31, 36, 48, 0.04);
}

.amenity-icon {
  position: relative;
  display: inline-flex;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.18);
}

.amenity-icon::before,
.amenity-icon::after {
  content: "";
  position: absolute;
}

.amenity-icon.check::before {
  width: 7px;
  height: 12px;
  border-right: 2px solid #735815;
  border-bottom: 2px solid #735815;
  transform: rotate(40deg);
  left: 5px;
  top: 1px;
}

.amenity-icon.car::before {
  inset: 5px 3px 6px;
  border-radius: 3px;
  background: #735815;
}

.amenity-icon.car::after {
  width: 10px;
  height: 4px;
  border-radius: 2px 2px 0 0;
  background: #735815;
  left: 4px;
  top: 3px;
}

.amenity-icon.utensils::before {
  width: 2px;
  height: 12px;
  background: #735815;
  left: 5px;
  top: 3px;
  box-shadow: 4px 0 0 #735815;
}

.amenity-icon.utensils::after {
  width: 6px;
  height: 2px;
  background: #735815;
  left: 3px;
  top: 6px;
}

.amenity-icon.music::before {
  width: 8px;
  height: 10px;
  border: 2px solid #735815;
  border-top: none;
  border-left: none;
  border-radius: 0 0 10px 0;
  left: 3px;
  top: 2px;
}

.amenity-icon.music::after {
  width: 2px;
  height: 8px;
  background: #735815;
  left: 10px;
  top: 2px;
}

.amenity-icon.bed::before {
  width: 12px;
  height: 6px;
  background: #735815;
  left: 3px;
  top: 8px;
  border-radius: 2px;
}

.amenity-icon.bed::after {
  width: 4px;
  height: 4px;
  background: #735815;
  left: 3px;
  top: 5px;
  border-radius: 2px 2px 0 0;
}

.booking-card {
  position: sticky;
  top: 110px;
  display: grid;
  gap: 22px;
}

.booking-price span {
  display: block;
  color: var(--muted);
  margin-bottom: 8px;
}

.empty-card,
.alert-card,
.flash-message {
  margin-bottom: 24px;
}

.flash-message.success {
  border-left: 6px solid #2c9f5d;
}

.flash-message.error,
.alert-card {
  border-left: 6px solid #be5b4f;
}

.alert-card code {
  display: block;
  margin-top: 12px;
  padding: 14px;
  border-radius: 12px;
  background: rgba(31, 36, 48, 0.06);
  white-space: pre-wrap;
  word-break: break-word;
}

@media (max-width: 1080px) {
  .hero-shell,
  .listing-layout,
  .detail-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .city-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filters-card,
  .booking-card {
    position: static;
  }

  .venue-card-link {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .header-main,
  .header-actions,
  .promo-strip,
  .detail-heading,
  .venue-card-head,
  .venue-meta {
    flex-direction: column;
    align-items: stretch;
  }

  .cards-grid,
  .city-grid,
  .gallery-grid,
  .amenities-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item-main {
    grid-column: span 1;
    grid-row: span 1;
    min-height: 280px;
  }

  .hero {
    padding-top: 40px;
  }

  .shell {
    width: min(100% - 24px, 1200px);
  }
}
