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

:root {
  --sky: #1a6b9a;
  --sky-dark: #0d4f75;
  --sky-light: #e8f4fb;
  --coral: #e8614a;
  --coral-light: #fff0ee;
  --gold: #f5a623;
  --green: #3a9b6f;
  --text: #2c2c2c;
  --text-muted: #6b7280;
  --border: #e5e7eb;
  --white: #ffffff;
  --bg: #fafaf8;
  --card-shadow: 0 2px 16px rgba(26,107,154,0.09);
  --card-hover: 0 8px 32px rgba(26,107,154,0.16);
  --radius: 12px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
}

a { color: var(--sky); text-decoration: none; transition: color .2s; }
a:hover { color: var(--coral); }

img { max-width: 100%; height: auto; display: block; }

/* ── HEADER ── */
.site-header {
  background: var(--white);
  border-bottom: 3px solid var(--sky-light);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,.07);
}
.header-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 70px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-icon { font-size: 28px; }
.logo-text { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 700; color: var(--sky-dark); line-height: 1.1; }
.logo-sub { font-size: 11px; color: var(--text-muted); font-weight: 400; display: block; letter-spacing: .04em; }

nav { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
nav a {
  font-size: 13px; font-weight: 600; padding: 6px 12px;
  border-radius: 20px; color: var(--text); transition: all .2s;
}
nav a:hover, nav a.active { background: var(--sky); color: var(--white); }

.nav-toggle { display: none; background: none; border: 2px solid var(--sky); border-radius: 6px; padding: 6px 10px; cursor: pointer; font-size: 18px; color: var(--sky); }

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, var(--sky-dark) 0%, var(--sky) 50%, #2a9fd6 100%);
  color: var(--white); text-align: center; padding: 80px 24px 90px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '✈'; position: absolute; font-size: 300px; opacity: .04;
  top: -60px; right: -40px; transform: rotate(-20deg);
}
.hero-tag {
  display: inline-block; background: var(--coral); color: var(--white);
  font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 4px 14px; border-radius: 20px; margin-bottom: 18px;
}
.hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(28px, 5vw, 52px); font-weight: 700; line-height: 1.2; margin-bottom: 16px; }
.hero p { font-size: clamp(15px, 2vw, 19px); opacity: .9; max-width: 620px; margin: 0 auto 30px; }
.hero-btn {
  display: inline-block; background: var(--coral); color: var(--white);
  padding: 13px 32px; border-radius: 30px; font-weight: 700; font-size: 15px;
  box-shadow: 0 4px 20px rgba(232,97,74,.4); transition: transform .2s, box-shadow .2s;
}
.hero-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(232,97,74,.5); color: var(--white); }

/* ── CATEGORY HERO (for category pages) ── */
.cat-hero {
  padding: 50px 24px 60px;
  background: linear-gradient(135deg, var(--sky-dark), var(--sky));
  color: var(--white); text-align: center;
}
.cat-hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(26px, 4vw, 42px); margin-bottom: 12px; }
.cat-hero p { font-size: 17px; opacity: .88; max-width: 580px; margin: 0 auto; }

/* ── ARTICLE HERO ── */
.article-hero {
  background: linear-gradient(135deg, var(--sky-dark), #1a85b8);
  color: var(--white); padding: 50px 24px;
  text-align: center;
}
.article-hero .breadcrumb { font-size: 13px; opacity: .75; margin-bottom: 16px; }
.article-hero .breadcrumb a { color: var(--white); opacity: .8; }
.article-hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(22px, 3.5vw, 38px); line-height: 1.3; max-width: 860px; margin: 0 auto 14px; }
.article-meta { font-size: 13px; opacity: .8; }

/* ── MAIN LAYOUT ── */
.main-wrap { max-width: 1200px; margin: 0 auto; padding: 40px 24px; }
.content-grid {
  display: grid; grid-template-columns: 1fr 320px; gap: 40px;
}

/* ── SECTION HEADINGS ── */
.section-head {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 28px;
}
.section-head h2 { font-family: 'Playfair Display', serif; font-size: 26px; color: var(--sky-dark); }
.section-line { flex: 1; height: 2px; background: linear-gradient(90deg, var(--sky-light), transparent); }

/* ── CARDS ── */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.card {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--card-shadow); overflow: hidden;
  transition: box-shadow .25s, transform .25s;
  display: flex; flex-direction: column;
}
.card:hover { box-shadow: var(--card-hover); transform: translateY(-3px); }
.card-img {
  width: 100%; height: 190px; object-fit: cover;
  background: linear-gradient(135deg, var(--sky-light), #dbeeff);
  display: flex; align-items: center; justify-content: center;
  font-size: 60px;
}
.card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.card-cat {
  display: inline-block; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--coral); margin-bottom: 8px;
}
.card h3 { font-family: 'Playfair Display', serif; font-size: 17px; line-height: 1.4; margin-bottom: 10px; color: var(--text); }
.card h3 a { color: inherit; }
.card h3 a:hover { color: var(--sky); }
.card p { font-size: 14px; color: var(--text-muted); flex: 1; margin-bottom: 14px; }
.card-meta { font-size: 12px; color: var(--text-muted); border-top: 1px solid var(--border); padding-top: 12px; display: flex; justify-content: space-between; }
.read-more {
  display: inline-block; color: var(--sky); font-weight: 700; font-size: 13px;
  margin-top: 10px;
}
.read-more:hover { color: var(--coral); }

/* ── CATEGORY STRIP ── */
.cat-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; margin-bottom: 50px; }
.cat-chip {
  background: var(--white); border: 2px solid var(--border);
  border-radius: var(--radius); padding: 18px 14px; text-align: center;
  transition: all .2s; cursor: pointer;
}
.cat-chip:hover { border-color: var(--sky); box-shadow: var(--card-shadow); transform: translateY(-2px); }
.cat-chip .emoji { font-size: 30px; margin-bottom: 6px; }
.cat-chip .name { font-weight: 700; font-size: 13px; color: var(--text); display: block; }
.cat-chip .count { font-size: 12px; color: var(--text-muted); }

/* ── SIDEBAR ── */
.sidebar {}
.sidebar-widget {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--card-shadow); padding: 24px; margin-bottom: 24px;
}
.widget-title {
  font-family: 'Playfair Display', serif; font-size: 18px;
  color: var(--sky-dark); margin-bottom: 16px; padding-bottom: 10px;
  border-bottom: 2px solid var(--sky-light);
}
.sidebar-list { list-style: none; }
.sidebar-list li { padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.sidebar-list li:last-child { border: none; }
.sidebar-list a { color: var(--text); font-weight: 600; }
.sidebar-list a:hover { color: var(--sky); }

/* ── ARTICLE CONTENT ── */
.article-body { background: var(--white); border-radius: var(--radius); box-shadow: var(--card-shadow); padding: 36px; }
.article-body h2 { font-family: 'Playfair Display', serif; font-size: 24px; color: var(--sky-dark); margin: 28px 0 12px; }
.article-body h3 { font-size: 18px; font-weight: 700; color: var(--text); margin: 22px 0 10px; }
.article-body p { margin-bottom: 16px; font-size: 16px; line-height: 1.8; }
.article-body ul, .article-body ol { padding-left: 22px; margin-bottom: 16px; }
.article-body li { margin-bottom: 8px; font-size: 15px; line-height: 1.7; }
.article-body .tip-box {
  background: var(--sky-light); border-left: 4px solid var(--sky);
  border-radius: 0 8px 8px 0; padding: 16px 20px; margin: 20px 0;
}
.article-body .tip-box strong { color: var(--sky-dark); }
.article-body .warning-box {
  background: #fff8e7; border-left: 4px solid var(--gold);
  border-radius: 0 8px 8px 0; padding: 16px 20px; margin: 20px 0;
}

/* ── RELATED POSTS ── */
.related-section { margin-top: 40px; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.related-card {
  background: var(--white); border-radius: var(--radius);
  padding: 18px; box-shadow: var(--card-shadow); transition: box-shadow .2s;
}
.related-card:hover { box-shadow: var(--card-hover); }
.related-card h4 { font-family: 'Playfair Display', serif; font-size: 15px; line-height: 1.4; }
.related-card h4 a { color: var(--text); }
.related-card h4 a:hover { color: var(--sky); }

/* ── FOOTER ── */
.site-footer {
  background: var(--sky-dark); color: rgba(255,255,255,.85);
  padding: 50px 24px 24px; margin-top: 60px;
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand .logo-text { color: var(--white); font-size: 20px; }
.footer-brand p { font-size: 14px; margin-top: 10px; opacity: .75; line-height: 1.7; }
.footer-col h4 { color: var(--white); font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; margin-bottom: 14px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: rgba(255,255,255,.7); font-size: 14px; transition: color .2s; }
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.15); padding-top: 20px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; opacity: .7; flex-wrap: wrap; gap: 8px;
}
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: rgba(255,255,255,.7); }
.footer-links a:hover { color: var(--white); }

/* ── PAGINATION ── */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.pagination a, .pagination span {
  display: inline-block; padding: 8px 14px; border-radius: 8px;
  border: 2px solid var(--border); font-weight: 600; font-size: 14px;
  color: var(--text); transition: all .2s;
}
.pagination a:hover, .pagination .current {
  background: var(--sky); border-color: var(--sky); color: var(--white);
}

/* ── BADGE ── */
.badge { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 12px; font-weight: 700; }
.badge-sky { background: var(--sky-light); color: var(--sky-dark); }
.badge-coral { background: var(--coral-light); color: var(--coral); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .content-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  nav { display: none; }
  nav.open { display: flex; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; background: var(--white); padding: 12px 24px; box-shadow: 0 8px 20px rgba(0,0,0,.1); z-index: 99; }
  .nav-toggle { display: block; }
  .site-header { position: relative; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: 1fr; }
  .cat-strip { grid-template-columns: repeat(2, 1fr); }
}
