/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue: #0071CE;
  --blue-dark: #004E8C;
  --blue-light: #E8F4FD;
  --gold: #F5A623;
  --gold-light: #FFF8EC;
  --bg: #FAFBFD;
  --text: #1A2332;
  --text-light: #5A6678;
  --white: #FFFFFF;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 4px 24px rgba(0,0,0,0.06);
  --shadow-hover: 0 8px 40px rgba(0,0,0,0.1);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --nav-height: 64px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  padding-top: var(--nav-height);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

/* === Pages === */
.page { display: none; }
.page.active { display: block; }

/* === Navbar === */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  z-index: 1000;
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-brand {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--blue-dark);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav-brand:hover { text-decoration: none; color: var(--blue); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
  transform-origin: center;
}

.hamburger.active .hamburger-line:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.active .hamburger-line:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  padding: 8px 18px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-light);
  border-radius: 50px;
  transition: var(--transition);
  text-decoration: none;
}

.nav-link:hover {
  color: var(--blue);
  background: var(--blue-light);
  text-decoration: none;
}

.nav-link.active {
  color: var(--blue);
  background: var(--blue-light);
  font-weight: 600;
}

@media (max-width: 768px) {
  .hamburger { display: flex; }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--white);
    padding: 88px 24px 40px;
    box-shadow: -4px 0 30px rgba(0,0,0,0.12);
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .nav-menu.open {
    right: 0;
  }

  .nav-link {
    width: 100%;
    padding: 14px 18px;
    font-size: 1.05rem;
    border-radius: var(--radius-sm);
  }
}

/* Menu overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.3);
  z-index: 999;
}

.nav-overlay.visible { display: block; }

/* === Hero === */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    linear-gradient(160deg, #0071CE 0%, #004E8C 40%, #1A2332 100%);
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 80%, rgba(245,166,35,0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 20%, rgba(255,255,255,0.08) 0%, transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 40px 24px;
}

.hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 16px;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: rgba(255,255,255,0.8);
  font-weight: 400;
  margin-bottom: 36px;
}

.hero-cta {
  display: inline-block;
  background: var(--gold);
  color: var(--text);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 36px;
  border-radius: 50px;
  transition: var(--transition);
  text-decoration: none;
}

.hero-cta:hover {
  background: #e6991a;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245,166,35,0.3);
  text-decoration: none;
}

/* === Page Header (for sub-pages) === */
.page-header {
  background: linear-gradient(160deg, #0071CE 0%, #004E8C 40%, #1A2332 100%);
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 80%, rgba(245,166,35,0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 20%, rgba(255,255,255,0.06) 0%, transparent 50%);
}

.page-header h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 12px;
  position: relative;
}

.page-header-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.75);
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

/* === Sections === */
.section {
  padding: 80px 0;
}

.section h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.section-desc {
  color: var(--text-light);
  font-size: 1.08rem;
  max-width: 720px;
  margin-bottom: 40px;
  line-height: 1.8;
}

.section-lead {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--blue-dark);
  margin-top: 24px;
}

/* === Intro === */
.intro p {
  font-size: 1.05rem;
  color: var(--text-light);
  margin-bottom: 16px;
  max-width: 800px;
}

.intro-badge {
  display: inline-block;
  background: var(--blue-light);
  color: var(--blue-dark);
  font-weight: 500;
  padding: 8px 20px;
  border-radius: 50px;
  margin-bottom: 32px;
  font-size: 0.95rem;
}

.intro-badge a { font-weight: 700; }

.callout {
  background: var(--gold-light);
  border-left: 4px solid var(--gold);
  padding: 24px 28px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 28px 0;
}

.callout p {
  color: var(--text);
  margin-bottom: 12px;
}

.callout p:last-child { margin-bottom: 0; }

/* === Map === */
.map-section { background: var(--white); }

#map, #attractions-map {
  width: 100%;
  height: 500px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  z-index: 0;
}

/* === Card Grid === */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  cursor: default;
  border: 1px solid transparent;
}

.card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
  border-color: rgba(0,113,206,0.15);
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.card h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.card p {
  color: var(--text-light);
  font-size: 0.97rem;
  line-height: 1.7;
}

/* Section alternating bg */
.see-city { background: var(--bg); }
.food-drink { background: var(--white); }
.arts-culture { background: var(--bg); }

/* === Filters Section === */
.filters-section {
  background: var(--bg);
  padding-top: 0;
}

.filters-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-end;
  padding: 28px 32px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 40px;
  margin-top: -40px;
  position: relative;
  z-index: 10;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  min-width: 180px;
}

.filter-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.filter-group select,
.filter-group input {
  padding: 10px 14px;
  border: 2px solid #E2E6EC;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--bg);
  transition: var(--transition);
  appearance: auto;
}

.filter-group select:focus,
.filter-group input:focus {
  outline: none;
  border-color: var(--blue);
  background: var(--white);
}

.filter-count {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--blue);
  padding: 10px 0;
  white-space: nowrap;
}

/* === Attractions Grid === */
.attractions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.attraction-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid transparent;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.attraction-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
  border-color: rgba(0,113,206,0.15);
}

.attraction-card-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}

.attraction-card-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.attraction-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.tag-restaurants { background: #FFF3E0; color: #E65100; }
.tag-bars { background: #F3E5F5; color: #6A1B9A; }
.tag-arts { background: #E8F5E9; color: #2E7D32; }
.tag-landmarks { background: #E3F2FD; color: #1565C0; }
.tag-cuisine { background: var(--blue-light); color: var(--blue-dark); }

.attraction-card-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--blue);
  margin-top: auto;
  padding-top: 4px;
}

.attraction-card-link:hover { text-decoration: underline; }

/* No results message */
.no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--text-light);
  font-size: 1.1rem;
}

/* === About Page === */
.about-section { background: var(--white); }

.about-content { max-width: 760px; }

.about-text h2 {
  margin-top: 40px;
  margin-bottom: 16px;
}

.about-text h2:first-child { margin-top: 0; }

.about-text p {
  font-size: 1.05rem;
  color: var(--text-light);
  margin-bottom: 16px;
  line-height: 1.8;
}

.about-list {
  list-style: none;
  padding: 0;
  margin: 16px 0;
}

.about-list li {
  padding: 10px 0 10px 28px;
  position: relative;
  color: var(--text-light);
  font-size: 1.02rem;
  line-height: 1.7;
}

.about-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 18px;
  width: 10px;
  height: 10px;
  background: var(--gold);
  border-radius: 50%;
}

/* === Comments === */
.comments-section { background: var(--white); }

#comment-form {
  max-width: 600px;
  margin-bottom: 40px;
}

.form-row { margin-bottom: 16px; }

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid #E2E6EC;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  transition: var(--transition);
  background: var(--bg);
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: var(--white);
}

.form-row textarea { resize: vertical; }

.btn {
  background: var(--blue);
  color: var(--white);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  padding: 14px 32px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
}

.btn:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,113,206,0.25);
}

#comments-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.comment {
  background: var(--bg);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  border-left: 3px solid var(--blue);
}

.comment-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.comment-name { font-weight: 700; color: var(--text); }
.comment-date { font-size: 0.85rem; color: var(--text-light); }
.comment-body { color: var(--text-light); line-height: 1.7; }

.comments-note {
  margin-top: 20px;
  font-size: 0.85rem;
  color: var(--text-light);
  font-style: italic;
}

/* === Footer === */
.footer {
  background: var(--text);
  color: rgba(255,255,255,0.7);
  text-align: center;
  padding: 48px 24px;
}

.footer p {
  font-size: 1.1rem;
  color: var(--white);
  font-weight: 500;
}

.footer-sub {
  margin-top: 8px;
  font-size: 0.95rem !important;
  color: rgba(255,255,255,0.5) !important;
  font-weight: 400 !important;
}

/* === Responsive === */
@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .card-grid { grid-template-columns: 1fr; }
  .attractions-grid { grid-template-columns: 1fr; }
  #map, #attractions-map { height: 380px; }
  .hero { min-height: 70vh; }
  .page-header { padding: 60px 0 44px; }
  .filters-bar {
    flex-direction: column;
    gap: 12px;
    padding: 20px;
  }
  .filter-group { min-width: 100%; }
}
