@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;500;600;700&display=swap');

:root {
  --bg:      #FFFFFF;
  --card:    #F4F4F4;
  --text:    #111111;
  --muted:   #888888;
  --border:  #E4E4E4;
  --surface: #EBEBEB;
  --accent:  #FFD100;

  --font-display: 'Raleway', system-ui, sans-serif;
  --font-body:    'Raleway', system-ui, sans-serif;
}

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

html { font-size: 16px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ─── Layout ─────────────────────────────────────────────── */

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ─── Header ─────────────────────────────────────────────── */

.site-header {
  padding: 1.75rem 0;
}

.site-header .container {
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.header-name {
  font-size: 0.8rem;
  color: var(--muted);
}

/* ─── Footer ─────────────────────────────────────────────── */

.site-footer {
  padding: 2.5rem 0;
  margin-top: 5rem;
}

.site-footer p {
  font-size: 0.78rem;
  color: var(--muted);
}

.footer-link {
  color: var(--muted);
  transition: color 0.12s;
}

.footer-link:hover { color: var(--text); }

/* ─── Homepage ───────────────────────────────────────────── */

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

.hero-intro {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.5vw, 2.8rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.03em;
  max-width: 560px;
  color: var(--text);
}

.rooms-nav {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.room-item {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1.5rem 1.75rem;
  background: var(--card);
  border-radius: 12px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  transition: box-shadow 0.15s ease, transform 0.15s ease;
  cursor: pointer;
}

.room-item:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  transform: translateY(-1px);
}

.room-item.room-soon { opacity: 0.4; pointer-events: none; }

.room-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  width: 5.5rem;
  flex-shrink: 0;
}

.room-num {
  font-size: 0.75rem;
  color: var(--muted);
}

.room-status {
  font-size: 0.65rem;
  color: #B8900A;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}

.room-item.room-soon .room-status { color: var(--muted); }

.room-body { flex: 1; }

.room-name {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 0.25rem;
}

.room-desc {
  font-size: 0.875rem;
  color: var(--muted);
}

.room-caret {
  font-size: 1.1rem;
  color: var(--muted);
  transition: transform 0.12s ease;
  flex-shrink: 0;
}

.room-item:hover .room-caret { transform: translateX(5px); }

/* ─── Garage page ────────────────────────────────────────── */

.page-header {
  padding: 3rem 0 2.5rem;
  margin-bottom: 2.5rem;
}

.page-header .back {
  display: inline-block;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
  transition: opacity 0.12s;
}
.page-header .back:hover { opacity: 0.6; }

.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.page-header .page-desc {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--muted);
}

/* Section nav */
.section-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--bg);
  padding: 0.85rem 0;
  margin-bottom: 3.5rem;
}

.section-nav .container {
  display: flex;
  gap: 2rem;
}

.section-nav a {
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 500;
  transition: color 0.12s;
}

.section-nav a:hover,
.section-nav a.active { color: var(--text); }

/* Garage sections */
.garage-section {
  margin-bottom: 5.5rem;
}

.section-header {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.section-header .count {
  font-size: 0.75rem;
  color: var(--muted);
}

/* Owned cars grid */
.cars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.car-card {
  background: var(--card);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.car-card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

.car-card .car-photo {
  aspect-ratio: 1 / 1;
  background: var(--surface);
  overflow: hidden;
}

.car-card .car-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.car-card:hover .car-photo img { transform: scale(1.03); }

.car-card .car-photo.no-photo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.car-card .car-photo.no-photo span {
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.car-card-body {
  padding: 1rem 1.25rem 1.4rem;
}

.car-year {
  font-size: 0.7rem;
  color: #B8900A;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 0.2rem;
}

.car-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.car-note {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.6;
}

/* Rentals grid */
.rentals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.rental-card {
  background: var(--card);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.rental-card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

.rental-photo {
  aspect-ratio: 1 / 1;
  background: var(--surface);
  overflow: hidden;
}

.rental-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.rental-card:hover .rental-photo img { transform: scale(1.03); }

.rental-body {
  padding: 0.9rem 1.1rem 1.1rem;
}

.rental-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.2rem;
}

.rental-where {
  font-size: 0.7rem;
  color: #B8900A;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 0.35rem;
}

.rental-note {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.55;
}

/* Spotting */
.spots-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.spot-item {
  display: grid;
  grid-template-columns: 140px 1fr 160px;
  gap: 1.5rem;
  padding: 1.25rem;
  background: var(--card);
  border-radius: 12px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  align-items: start;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.spot-item:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

.spot-photo {
  aspect-ratio: 1 / 1;
  background: var(--surface);
  overflow: hidden;
  border-radius: 8px;
  flex-shrink: 0;
}

.spot-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.spot-item:hover .spot-photo img { transform: scale(1.04); }

.spot-car {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}

.spot-note {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.6;
}

.spot-meta {
  text-align: right;
}

.spot-location {
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 0.15rem;
}

.spot-country {
  font-size: 0.72rem;
  color: var(--muted);
}

/* ─── Listening Room ─────────────────────────────────────── */

.concerts-section {
  margin-bottom: 5.5rem;
}

.concerts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.concert-card {
  background: var(--card);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.concert-card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

.concert-photo {
  aspect-ratio: 1 / 1;
  background: var(--surface);
  overflow: hidden;
}

.concert-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.concert-card:hover .concert-photo img { transform: scale(1.03); }

.concert-body {
  padding: 0.65rem 0.85rem 0.8rem;
}

.concert-artist {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 0.1rem;
}

.concert-venue {
  font-size: 0.72rem;
  color: var(--muted);
}

/* ─── Responsive ─────────────────────────────────────────── */

@media (max-width: 700px) {
  .cars-grid { grid-template-columns: 1fr; }
  .rentals-grid { grid-template-columns: repeat(2, 1fr); }
  .spot-item { grid-template-columns: 100px 1fr; }
  .spot-meta { display: none; }
  .room-meta { width: 3.5rem; }
  .room-name { font-size: 1.4rem; }
  .concerts-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .rentals-grid { grid-template-columns: 1fr; }
}
