/* ═══════════ CSOL Art Serenade Blog Styles ═══════════ */
/* Shared across all blog pages — edit once, updates everywhere */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --cream: #F7F9F8;
  --warm-white: #EFF3F1;
  --gold: #f4ac0a;
  --gold-light: #f5c10c;
  --gold-dark: #d4960a;
  --deep-navy: #1e636e;
  --navy: #267580;
  --slate: #358791;
  --sage: #8cb1b7;
  --sage-light: #b3cdd2;
  --text: #000000;
  --text-light: #3a3a3a;
  --font-display: 'Bebas Neue', 'Arial Black', sans-serif;
  --font-body: 'Helvetica Neue', Helvetica, 'Inter', -apple-system, sans-serif;
  --font-script: 'Dancing Script', cursive;
}
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--text); background: var(--cream); line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── Navigation ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(247, 249, 248, 0.90);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(30, 99, 110, 0.12);
  transition: all 0.4s;
}
nav.scrolled { box-shadow: 0 4px 32px rgba(30, 99, 110, 0.06); }
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; color: var(--deep-navy); }
.nav-logo .logo-img { height: 44px; width: auto; object-fit: contain; display: none; }
.nav-logo .logo-img[src] { display: block; }
.nav-logo .logo-img[src] ~ .logo-text { display: none; }
.nav-logo .logo-text { display: flex; align-items: baseline; gap: 5px; }
.nav-logo .logo-art {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 400;
  letter-spacing: 3px; text-transform: uppercase;
}
.nav-logo .logo-serenade {
  font-family: var(--font-script);
  font-size: 1.6rem; font-weight: 600; color: var(--gold);
}
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
  font-size: 0.875rem; font-weight: 500; color: var(--slate);
  transition: color 0.3s; letter-spacing: 0.3px; position: relative;
}
.nav-links a:not(.nav-cta):hover { color: var(--gold-dark); }
.nav-links a:not(.nav-cta)::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 2px; background: var(--gold); border-radius: 2px;
  transform: scaleX(0); transition: transform 0.3s;
}
.nav-links a:not(.nav-cta):hover::after { transform: scaleX(1); }
.nav-cta {
  background: var(--gold); color: #fff !important; padding: 10px 24px;
  border-radius: 100px; font-weight: 600 !important; font-size: 0.85rem !important;
  transition: all 0.3s; letter-spacing: 0.5px;
}
.nav-cta:hover { background: var(--gold-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(244, 172, 10, 0.25); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--deep-navy); margin: 5px 0; transition: all 0.3s; border-radius: 2px; }

/* ── Blog Hero (listing page) ── */
.blog-hero {
  padding: 140px 0 60px;
  background: linear-gradient(150deg, var(--deep-navy) 0%, #24355680 50%, var(--deep-navy) 100%);
  position: relative; overflow: hidden; text-align: center;
}
.blog-hero .blob {
  position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; opacity: 0.25;
}
.blog-hero .blob-1 { width: 300px; height: 300px; background: var(--gold); top: -80px; right: -60px; animation: blobFloat1 12s ease-in-out infinite; }
.blog-hero .blob-2 { width: 250px; height: 250px; background: var(--sage); bottom: -60px; left: -40px; animation: blobFloat2 15s ease-in-out infinite; }
@keyframes blobFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -40px) scale(1.1); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}
@keyframes blobFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-40px, 30px) scale(1.05); }
  66% { transform: translate(20px, -30px) scale(1.1); }
}
.blog-hero-inner { position: relative; z-index: 2; }
.blog-hero .section-label {
  font-family: var(--font-display);
  font-size: 0.85rem; font-weight: 400;
  color: var(--gold); margin-bottom: 8px;
  letter-spacing: 3px; text-transform: uppercase;
}
.blog-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 4.2rem);
  font-weight: 400; color: #fff;
  line-height: 1.05; letter-spacing: 3px;
  text-transform: uppercase; margin-bottom: 16px;
}
.blog-hero h1 em {
  font-family: var(--font-script);
  font-style: normal; color: var(--gold-light);
  text-transform: none; letter-spacing: 0;
}
.blog-hero p {
  font-size: 1.1rem; color: rgba(255,255,255,0.75);
  max-width: 600px; margin: 0 auto; line-height: 1.7;
}

/* ── Filter Tags ── */
.blog-filters {
  padding: 32px 0 0;
  display: flex; justify-content: center; flex-wrap: wrap; gap: 10px;
}
.filter-tag {
  display: inline-block; padding: 8px 20px;
  border-radius: 100px; font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.5px; cursor: pointer;
  border: 1.5px solid rgba(30, 99, 110, 0.15);
  color: var(--slate); background: var(--cream);
  transition: all 0.3s;
}
.filter-tag:hover, .filter-tag.active {
  background: var(--gold); color: #fff;
  border-color: var(--gold);
}

/* ── Blog Grid ── */
.blog-grid-section { padding: 60px 0 100px; }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 32px;
}

/* ── Blog Card ── */
.blog-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(30, 99, 110, 0.06);
  transition: all 0.4s;
  display: flex; flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(30, 99, 110, 0.12);
}
.blog-card-image {
  height: 200px; overflow: hidden; position: relative;
}
.blog-card-image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s;
}
.blog-card:hover .blog-card-image img { transform: scale(1.05); }
.blog-card-category {
  position: absolute; top: 16px; left: 16px;
  background: var(--gold); color: #fff;
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 5px 14px; border-radius: 100px;
}
.blog-card-body {
  padding: 28px; flex: 1; display: flex; flex-direction: column;
}
.blog-card-date {
  font-size: 0.78rem; color: var(--slate);
  font-weight: 500; letter-spacing: 0.5px;
  margin-bottom: 10px;
}
.blog-card-title {
  font-family: var(--font-display);
  font-size: 1.35rem; font-weight: 400;
  color: var(--deep-navy);
  letter-spacing: 1px; text-transform: uppercase;
  line-height: 1.2; margin-bottom: 12px;
}
.blog-card-excerpt {
  font-size: 0.92rem; color: var(--text-light);
  line-height: 1.7; flex: 1;
  margin-bottom: 20px;
}
.blog-card-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.85rem; font-weight: 600;
  color: var(--gold-dark); letter-spacing: 0.3px;
  transition: gap 0.3s;
}
.blog-card:hover .blog-card-link { gap: 10px; }
.blog-card-link svg { width: 16px; height: 16px; }

/* ── Post Hero (individual post pages) ── */
.post-hero {
  position: relative; overflow: hidden;
  height: 420px;
}
.post-hero img {
  width: 100%; height: 100%; object-fit: cover;
}
.post-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(30, 99, 110, 0.85) 0%, rgba(30, 99, 110, 0.3) 50%, transparent 100%);
}
.post-hero-content {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 48px 24px; text-align: center; z-index: 2;
}
.post-hero-content .blog-card-category {
  position: static; display: inline-block; margin-bottom: 16px;
}
.post-hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  font-weight: 400; color: #fff;
  letter-spacing: 2px; text-transform: uppercase;
  line-height: 1.1; margin-bottom: 12px;
  max-width: 800px; margin-left: auto; margin-right: auto;
}
.post-hero-content .post-meta {
  font-size: 0.88rem; color: rgba(255,255,255,0.7); font-weight: 500;
}

/* ── Post Content ── */
.post-body { padding: 60px 0 80px; }
.post-content {
  max-width: 760px; margin: 0 auto;
}
.post-content h2 {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 400;
  color: var(--deep-navy);
  letter-spacing: 1.5px; text-transform: uppercase;
  margin: 40px 0 16px;
}
.post-content p {
  font-size: 1.05rem; color: var(--text-light);
  line-height: 1.8; margin-bottom: 20px;
}
.post-content ul {
  margin: 0 0 20px 24px;
}
.post-content li {
  font-size: 1.02rem; color: var(--text-light);
  line-height: 1.8; margin-bottom: 8px;
}

/* ── Back Link ── */
.back-to-blog {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.88rem; font-weight: 600; color: var(--slate);
  padding: 20px 0; transition: color 0.3s;
}
.back-to-blog:hover { color: var(--gold-dark); }

/* ── Post CTA Box ── */
.post-cta {
  text-align: center; margin-top: 48px;
  padding: 40px; border-radius: 16px;
  background: linear-gradient(135deg, rgba(30, 99, 110, 0.06), rgba(244, 172, 10, 0.08));
}
.post-cta h3 {
  font-family: var(--font-display);
  font-size: 1.6rem; font-weight: 400;
  color: var(--deep-navy);
  letter-spacing: 2px; text-transform: uppercase;
  margin-bottom: 12px;
}
.post-cta p {
  font-size: 1rem; color: var(--text-light); margin-bottom: 20px;
}
.cta-btn {
  display: inline-block; padding: 14px 36px;
  background: var(--gold); color: #fff;
  font-weight: 600; font-size: 0.9rem;
  border-radius: 100px; letter-spacing: 0.5px;
  transition: all 0.3s;
}
.cta-btn:hover {
  background: var(--gold-dark); transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(244, 172, 10, 0.25);
}

/* ── Related Posts ── */
.related-posts { padding: 0 0 80px; }
.related-posts h2 {
  font-family: var(--font-display);
  font-size: 1.6rem; font-weight: 400;
  color: var(--deep-navy);
  letter-spacing: 2px; text-transform: uppercase;
  text-align: center; margin-bottom: 32px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}

/* ── Footer ── */
footer {
  background: var(--deep-navy); color: rgba(255,255,255,0.7);
  padding: 72px 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer-brand p { font-size: 0.9rem; line-height: 1.7; margin-top: 16px; }
.footer-logo-img { height: 44px; width: auto; filter: brightness(0) invert(1); }
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 1rem; font-weight: 400;
  letter-spacing: 2px; text-transform: uppercase;
  color: #fff; margin-bottom: 16px;
}
.footer-col a {
  display: block; font-size: 0.88rem; color: rgba(255,255,255,0.6);
  margin-bottom: 10px; transition: color 0.3s;
}
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom {
  margin-top: 48px; padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.82rem; color: rgba(255,255,255,0.4);
}
.footer-social { display: flex; gap: 16px; }
.footer-social a { color: rgba(255,255,255,0.4); transition: color 0.3s; }
.footer-social a:hover { color: var(--gold-light); }

/* ── Animations ── */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.blog-card { animation: fadeSlideUp 0.6s ease both; }
.blog-card:nth-child(2) { animation-delay: 0.1s; }
.blog-card:nth-child(3) { animation-delay: 0.2s; }
.blog-card:nth-child(4) { animation-delay: 0.3s; }
.blog-card:nth-child(5) { animation-delay: 0.4s; }
.blog-card:nth-child(6) { animation-delay: 0.5s; }
.blog-card:nth-child(7) { animation-delay: 0.6s; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .post-hero { height: 340px; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-links.active {
    display: flex; flex-direction: column;
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--cream); padding: 24px;
    border-bottom: 1px solid rgba(244, 172, 10, 0.15);
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  }
  .nav-toggle { display: block; }
  .blog-grid, .related-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .post-hero { height: 280px; }
  .post-hero-content { padding: 32px 20px; }
}