/* Google Fonts import: Playfair Display and Open Sans */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600&family=Open+Sans&display=swap');

/* Base body and html styling: full height, reset margin, font, background, and text color */
body,
html {
  height: 100%;
  margin: 0;
  font-family: 'Open Sans', sans-serif;
  background-color: #000000;
  color: var(--gold);
}

/* Root color variables */
:root {
  --gold: #c5a880;
  --black: #000;
  --white: #fff;
}

/* City title styling: centered, gold color, Playfair Display font */
#city-title {
  text-align: center;
  color: var(--gold);
  font-family: 'playfair display', serif;
}

/* All h2 headings centered */
h2 {
  text-align: center;
}

/* Top Header with logo and navigation (on top of slideshow) */
.top-header {
  /* Pale frosty blue */
  height: 15%;
  display: flex;
  align-items: center;
  padding-left: 2rem;
}

/* Logo container styling */
.logo-container {
  display: flex;
  align-items: center;
}

/* Logo image styling with hover scale effect */
.logo-container a img {
  max-width: 220px;
  height: auto;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.logo-container a img:hover {
  transform: scale(1.05);
}

/* Navigation links container styling */
.nav-links {
  margin-left: auto;
  display: flex;
  gap: 2rem;
  padding-right: 2rem;
  align-items: center;
}

/* Individual navigation link styling and hover effects */
.nav-links a {
  text-decoration: none;
  font-family: 'Open Sans', sans-serif;
  font-size: 1.1rem;
  color: var(--gold);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: background 0.3s, color 0.3s;
}

.nav-links a:hover {
  background-color: #ffffff;
  color: #000000;
}

/* Main content area: flex layout with map and sidebar, fills viewport height minus header */
.main-content {
  display: flex;
  height: calc(100vh - 120px);
}

/* Map section: takes majority of space, positioned relative for overlays */
.map-section {
  flex: 2;
  position: relative;
}

/* Google map component: full width and height */
gmp-map {
  height: 100%;
  width: 100%;
}

/* Place picker container: small overlay panel with padding and shadow */
.place-picker-container {
  padding: 10px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  margin: 10px;
}

/* Sidebar: scrollable, black background, padding */
.sidebar {
  flex: 1;
  overflow-y: auto;
  background-color: #000000;
  padding: 10px;
}

/* Sidebar heading styling */
.sidebar h2 {
  margin-top: 0;
  font-family: 'Playfair Display', serif;
}

/* Grid for hotel links inside sidebar: 2 columns */
.hotel-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  /* 2x2 grid */
  gap: 15px;
  justify-items: center;
}

/* Individual hotel cards: block links with gold border and text */
.hotel-card {
  display: block;
  text-decoration: none;
  color: var(--gold);
  /* Text color */
  border: 2px solid var(--gold);
  /* Border color */
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s, border-color 0.2s;
  width: 100%;
}

/* Hover effect for hotel cards: subtle scale */
.hotel-card:hover {
  transform: scale(1.02);
  border-color: var(--gold);
  /* Keep gold on hover */
}

/* Hotel image styling: full width, fixed height, cover */
.hotel-card img {
  width: 100%;
  height: 120px;
  object-fit: cover;
}

/* Hotel card title styling */
.hotel-card h3 {
  margin: 8px;
  font-size: 16px;
  text-align: center;
  color: var(--gold);
  /* Text in gold */
}