@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --terracotta: #C8684A;
  --terracotta-dark: #A8543A;
  --ochre: #D4953A;
  --gold: #C9A84C;
  --cream: #FDF6EE;
  --cream-dark: #F5EBE0;
  --charcoal: #2C2C2C;
  --charcoal-light: #3D3D3D;
  --warm-gray: #6B6058;
  --warm-gray-light: #9C9288;
  --sandy: #E8DCC8;
  --sandy-light: #F0E8D8;
  --deep-green: #3A6B35;
  --deep-green-light: #4A7B45;
  --white: #FFFFFF;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --max-width: 1200px;
  --section-spacing: 100px;
  --nav-height: 80px;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--charcoal);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* NAVIGATION */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(253,246,238,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: box-shadow 0.3s;
}
.nav-scrolled {
  background: rgba(253,246,238,0.98);
  box-shadow: var(--shadow-md);
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
}
.logo {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--charcoal);
}
.logo span {
  color: var(--terracotta);
}
.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav-links a {
  text-decoration: none;
  color: var(--warm-gray);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--terracotta);
}
.nav-links .nav-cta {
  background: var(--terracotta);
  color: white;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.2s;
}
.nav-links .nav-cta:hover {
  background: var(--terracotta-dark);
  color: white;
}

/* HERO */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.5) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 0 24px;
  margin: 0 auto;
  margin-top: -40px;
}
.hero-content h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 700;
  color: white;
  line-height: 1.1;
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.hero-content p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255,255,255,0.9);
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.7;
  text-shadow: 0 1px 10px rgba(0,0,0,0.2);
}
.hero-cta {
  display: inline-block;
  background: var(--terracotta);
  color: white;
  padding: 16px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  box-shadow: 0 4px 15px rgba(200,104,74,0.4);
  transition: all 0.2s;
}
.hero-cta:hover {
  background: var(--terracotta-dark);
  transform: translateY(-2px);
}
.hero-credit {
  position: absolute;
  bottom: 20px;
  right: 24px;
  z-index: 2;
  color: rgba(255,255,255,0.6);
  font-size: 0.75rem;
}

/* PAGE HERO */
.page-hero {
  position: relative;
  height: 50vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.page-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.6) 100%);
}
.page-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
}
.page-hero-content h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  color: white;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.page-hero-content p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
}
.page-hero-credit {
  position: absolute;
  bottom: 16px;
  right: 24px;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.5);
}

/* DETAIL HERO */
.detail-hero {
  height: 60vh;
  min-height: 500px;
  background-size: cover;
  background-position: center;
  position: relative;
}

/* SECTIONS */
.section {
  padding: var(--section-spacing) 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.section-alt {
  background: var(--sandy-light);
  width: 100%;
  padding: var(--section-spacing) 24px;
}
.section-full {
  width: 100%;
}
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 12px;
}
.section-header p {
  font-size: 1.05rem;
  color: var(--warm-gray);
  max-width: 500px;
  margin: 0 auto;
}
.section-header .view-all {
  display: inline-block;
  margin-top: 16px;
  color: var(--terracotta);
  font-weight: 600;
  text-decoration: none;
}

/* PLACE CARDS */
.place-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}
.place-card {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
  text-decoration: none;
  color: inherit;
  display: block;
}
.place-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.place-card-image {
  height: 220px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.place-card-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.place-card-body {
  padding: 20px;
}
.place-card-body h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 6px;
}
.place-card-body p {
  font-size: 0.88rem;
  color: var(--warm-gray);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.place-card-rating {
  color: var(--gold);
  font-size: 0.85rem;
  margin-top: 8px;
}

/* CATEGORY CARDS */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}
.category-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 32px 20px;
  text-align: center;
  text-decoration: none;
  color: var(--charcoal);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: all 0.3s;
}
.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.category-icon {
  font-size: 2.5rem;
}
.category-name {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--charcoal);
}
.category-desc {
  font-size: 0.82rem;
  color: var(--warm-gray);
}

/* REGION CARDS */
.region-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.region-card {
  position: relative;
  height: 240px;
  border-radius: var(--radius-md);
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  background-size: cover;
  background-position: center;
  transition: transform 0.3s;
  color: white;
}
.region-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.1) 100%);
  z-index: 1;
}
.region-card:hover {
  transform: scale(1.02);
}
.region-card * {
  position: relative;
  z-index: 2;
}
.region-card .region-name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: white;
}
.region-card .region-desc {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.8);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* SPLIT SECTION */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 500px;
}
.split-section.reverse {
  direction: rtl;
}
.split-section.reverse > * {
  direction: ltr;
}
.split-image {
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
}
.split-content {
  padding: 60px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.split-content h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 16px;
}
.split-content p {
  font-size: 1rem;
  color: var(--warm-gray);
  line-height: 1.7;
  margin-bottom: 24px;
}
.split-cta {
  background: var(--terracotta);
  color: white;
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  align-self: flex-start;
  transition: background 0.2s;
}
.split-cta:hover {
  background: var(--terracotta-dark);
}

/* MAP SECTION */
.map-section {
  width: 100%;
  padding: 0 24px var(--section-spacing);
  max-width: var(--max-width);
  margin: 0 auto;
}
.map-section h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  text-align: center;
  margin-bottom: 32px;
  color: var(--charcoal);
}
.map-container {
  width: 100%;
  height: 500px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

/* FOOTER */
.footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.8);
  padding: 60px 24px 40px;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}
.footer-brand {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: white;
  margin-bottom: 12px;
}
.footer-brand span {
  color: var(--terracotta);
}
.footer-about {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  max-width: 400px;
  line-height: 1.7;
}
.footer-acknowledgment {
  max-width: var(--max-width);
  margin: 0 auto;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  font-style: italic;
  margin-bottom: 24px;
}
.footer-heading {
  font-size: 0.85rem;
  text-transform: uppercase;
  font-weight: 600;
  color: white;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: white;
}
.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 40px;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
}

/* BADGES */
.badge {
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
}
.badge-category {
  background: rgba(201,168,76,0.9);
  color: white;
}
.badge-region {
  background: rgba(58,107,53,0.85);
  color: white;
}

/* FILTER CHIPS */
.filter-chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 32px;
}
.filter-chip {
  padding: 8px 20px;
  border-radius: 50px;
  border: 1.5px solid var(--sandy);
  background: transparent;
  color: var(--warm-gray);
  cursor: pointer;
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.2s;
}
.filter-chip:hover {
  border-color: var(--terracotta);
  color: var(--terracotta);
}
.filter-chip.active {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: white;
}
.filter-chip a {
  text-decoration: none;
  color: inherit;
}

/* FORM ELEMENTS */
.search-form {
  display: flex;
  gap: 12px;
  max-width: 500px;
  margin: 0 auto 32px;
}
.search-input {
  flex: 1;
  padding: 12px 20px;
  border-radius: 50px;
  border: 1.5px solid var(--sandy);
  font-size: 0.95rem;
  background: white;
  font-family: var(--font-sans);
  transition: border-color 0.2s;
}
.search-input:focus {
  outline: none;
  border-color: var(--terracotta);
}

/* DETAIL PAGE */
.detail-body {
  max-width: 900px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}
.detail-info-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}
.detail-info-card {
  background: white;
  border-radius: 12px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.detail-description {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--warm-gray);
}

/* BLOG */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.blog-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: inherit;
  transition: all 0.3s;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.blog-card-image {
  height: 200px;
  background-size: cover;
  background-position: center;
}

/* LEGACY / UTILITY */
.api-warning {
  background: #FFF3CD;
  color: #856404;
  padding: 12px;
  text-align: center;
  font-size: 14px;
}
.main {
  min-height: calc(100vh - 60px);
}
.not-found {
  text-align: center;
  padding: 80px 24px;
}
.not-found h1 {
  font-size: 2rem;
  margin-bottom: 16px;
  color: var(--charcoal);
}
.places-page {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px;
}
.page-header {
  margin-bottom: 24px;
}
.page-header h1 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--charcoal);
}
.page-header p {
  color: var(--warm-gray);
  margin-top: 4px;
}
.results-count {
  color: var(--warm-gray);
  margin-bottom: 16px;
  font-size: 0.95rem;
}
.no-results {
  text-align: center;
  padding: 60px 24px;
  color: var(--warm-gray);
}
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
}
.page-btn {
  background: var(--deep-green);
  color: white;
  padding: 8px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s;
}
.page-btn:hover {
  background: var(--deep-green-light);
}
.page-info {
  color: var(--warm-gray);
}
.rating-stars {
  color: var(--gold);
  font-size: 1.2rem;
}
.rating-text {
  margin-left: 8px;
  color: white;
  font-size: 0.9rem;
}
.view-all {
  color: var(--terracotta);
  text-decoration: none;
  font-weight: 600;
}
.search-btn {
  background: transparent;
  color: var(--terracotta);
  border: 1.5px solid var(--terracotta);
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.2s;
}
.search-btn:hover {
  background: transparent;
  color: var(--terracotta-dark);
  border-color: var(--terracotta-dark);
}
.region-select {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--sandy);
  font-size: 0.9rem;
  background: white;
  cursor: pointer;
  color: var(--charcoal);
  font-family: var(--font-sans);
}
.region-select:focus {
  outline: none;
  border-color: var(--terracotta);
}
.btn {
  display: inline-block;
  background: var(--terracotta);
  color: white;
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s;
}
.btn:hover {
  background: var(--terracotta-dark);
}
.btn-green {
  background: var(--deep-green);
}
.btn-green:hover {
  background: var(--deep-green-light);
}
.detail-badges {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.badge-gold {
  background: var(--gold);
  color: white;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.badge-blue {
  background: var(--warm-gray);
  color: white;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.detail-content {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 32px 24px;
}
.detail-main h2 {
  font-size: 1.5rem;
  color: var(--charcoal);
  margin: 24px 0 12px;
  font-family: var(--font-serif);
}
.detail-main h3 {
  font-size: 1.1rem;
  color: var(--charcoal-light);
  margin: 20px 0 8px;
}
.detail-map {
  margin-top: 24px;
}
.detail-map iframe {
  border-radius: var(--radius-md);
}
.detail-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.info-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}
.info-card h3 {
  font-size: 1rem;
  color: var(--charcoal);
  margin-bottom: 12px;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 8px;
}
.info-card p {
  margin: 8px 0;
  font-size: 0.95rem;
  color: var(--warm-gray);
}
.info-card a {
  color: var(--terracotta);
  text-decoration: none;
}
.hours-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid var(--sandy);
}
.hours-day {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--charcoal);
}
.hours-time {
  color: var(--warm-gray);
  font-size: 0.9rem;
}
.place-card-simple {
  text-decoration: none;
  color: inherit;
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
  display: block;
}
.place-card-simple:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.card-img {
  height: 160px;
  background-size: cover;
  background-position: center;
}
.card-body {
  padding: 12px 16px;
}
.card-body h4 {
  font-size: 1rem;
  margin-bottom: 8px;
  font-family: var(--font-serif);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .split-section {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .place-grid {
    grid-template-columns: 1fr;
  }
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .region-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .detail-info-grid {
    grid-template-columns: 1fr;
  }
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    height: 70vh;
  }
  .section {
    padding: 60px 16px;
  }
  .nav-links a {
    font-size: 0.8rem;
  }
  .split-content {
    padding: 40px 24px;
  }
  .detail-content {
    grid-template-columns: 1fr;
  }
}

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