/* Reset and base variables */
:root {
  --text: #3a3335;
  --text-light: #766d6d;
  --bg: #fdfbf7;
  --border: #e6e2da;
  --accent: #c25e00;
  --spacing-unit: 1.5rem;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: all 0.2s ease;
}

a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* Typography */
h1, h2, h3 {
  font-family: "Courier New", Courier, monospace;
  line-height: 1.3;
  font-weight: normal;
  color: #2c2424;
  margin-bottom: 1rem;
}

h1 { 
  font-size: 3rem; 
  letter-spacing: -0.02em;
  font-style: italic;
}

h2 { 
  font-size: 1.8rem; 
  margin-top: 2.5rem;
  font-style: italic;
}

h3 { 
  font-size: 1.2rem; 
  margin-top: 0;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-style: normal;
}

p { margin-bottom: 1.5rem; }

/* Navigation */
.nav {
  padding-bottom: 2rem;
  margin-bottom: 4rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  font-family: "Courier New", Courier, monospace;
  font-weight: bold;
  font-size: 1.5rem;
  border: 2px solid var(--text);
  color: var(--text);
  padding: 0.25rem 0.5rem;
  line-height: 1;
}

.nav__logo:hover {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}

.nav__links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}

.nav__countries {
  display: flex;
  gap: 1.5rem;
}

.nav__country {
  font-family: "Courier New", Courier, monospace;
  font-style: normal;
  font-size: 1rem;
  color: var(--text);
  border: none;
}

.nav__country--active {
  color: var(--accent);
}

.nav__cities {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
}

.nav__city {
  color: var(--text-light);
  border: none;
}

.nav__city:hover,
.nav__city--active {
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
}

/* Layout Components */
.home__header, .city__header, .entry__header {
  text-align: center;
  margin-bottom: 5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.home__tagline {
  font-family: "Courier New", Courier, monospace;
  font-style: normal;
  color: var(--text-light);
  font-size: 1.2rem;
}

.city__banner img, .entry__image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  margin-bottom: 3rem;
  background-color: var(--border);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* Grids */
.home__countries,
.country__cities,
.entries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 4rem;
}

/* Cards */
.country-card,
.city-card {
  padding-bottom: 1rem;
  /* Removed box styling */
  background: transparent;
  padding: 0;
  border: none;
  box-shadow: none;
}

.country-card:hover {
  /* No hover transform for plain text list */
  transform: none;
  box-shadow: none;
}

.country-card h2 {
  margin-top: 0;
  font-size: 1.5rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
}

.country-card h2 a {
  border: none;
}

.country-card__cities {
  display: flex;
  flex-direction: column; /* Stack cities vertically */
  gap: 0.5rem;
}

.city-link {
  color: var(--text);
  font-size: 1rem;
  border: none; /* Remove underline from links in list */
  display: inline-block;
}

.city-link:hover {
  color: var(--accent);
}

.entry-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.entry-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.entry-card__content {
  padding: 1.5rem;
}

.entry-card__image {
  height: 220px;
  width: 100%;
  object-fit: cover;
  margin-bottom: 0;
  border-radius: 0;
}

.entry-card__title {
  margin-top: 1rem;
}

.entry-card__title a {
  border: none;
}

.entry-card__address {
  color: var(--text-light);
  font-size: 0.85rem;
  font-style: italic;
  margin-bottom: 0;
}

/* Entry Page Details */
.entry__meta {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  color: var(--text-light);
  font-family: "Courier New", Courier, monospace;
  font-style: normal;
  font-size: 1rem;
  margin-bottom: 2rem;
}

.entry__type {
  font-weight: normal;
  color: var(--accent);
}

.entry__photos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin: 3rem 0;
}

.entry__photos img {
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.entry__content {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* Sections */
.entries-group { margin-bottom: 5rem; }
.entries-group__title {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-light);
  border-bottom: 1px solid var(--border);
  padding-bottom: 1rem;
  margin-bottom: 2.5rem;
  text-align: center;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-style: normal;
}

/* Mobile */
@media (max-width: 600px) {
  body { padding: 1.5rem; }
  h1 { font-size: 2.2rem; }
  .nav { flex-direction: column; gap: 1rem; }
  .nav__links { align-items: center; }
  .entry__photos { grid-template-columns: 1fr; }
}
