*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: radial-gradient(circle at top left, #0f172a 0, #020617 40%, #020617 100%);
  color: #e5e7eb;
}

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

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.3));
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
}

.logo {
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.05em;
}

.logo span {
  color: #38bdf8;
}

.nav-links {
  display: flex;
  gap: 1.25rem;
  font-size: 0.95rem;
}

.nav-links a {
  color: #cbd5f5;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, #38bdf8, #a855f7);
  transition: width 0.2s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.hero {
  padding: 3.5rem 0 2.5rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(2.3rem, 3vw, 3rem);
  margin-bottom: 0.75rem;
}

.hero-text p {
  color: #cbd5f5;
  max-width: 30rem;
  font-size: 0.98rem;
}

.search-card {
  margin-top: 1.75rem;
  padding: 1rem;
  border-radius: 1rem;
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.14), rgba(15, 23, 42, 0.96));
  border: 1px solid rgba(148, 163, 184, 0.35);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
  align-items: end;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.field-row {
  display: flex;
  gap: 0.75rem;
}

label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9ca3af;
}

input,
select {
  border-radius: 0.6rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
  padding: 0.55rem 0.65rem;
  background: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
  font-size: 0.9rem;
}

input:focus,
select:focus {
  outline: none;
  border-color: #38bdf8;
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.3);
}

.btn-primary {
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  border: none;
  background: linear-gradient(to right, #38bdf8, #a855f7);
  color: #0f172a;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  white-space: nowrap;
}

.btn-primary:hover {
  filter: brightness(1.08);
}

.btn-secondary {
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: transparent;
  color: #e5e7eb;
  font-weight: 500;
}

.btn-ghost {
  padding: 0.6rem 1rem;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: #9ca3af;
}

.btn-secondary:hover,
.btn-ghost:hover {
  background: rgba(15, 23, 42, 0.8);
}

.full-width {
  width: 100%;
}

.hero-badges {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: #9ca3af;
}

.hero-badges span {
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: rgba(15, 23, 42, 0.7);
}

.hero-visual {
  position: relative;
  min-height: 260px;
}

.hero-card {
  position: absolute;
  inset: 0;
  border-radius: 1.5rem;
  background-size: cover;
  background-position: center;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.9);
}

.hero-card.main {
  background-image: url('https://images.pexels.com/photos/261102/pexels-photo-261102.jpeg');
}

.hero-card.secondary {
  background-image: url('https://images.pexels.com/photos/164595/pexels-photo-164595.jpeg');
  transform: translate(18%, 18%);
  opacity: 0.85;
  border: 1px solid rgba(148, 163, 184, 0.6);
}

.section {
  padding: 2.5rem 0 3.5rem;
}

.section-title {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.section-subtitle {
  color: #9ca3af;
  font-size: 0.9rem;
  margin-bottom: 1.75rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.4rem;
}

.hotel-card {
  border-radius: 1.1rem;
  overflow: hidden;
  background: rgba(15, 23, 42, 0.93);
  border: 1px solid rgba(148, 163, 184, 0.5);
  display: flex;
  flex-direction: column;
  min-height: 260px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.hotel-card:hover {
  transform: translateY(-4px);
  border-color: #38bdf8;
  box-shadow: 0 18px 40px rgba(8, 47, 73, 0.8);
}

.hotel-image {
  height: 140px;
  background-size: cover;
  background-position: center;
}

.hotel-body {
  padding: 0.9rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.hotel-body h3 {
  margin: 0;
  font-size: 1rem;
}

.hotel-body p {
  margin: 0;
  font-size: 0.85rem;
  color: #9ca3af;
}

.hotel-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
}

.pill {
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.7);
}

.rating {
  color: #facc15;
}

.rating.large {
  font-size: 1rem;
}

.search-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 2rem;
}

.search-filters {
  padding: 1.1rem;
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: rgba(15, 23, 42, 0.95);
}

.search-filters h2 {
  font-size: 1rem;
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.filter-form {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.search-results {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.search-header h1 {
  margin: 0;
  font-size: 1.3rem;
}

.search-header p {
  margin: 0.25rem 0 0;
  color: #9ca3af;
  font-size: 0.9rem;
}

.list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.hotel-row {
  display: grid;
  grid-template-columns: 180px minmax(0, 1.8fr) auto;
  gap: 1rem;
  padding: 0.7rem;
  border-radius: 0.9rem;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.35);
  align-items: center;
}

.hotel-row:hover {
  border-color: #38bdf8;
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.1), rgba(15, 23, 42, 0.97));
}

.hotel-row-image {
  height: 120px;
  border-radius: 0.75rem;
  background-size: cover;
  background-position: center;
}

.hotel-row-body h3 {
  margin: 0 0 0.2rem;
  font-size: 1rem;
}

.hotel-row-city {
  margin: 0;
  font-size: 0.85rem;
  color: #cbd5f5;
}

.hotel-row-desc {
  margin: 0.25rem 0 0;
  font-size: 0.83rem;
  color: #9ca3af;
}

.hotel-row-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
}

.cta-link {
  font-size: 0.85rem;
  color: #38bdf8;
}

.empty-state {
  padding: 2rem 1.5rem;
  text-align: center;
  border-radius: 1rem;
  background: rgba(15, 23, 42, 0.95);
  border: 1px dashed rgba(148, 163, 184, 0.6);
}

.empty-state h3 {
  margin: 0 0 0.4rem;
}

.empty-state p {
  margin: 0;
  color: #9ca3af;
}

.hotel-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.9fr);
  gap: 2rem;
  align-items: flex-start;
}

.hotel-hero-banner {
  height: 260px;
  border-radius: 1.4rem;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(148, 163, 184, 0.6);
}

.hotel-main-body {
  margin-top: 1.2rem;
}

.hotel-main-body h1 {
  margin: 0;
  font-size: 1.5rem;
}

.hotel-location {
  margin: 0.2rem 0 0.6rem;
  color: #9ca3af;
}

.hotel-description {
  color: #cbd5f5;
  font-size: 0.95rem;
}

.subheading {
  margin-top: 1.4rem;
  margin-bottom: 0.7rem;
  font-size: 1.05rem;
}

.rooms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1rem;
}

.room-card {
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: rgba(15, 23, 42, 0.95);
}

.room-image {
  height: 130px;
  background-size: cover;
  background-position: center;
}

.room-body {
  padding: 0.8rem 0.9rem 1rem;
}

.room-body h3 {
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
}

.room-meta {
  margin: 0;
  font-size: 0.85rem;
  color: #cbd5f5;
  display: flex;
  justify-content: space-between;
}

.booking-panel {
  padding: 1.25rem 1.2rem 1.3rem;
  border-radius: 1.1rem;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.16), rgba(15, 23, 42, 0.98));
}

.booking-panel h2 {
  margin-top: 0;
  margin-bottom: 0.9rem;
}

.booking-form {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.booking-note {
  margin: 0.5rem 0 0;
  font-size: 0.78rem;
  color: #9ca3af;
}

.booking-confirm-card {
  max-width: 720px;
  margin: 0 auto;
  padding: 2.2rem 2rem 2.3rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.15), rgba(15, 23, 42, 0.98));
  text-align: center;
}

.icon-circle {
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  border: 2px solid #22c55e;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #22c55e;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.booking-confirm-card h1 {
  margin: 0 0 0.4rem;
}

.subtitle {
  margin: 0 0 1.2rem;
  color: #cbd5f5;
  font-size: 0.95rem;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1rem;
  text-align: left;
  margin-bottom: 1.5rem;
}

.details-grid h3 {
  margin: 0 0 0.3rem;
  font-size: 0.9rem;
}

.details-grid p {
  margin: 0.12rem 0;
  font-size: 0.85rem;
  color: #cbd5f5;
}

.muted {
  color: #9ca3af;
  font-size: 0.8rem;
}

.actions-row {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.admin-header h1 {
  margin: 0 0 0.3rem;
}

.admin-header .subtitle {
  margin-bottom: 1.3rem;
}

.table-wrapper {
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.6);
  overflow: auto;
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.table th,
.table td {
  padding: 0.55rem 0.75rem;
  border-bottom: 1px solid rgba(30, 41, 59, 0.9);
}

.table th {
  text-align: left;
  background: rgba(15, 23, 42, 0.95);
  position: sticky;
  top: 0;
  z-index: 1;
}

.table tr:nth-child(even) td {
  background: rgba(15, 23, 42, 0.88);
}

.footer {
  border-top: 1px solid rgba(148, 163, 184, 0.3);
  margin-top: 2rem;
}

.footer-inner {
  padding: 1.3rem 0 1.6rem;
  text-align: center;
  font-size: 0.8rem;
  color: #9ca3af;
}

.footer-note {
  margin: 0.2rem 0 0;
  font-size: 0.78rem;
}

main {
  min-height: 70vh;
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-visual {
    min-height: 220px;
  }

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

  .hotel-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .search-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 700px) {
  .nav-inner {
    flex-direction: row;
  }

  .nav-links {
    gap: 0.8rem;
    font-size: 0.8rem;
  }

  .hotel-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .hotel-row-image {
    height: 150px;
  }

  .hotel-row-side {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .search-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .field-row {
    flex-direction: column;
  }
}

