/* Base reset */
body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: #222;
  background-color: #fff;
}

a { color: #0f172a; }

/* ===== Header (stacked + centered) ===== */
.site-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1rem 0.5rem 1rem;
  border-bottom: 1px solid #eee;
  background: #fff;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  gap: 0.6rem;
}

.logo { height: 80px; width: auto; display: block; }
.brand-text {
  font-size: 2.3rem;
  font-weight: 800;
  color: #1e3a8a; /* hotel blue */
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding-bottom: 0.5rem;
}
.main-nav a {
  color: #1f2937;
  text-decoration: none;
  font-weight: 600;
}
.main-nav a:hover { text-decoration: underline; }

/* ===== Hero ===== */
.hero { background: #f5f7fb; border-bottom: 1px solid #eee; }
.hero-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem 1rem;
}
.hero h1 { margin: 0 0 .25rem 0; font-size: 2rem; }
.tagline { margin: 0; color: #475569; }

/* ===== Main content wrappers ===== */
main { max-width: 900px; margin: 2rem auto; padding: 0 1rem; }

/* ===== Blog list ===== */
.post-list .posts {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
}
.post-item {
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 1rem;
  transition: box-shadow .15s ease, transform .15s ease;
  background: #fff;
}
.post-item:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,.06);
}
.post-link { text-decoration: none; color: inherit; display: block; }
.post-title { margin: 0 0 .25rem 0; }
.post-desc { margin: 0 0 .5rem 0; color: #475569; }
.post-meta { margin: 0; font-size: .9rem; color: #64748b; }

/* ===== Categories grid ===== */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.category-card {
  display: block;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 1rem;
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: box-shadow .15s ease, transform .15s ease;
}
.category-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,.06);
}

/* ===== Article (single post) ===== */
.article {
  max-width: 800px;
  margin: 2rem auto;
  padding: 0 1rem;
}
.article h2 { margin-top: 1.5rem; }
.article p { margin: 0.75rem 0; }

/* ===== Breadcrumbs ===== */
.breadcrumbs {
  font-size: 0.9rem;
  color: #475569;
  margin-bottom: .5rem;
}
.breadcrumbs a { color: #334155; text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.crumb-sep { margin: 0 .4rem; color: #94a3b8; }

/* ===== Ads ===== */
.ad-wrapper { margin: 1.5rem 0; text-align: center; }

/* ===== Footer ===== */
.site-footer {
  margin-top: 3rem;
  padding: 1.25rem 1rem;
  background: #fafafa;
  border-top: 1px solid #eee;
  text-align: center;
  font-size: 0.95rem;
  color: #555;
}
.site-footer .footer-links { margin-bottom: 0.25rem; }
.site-footer .footer-links a { color: #334155; text-decoration: none; }
.site-footer .footer-links a:hover { text-decoration: underline; }

/* ===== Responsive ===== */
@media (max-width: 640px) {
  .logo { height: 64px; }
  .brand-text { font-size: 1.8rem; }
  .hero-inner { padding: 1.5rem 1rem; }
}
.article img, .article picture { max-width: 100%; height: auto; display: block; margin: 1rem auto; border-radius: 6px; }

/* Home page image styling */
.home-image {
  margin: 2rem auto;
  max-width: 900px;          /* keeps it from going edge-to-edge */
  text-align: center;
}

.home-image img {
  width: 100%;               /* responsive */
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;        /* soft corners */
  box-shadow: 0 2px 8px rgba(0,0,0,0.08); /* subtle depth */
}

.home-image figcaption {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: #555;
}
