/* =========================================================
   SHUBHLINK BLOG — MAIN STYLESHEET
   -----------------------------------------------------------
   All brand values live in :root as CSS variables.
   TO MATCH shubhlink.com 100%: open shubhlink.com, inspect
   the header/nav/logo/buttons and footer in your browser
   (right-click → Inspect), and replace the values below with
   the exact hex codes, font-family names, and spacing you find.
   Every header/footer rule below references these variables,
   so updating them here updates the whole site at once.
   ========================================================= */

:root {
  /* ---- Brand colors (placeholder — confirm exact hex from live site) ---- */
  --color-bg: #FFFDF9;              /* page background, ivory */
  --color-bg-alt: #FAF6EE;          /* section background, warm cream */
  --color-text: #2B2420;            /* primary text, deep charcoal */
  --color-text-muted: #6B6259;      /* secondary text */
  --color-accent: #B8935F;          /* gold accent */
  --color-accent-dark: #8C6D42;     /* gold hover state */
  --color-maroon: #7A2E2E;          /* deep maroon accent used sparingly */
  --color-border: #E7E0D4;          /* hairline borders/dividers */
  --color-header-bg: #FFFDF9;       /* header background */
  --color-footer-bg: #241E1A;       /* footer background, near-black warm */
  --color-footer-text: #E9E2D6;     /* footer text on dark bg */
  --color-footer-text-muted: #B3A99A;

  /* ---- Typography (placeholder — confirm exact font-family from live site) ---- */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;

  /* ---- Layout ---- */
  --container-width: 1200px;
  --header-height: 84px;
  --radius-sm: 4px;
  --radius-md: 10px;
  --transition: 200ms ease;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

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

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* =========================================================
   HEADER
   ========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-header-bg);
  border-bottom: 1px solid var(--color-border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.site-header__logo img {
  height: 40px;
  width: auto;
}

.site-header__nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.site-header__nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text);
  transition: color var(--transition);
}

.site-header__nav a:hover {
  color: var(--color-accent-dark);
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-signin {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text);
}

.btn-begin {
  display: inline-block;
  padding: 10px 22px;
  background: var(--color-accent);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  transition: background var(--transition);
}

.btn-begin:hover {
  background: var(--color-accent-dark);
}

.site-header__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.site-header__burger span {
  width: 24px;
  height: 2px;
  background: var(--color-text);
}

.site-header__mobile-nav {
  display: none;
  flex-direction: column;
  padding: 16px 24px 24px;
  border-top: 1px solid var(--color-border);
  background: var(--color-header-bg);
}

.site-header__mobile-nav.is-open {
  display: flex;
}

.site-header__mobile-nav a {
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 15px;
}

@media (max-width: 900px) {
  .site-header__nav,
  .site-header__actions .btn-signin,
  .site-header__actions .btn-begin { display: none; }
  .site-header__burger { display: flex; }
}

/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
  background: var(--color-footer-bg);
  color: var(--color-footer-text);
  padding: 64px 0 0;
  margin-top: 96px;
}

.site-footer__top {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}

.site-footer__brand img {
  height: 36px;
  margin-bottom: 16px;
}

.site-footer__tagline {
  color: var(--color-footer-text-muted);
  font-size: 14px;
  max-width: 280px;
  margin-bottom: 20px;
}

.site-footer__social {
  display: flex;
  gap: 14px;
}

.site-footer__social a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(233,226,214,0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--transition), background var(--transition);
}

.site-footer__social a:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
}

.site-footer__col h4 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 18px;
  color: #fff;
}

.site-footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer__col li {
  margin-bottom: 12px;
}

.site-footer__col a,
.site-footer__col span {
  font-size: 14px;
  color: var(--color-footer-text-muted);
  transition: color var(--transition);
}

.site-footer__col a:hover {
  color: var(--color-accent);
}

.site-footer__bottom {
  border-top: 1px solid rgba(233,226,214,0.12);
  padding: 22px 24px;
}

.site-footer__bottom-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--color-footer-text-muted);
}

.site-footer__legal {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.site-footer__legal a:hover {
  color: var(--color-accent);
}

@media (max-width: 900px) {
  .site-footer__top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .site-footer__top {
    grid-template-columns: 1fr;
  }
  .site-footer__bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* =========================================================
   BLOG CONTENT (index/archive/single) — kept simple & readable
   ========================================================= */

.blog-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 64px 24px 96px;
}

.blog-header {
  text-align: center;
  margin-bottom: 56px;
}

.blog-header h1 {
  font-family: var(--font-display);
  font-size: 40px;
  margin-bottom: 8px;
}

.blog-header p {
  color: var(--color-text-muted);
}

.post-card {
  border-bottom: 1px solid var(--color-border);
  padding: 32px 0;
}

.post-card__title {
  font-family: var(--font-display);
  font-size: 26px;
  margin: 0 0 8px;
}

.post-card__title a:hover { color: var(--color-accent-dark); }

.post-card__meta {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}

.post-card__excerpt {
  color: var(--color-text);
}

.single-post__title {
  font-family: var(--font-display);
  font-size: 38px;
  margin-bottom: 12px;
}

.single-post__meta {
  color: var(--color-text-muted);
  font-size: 14px;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--color-border);
}

.single-post__content h2 {
  font-family: var(--font-display);
  font-size: 26px;
  margin-top: 40px;
}

.single-post__content p { margin-bottom: 20px; }

.single-post__cta {
  margin-top: 48px;
  padding: 32px;
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
  text-align: center;
}

.single-post__cta a {
  display: inline-block;
  margin-top: 12px;
  padding: 12px 26px;
  background: var(--color-accent);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
}

.pagination a, .pagination span {
  padding: 8px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 14px;
}
