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

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

:root {
  --bg: #F8FAF8;
  --fg: #264653;
  --card: #FFFFFF;
  --primary: #2D5A27;
  --primary-fg: #FFFFFF;
  --accent: #E76F51;
  --accent-fg: #FFFFFF;
  --muted: #D1DBCE;
  --muted-fg: #5A7A6B;
  --border: #D1DBCE;
  --radius: 0.75rem;
  --font-display: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
}

body { background: var(--bg); color: var(--fg); font-family: var(--font-body); line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }

/* Header */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; background: rgba(255,255,255,0.95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--primary); display: flex; align-items: center; gap: 0.5rem; }
.logo svg { width: 24px; height: 24px; }
.nav { display: flex; gap: 2rem; }
.nav a { font-family: var(--font-display); font-size: 0.875rem; font-weight: 500; color: var(--muted-fg); transition: color 0.3s; }
.nav a:hover, .nav a.active { color: var(--primary); }
.menu-toggle { display: none; background: none; border: none; cursor: pointer; color: var(--fg); }

/* Hero */
.hero { background: var(--primary); color: var(--primary-fg); padding: 5rem 0; text-align: center; margin-top: 64px; }
.hero h1 { font-size: 2.5rem; font-weight: 700; margin-bottom: 1.5rem; }
.hero p { font-size: 1.125rem; opacity: 0.9; max-width: 640px; margin: 0 auto 2rem; }
.btn-accent { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--accent); color: var(--accent-fg); font-family: var(--font-display); font-weight: 600; padding: 0.75rem 1.5rem; border-radius: var(--radius); transition: opacity 0.3s, transform 0.3s; border: none; cursor: pointer; font-size: 1rem; }
.btn-accent:hover { opacity: 0.9; transform: scale(1.03); }

/* Features */
.features { padding: 4rem 0; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; max-width: 800px; margin: 0 auto; }
.feature { text-align: center; padding: 1.5rem; }
.feature svg { width: 40px; height: 40px; color: var(--primary); margin: 0 auto 1rem; }
.feature h3 { font-size: 1.125rem; font-weight: 600; margin-bottom: 0.5rem; }
.feature p { font-size: 0.875rem; color: var(--muted-fg); }

/* Cards Grid */
.section-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2.5rem; }
.section-title h2 { font-size: 1.75rem; font-weight: 700; }
.section-title a { font-family: var(--font-display); font-size: 0.875rem; font-weight: 500; color: var(--accent); }
.section-title a:hover { text-decoration: underline; }
.cards-section { padding: 4rem 0; background: rgba(209,219,206,0.2); }
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: box-shadow 0.3s, transform 0.3s; }
.card:hover { box-shadow: 0 10px 30px rgba(0,0,0,0.08); transform: translateY(-4px); }
.card-img { aspect-ratio: 16/9; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.card:hover .card-img img { transform: scale(1.05); }
.card-body { padding: 1.25rem; }
.card-cat { font-family: var(--font-display); font-size: 0.75rem; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: 0.05em; }
.card-body h3 { font-size: 1.1rem; font-weight: 700; margin: 0.5rem 0; line-height: 1.3; }
.card-body p { font-size: 0.875rem; color: var(--muted-fg); margin-bottom: 1rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-meta { display: flex; justify-content: space-between; align-items: center; font-size: 0.8rem; }
.card-meta .rating { color: var(--muted-fg); }
.card-meta .score { color: var(--primary); font-weight: 500; }

/* Page header */
.page-header { padding: 3rem 0; margin-top: 64px; }
.page-header h1 { font-size: 2rem; font-weight: 700; margin-bottom: 0.75rem; }
.page-header p { color: var(--muted-fg); max-width: 640px; }

/* Content */
.content { max-width: 768px; margin: 0 auto; }
.content h2 { font-size: 1.25rem; font-weight: 700; margin-top: 2rem; margin-bottom: 0.75rem; }
.content p { margin-bottom: 1rem; font-size: 0.875rem; line-height: 1.7; }
.content ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1rem; }
.content ul li { font-size: 0.875rem; color: var(--muted-fg); margin-bottom: 0.25rem; }
.content strong { font-family: var(--font-display); }
.last-updated { font-size: 0.875rem; color: var(--muted-fg); margin-bottom: 2rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; max-width: 900px; }
.contact-info h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; margin-bottom: 1rem; }
.contact-info p { font-size: 0.875rem; margin-bottom: 0.75rem; }
.contact-form label { display: block; font-family: var(--font-display); font-size: 0.875rem; font-weight: 500; margin-bottom: 0.25rem; }
.contact-form input, .contact-form textarea { width: 100%; border: 1px solid var(--border); border-radius: 0.5rem; padding: 0.5rem 0.75rem; font-size: 0.875rem; font-family: var(--font-body); margin-bottom: 1rem; background: var(--card); }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 2px rgba(45,90,39,0.15); }
.contact-form textarea { resize: none; }

/* Review Detail */
.review-meta { display: flex; flex-wrap: wrap; gap: 1rem; font-size: 0.875rem; color: var(--muted-fg); margin-bottom: 1.5rem; }
.review-hero-img { aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; margin-bottom: 2rem; }
.review-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.info-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; background: rgba(209,219,206,0.2); border-radius: var(--radius); padding: 1.25rem; margin-bottom: 2rem; font-size: 0.875rem; }
.info-grid .label { color: var(--muted-fg); font-size: 0.75rem; margin-bottom: 0.25rem; }
.info-grid strong { display: block; }
.progress-bar { width: 100%; height: 8px; background: var(--border); border-radius: 4px; margin-top: 0.25rem; }
.progress-fill { height: 100%; background: var(--primary); border-radius: 4px; }
.back-link { display: inline-flex; align-items: center; gap: 0.25rem; font-size: 0.875rem; color: var(--muted-fg); margin-bottom: 1.5rem; transition: color 0.3s; }
.back-link:hover { color: var(--primary); }

/* Categories */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.cat-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; transition: box-shadow 0.3s; }
.cat-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
.cat-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; }
.cat-card .desc { font-size: 0.875rem; color: var(--muted-fg); margin-bottom: 1rem; }
.cat-card a { font-size: 0.875rem; color: var(--accent); display: block; margin-bottom: 0.25rem; }
.cat-card a:hover { text-decoration: underline; }

/* Footer */
.footer { background: var(--primary); color: var(--primary-fg); margin-top: 4rem; padding: 3rem 0; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.footer h4 { font-family: var(--font-display); font-weight: 600; margin-bottom: 0.75rem; }
.footer p, .footer a, .footer li { font-size: 0.875rem; opacity: 0.8; }
.footer a:hover { opacity: 1; }
.footer ul li { margin-bottom: 0.5rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.2); margin-top: 2rem; padding-top: 1.5rem; text-align: center; font-size: 0.8rem; opacity: 0.6; }

/* Animation */
.fade-in { animation: fadeIn 0.3s ease-in-out; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* Responsive */
@media (max-width: 768px) {
  .nav { display: none; }
  .menu-toggle { display: block; }
  .nav.open { display: flex; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--card); border-bottom: 1px solid var(--border); padding: 1rem; gap: 0.75rem; }
  .hero h1 { font-size: 1.75rem; }
  .hero { padding: 3rem 0; }
  .features-grid, .cards-grid, .cat-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: repeat(2, 1fr); }
}
