/* ═══════════════════════════════════════════════════════════════
   London Rooftop Gardens Guide — White Page Styles
   ═══════════════════════════════════════════════════════════════ */

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

:root {
  --primary: #2d7373;
  --primary-light: #4fb3b3;
  --accent: #e8b86d;
  --dark: #1a2332;
  --light: #fafbfc;
  --gray: #6b7280;
  --gray-light: #e5e7eb;
  --radius: 12px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.7;
  color: var(--dark);
  background: var(--light);
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
img { max-width: 100%; height: auto; }

/* ===== Header ===== */
.header {
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
}
.logo {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}
.nav { display: flex; gap: 28px; align-items: center; }
.nav a {
  color: var(--dark);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: color 0.2s;
}
.nav a:hover { color: var(--primary); }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--dark); border-radius: 1px; }

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav {
    position: fixed;
    top: 60px;
    right: -100%;
    flex-direction: column;
    background: #fff;
    width: 100%;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: right 0.3s;
    gap: 0;
  }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--gray-light); display: block; }
  .nav.active { right: 0; }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  height: 70vh;
  min-height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: -1;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.55));
}
.hero-content { position: relative; z-index: 1; max-width: 700px; padding: 0 24px; }
.hero-content h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 16px;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.4);
}
.hero-content p {
  font-size: 1.3rem;
  font-weight: 300;
  margin-bottom: 32px;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.4);
}

@media (max-width: 768px) {
  .hero-content h1 { font-size: 2.2rem; }
  .hero-content p { font-size: 1rem; }
  .hero { height: 55vh; min-height: 350px; }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border: none;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  font-family: inherit;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  box-shadow: 0 4px 15px rgba(45,115,115,0.25);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(45,115,115,0.35);
}

/* ===== Stats ===== */
.stats {
  padding: 48px 0;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 4px;
}
.stat-label { font-size: 0.95rem; opacity: 0.9; }

@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-num { font-size: 2rem; }
}

/* ===== Articles ===== */
.articles { padding: 80px 0; }
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  text-align: center;
  margin-bottom: 12px;
  color: var(--primary);
  font-weight: 800;
}
.section-subtitle {
  text-align: center;
  color: var(--gray);
  font-size: 1.1rem;
  margin-bottom: 48px;
}
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 28px;
}
.article-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}
.article-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.15);
}
.article-card.featured { grid-column: 1 / -1; }
.article-card.featured .article-img { height: 320px; }
.article-card.featured .article-body h3 { font-size: 1.6rem; }
.article-img {
  height: 220px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.article-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--accent);
  color: #fff;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.article-body { padding: 24px; }
.article-cat {
  display: inline-block;
  background: rgba(45,115,115,0.1);
  color: var(--primary);
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.article-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--dark);
  line-height: 1.3;
}
.article-body p {
  color: var(--gray);
  font-size: 14px;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .articles-grid { grid-template-columns: 1fr; }
  .article-card.featured { grid-column: 1; }
}

/* ===== Tips ===== */
.tips { padding: 80px 0; background: #f0f4f5; }
.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.tip-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform 0.3s;
}
.tip-card:hover { transform: translateY(-4px); }
.tip-icon { font-size: 2.5rem; margin-bottom: 12px; }
.tip-card h4 { font-size: 1.1rem; margin-bottom: 8px; color: var(--dark); }
.tip-card p { font-size: 14px; color: var(--gray); line-height: 1.6; }

/* ===== Newsletter ===== */
.newsletter { padding: 80px 0; }
.newsletter-box {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 20px;
  padding: 48px;
  text-align: center;
  color: #fff;
}
.newsletter-box h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  margin-bottom: 12px;
}
.newsletter-box > p { opacity: 0.9; margin-bottom: 28px; max-width: 500px; margin-left: auto; margin-right: auto; }
.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 600px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}
.newsletter-form input {
  padding: 14px 18px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 50px;
  background: rgba(255,255,255,0.15);
  color: #fff;
  font-size: 15px;
  flex: 1;
  min-width: 200px;
  font-family: inherit;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.7); }
.newsletter-form input:focus { outline: none; border-color: #fff; background: rgba(255,255,255,0.25); }
.newsletter-form .btn { background: #fff; color: var(--primary); box-shadow: none; }
.newsletter-form .btn:hover { background: var(--accent); color: #fff; }
.form-note { font-size: 13px; opacity: 0.7; margin-top: 12px; }

@media (max-width: 768px) {
  .newsletter-box { padding: 32px 20px; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form input { min-width: unset; }
}

/* ===== Footer ===== */
.footer {
  background: var(--dark);
  color: #fff;
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-col h4 { margin-bottom: 16px; color: var(--primary-light); font-size: 1.1rem; }
.footer-col p { color: #9ca3af; line-height: 1.7; font-size: 14px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: #9ca3af; text-decoration: none; font-size: 14px; transition: color 0.2s; }
.footer-col a:hover { color: var(--primary-light); }
.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: #6b7280;
  font-size: 13px;
}

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