/* WanderDriver – Mobile-first styles */
:root {
  --navy: #0B1F3A;
  --navy-light: #163050;
  --gold: #C4A35A;
  --cream: #F6F1E7;
  --ink: #1B2A4A;
  --muted: #5A6A7A;
  --white: #FFFFFF;
  --green: #1B7A4E;
  --shadow: 0 4px 20px rgba(11, 31, 58, 0.08);
  --radius: 12px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.5;
  font-size: 16px;
}

a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--gold); }

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

.container { width: min(1120px, 92%); margin: 0 auto; }

/* Header */
header {
  background: var(--navy);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.logo {
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.3px;
  color: var(--white);
}
.logo span { color: var(--gold); }

nav ul {
  display: flex;
  list-style: none;
  gap: 28px;
}
nav a { color: var(--white); font-weight: 500; font-size: 0.95rem; }
nav a:hover, nav a.active { color: var(--gold); }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.6rem;
  cursor: pointer;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #1a3a5c 100%);
  color: white;
  padding: 72px 0 64px;
  text-align: center;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
}
.hero p {
  font-size: 1.15rem;
  max-width: 620px;
  margin: 0 auto 28px;
  opacity: 0.92;
}
.btn {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: transform 0.15s, background 0.15s;
}
.btn:hover { background: #d4b36a; transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid white;
  margin-left: 12px;
}
.btn-outline:hover { background: white; color: var(--navy); }
.btn-navy { background: var(--navy); color: white; }
.btn-navy:hover { background: var(--navy-light); }

/* Sections */
section { padding: 56px 0; }
h2 {
  font-size: 1.9rem;
  margin-bottom: 12px;
  color: var(--navy);
}
.section-intro {
  color: var(--muted);
  max-width: 640px;
  margin-bottom: 32px;
}

/* Cards grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
}
.card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}
.card:hover { transform: translateY(-4px); }
.card-img {
  height: 170px;
  background: #ddd center/cover;
}
.card-body { padding: 16px 18px 20px; }
.card h3 { font-size: 1.15rem; margin-bottom: 6px; }
.meta { font-size: 0.88rem; color: var(--muted); margin-bottom: 8px; }
.rate { font-weight: 700; color: var(--navy); font-size: 1.05rem; }

/* Filters */
.filters {
  background: white;
  padding: 18px;
  border-radius: var(--radius);
  margin-bottom: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: end;
  box-shadow: var(--shadow);
}
.filters label { font-size: 0.85rem; font-weight: 600; display: block; margin-bottom: 4px; }
.filters select, .filters input {
  padding: 8px 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 0.95rem;
  min-width: 140px;
}

/* Profile */
.profile-header {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 32px;
  background: white;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  margin-bottom: 28px;
}
.profile-photos { display: grid; gap: 10px; }
.profile-photos img { border-radius: 8px; height: 220px; object-fit: cover; width: 100%; }
.details-list { list-style: none; }
.details-list li { padding: 8px 0; border-bottom: 1px solid #eee; }
.details-list strong { display: inline-block; width: 130px; }

/* Form */
.form-card {
  background: white;
  padding: 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 640px;
  margin: 0 auto;
}
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 0.92rem; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
}
.form-group textarea { min-height: 90px; resize: vertical; }
.form-note {
  background: #fff8e8;
  border-left: 4px solid var(--gold);
  padding: 12px 14px;
  margin: 16px 0;
  font-size: 0.92rem;
  border-radius: 4px;
}

/* Two-column how */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.how-box {
  background: white;
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.how-box h3 { margin-bottom: 12px; color: var(--navy); }
.how-box ol { padding-left: 20px; }
.how-box li { margin-bottom: 8px; }

/* Footer */
footer {
  background: var(--navy);
  color: white;
  padding: 36px 0 24px;
  margin-top: 40px;
  font-size: 0.92rem;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
footer a { color: #ccc; }
footer a:hover { color: var(--gold); }

/* Mobile */
@media (max-width: 760px) {
  nav ul { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--navy); flex-direction: column; padding: 16px; gap: 16px; }
  nav ul.open { display: flex; }
  .menu-toggle { display: block; }
  .hero { padding: 48px 0 40px; }
  .btn-outline { margin-left: 0; margin-top: 12px; display: block; }
  .profile-header { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .filters { flex-direction: column; align-items: stretch; }
  .filters select, .filters input { min-width: 0; }
}

.badge {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 20px;
  margin-left: 8px;
}
