:root {
  --primary: #1a4d2e;
  --primary-light: #2d6a4f;
  --accent: #c77d4f;
  --text: #1f2937;
  --text-light: #6b7280;
  --bg: #fafaf9;
  --bg-secondary: #f5f3f0;
  --border: #e7e5e4;
}

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

body {
  font-family: 'Georgia', 'Times New Roman', serif;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

.sans {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

header {
  background: white;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.logo {
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: 0.05em;
  font-family: 'Georgia', serif;
}

nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
  font-family: -apple-system, sans-serif;
  transition: color 0.2s;
}

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

.search-container {
  position: relative;
  display: flex;
  align-items: center;
}

#searchInput {
  padding: 0.5rem 2.5rem 0.5rem 1rem;
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 0.9rem;
  width: 200px;
  transition: width 0.3s, border-color 0.3s;
  font-family: -apple-system, sans-serif;
}

#searchInput:focus {
  outline: none;
  border-color: var(--primary);
  width: 250px;
}

.search-icon {
  position: absolute;
  right: 0.75rem;
  color: var(--text-light);
  pointer-events: none;
}

.hero {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-text h1 {
  font-size: 3rem;
  line-height: 1.1;
  margin-bottom: 1rem;
  color: var(--primary);
  font-weight: 400;
}

.hero-text .subtitle {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  font-family: -apple-system, sans-serif;
}

.hero-text .meta {
  font-size: 0.9rem;
  color: var(--text-light);
  font-family: -apple-system, sans-serif;
}

.hero-image {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #2d6a4f 0%, #1a4d2e 100%);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image svg {
  width: 50%;
  height: 50%;
  opacity: 0.2;
}

.featured-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--accent);
  color: white;
  padding: 0.4rem 0.9rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-family: -apple-system, sans-serif;
  font-weight: 500;
}

.filters {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1.5rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  font-family: -apple-system, sans-serif;
}

.filter-btn {
  padding: 0.6rem 1.2rem;
  border: 1px solid var(--border);
  background: white;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 0.9rem;
  font-family: inherit;
}

.filter-btn:hover, .filter-btn.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.articles-grid {
  max-width: 1200px;
  margin: 0 auto 4rem;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2.5rem;
}

.article-card {
  background: white;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.12);
}

.article-image {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--bg-secondary), var(--border));
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.article-image svg {
  width: 40%;
  height: 40%;
  opacity: 0.3;
}

.article-category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: white;
  padding: 0.35rem 0.8rem;
  border-radius: 16px;
  font-size: 0.75rem;
  font-weight: 500;
  font-family: -apple-system, sans-serif;
  color: var(--primary);
}

.article-content {
  padding: 1.5rem;
}

.article-content h3 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  font-weight: 400;
  color: var(--primary);
  line-height: 1.3;
}

.article-content p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.article-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-light);
  font-family: -apple-system, sans-serif;
}

.read-time {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.7);
  z-index: 200;
  padding: 2rem;
  overflow-y: auto;
}

.modal.active {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.modal-content {
  background: white;
  max-width: 800px;
  width: 100%;
  margin: 2rem auto;
  border-radius: 8px;
  position: relative;
  animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: var(--bg-secondary);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--text);
  transition: background 0.2s;
  z-index: 10;
}

.modal-close:hover {
  background: var(--border);
}

.modal-hero {
  aspect-ratio: 21/9;
  background: linear-gradient(135deg, #2d6a4f, #1a4d2e);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px 8px 0 0;
}

.modal-hero svg {
  width: 25%;
  opacity: 0.3;
}

.modal-body {
  padding: 2.5rem;
}

.modal-body h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--primary);
  font-weight: 400;
  line-height: 1.2;
}

.modal-body .article-meta {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.modal-body .article-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text);
}

.modal-body .article-text p {
  margin-bottom: 1.5rem;
  color: var(--text);
}

.itinerary-section {
  max-width: 1200px;
  margin: 4rem auto;
  padding: 0 1.5rem;
}

.itinerary-section h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--primary);
  font-weight: 400;
}

.itinerary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.itinerary-card {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  border-left: 4px solid var(--primary);
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

.itinerary-card h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--primary);
  font-weight: 500;
  font-family: -apple-system, sans-serif;
}

.itinerary-card p {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 0.75rem;
}

.itinerary-checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text);
  font-family: -apple-system, sans-serif;
  cursor: pointer;
  user-select: none;
}

.itinerary-checkbox input {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--primary);
}

footer {
  background: var(--primary);
  color: white;
  padding: 3rem 1.5rem 2rem;
  margin-top: 4rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  font-size: 1rem;
  margin-bottom: 1rem;
  font-weight: 500;
  font-family: -apple-system, sans-serif;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 0.9rem;
  font-family: -apple-system, sans-serif;
  transition: color 0.2s;
}

.footer-section a:hover {
  color: white;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.2);
  text-align: center;
  font-size: 0.85rem;
  font-family: -apple-system, sans-serif;
  color: rgba(255,255,255,0.7);
}

@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  nav {
    gap: 1rem;
  }

  .articles-grid {
    grid-template-columns: 1fr;
  }

  .modal-body {
    padding: 2rem 1.5rem;
  }

  .modal-body h2 {
    font-size: 1.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
