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

:root {
  --navy: #0d1b2e;
  --navy-mid: #1a2b48;
  --navy-light: #243752;
  --accent: #4ea5d9;
  --accent-bright: #62c6ff;
  --accent-glow: rgba(78,165,217,0.18);
  --white: #ffffff;
  --gray-100: #f4f6fb;
  --gray-200: #e8edf5;
  --gray-400: #8a98b4;
  --gray-600: #4a5568;
  --gold: #f0c040;
  --gradient-hero: linear-gradient(135deg, #0a1628 0%, #0d1b2e 50%, #162540 100%);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 20px 60px rgba(0,0,0,0.35);
  --shadow-card: 0 8px 32px rgba(0,0,0,0.25);
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  background: var(--navy);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.3;
}

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

/* ── NAVBAR ── */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 5%;
  transition: var(--transition);
  background: rgba(13,27,46,0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(78,165,217,0.12);
  box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}

header.scrolled {
  background: rgba(13,27,46,0.98);
  box-shadow: 0 4px 40px rgba(0,0,0,0.6);
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.nav-logo img {
  height: 44px;
  width: auto;
  filter: brightness(1.1);
}

.nav-links {
  display: flex; align-items: center; gap: 36px; list-style: none;
}

.nav-links a {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: rgba(255,255,255,0.8); transition: var(--transition);
  position: relative;
}

.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 2px; background: var(--accent); transform: scaleX(0);
  transition: var(--transition); border-radius: 2px;
}

.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--accent); }

.nav-cta {
  background: linear-gradient(135deg, var(--accent), var(--accent-bright)) !important;
  color: var(--navy) !important; padding: 10px 24px; border-radius: 50px;
  font-weight: 700 !important; box-shadow: 0 4px 20px rgba(78,165,217,0.35);
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(78,165,217,0.5) !important; }

.hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px;
}
.hamburger span { width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--transition); }

/* ── POST HERO ── */
.post-hero {
  padding: 140px 5% 70px;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.post-hero-bg {
  position: absolute; inset: 0;
  background-image: url('/assets/luxury-bg.jpg');
  background-size: cover; background-position: center 40%;
  opacity: 0.2; z-index: 1;
}

.post-hero-orb {
  position: absolute; width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(78,165,217,0.1) 0%, transparent 70%);
  top: 50%; left: 50%; transform: translate(-50%,-50%); filter: blur(60px);
  pointer-events: none; z-index: 2;
}

.post-hero-content {
  position: relative; z-index: 3; max-width: 900px; margin: 0 auto;
}

.post-meta-top {
  display: flex; align-items: center; justify-content: center; gap: 20px;
  margin-bottom: 24px; flex-wrap: wrap;
}

.back-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Montserrat', sans-serif; font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent);
  transition: var(--transition);
}
.back-link:hover { color: var(--accent-bright); gap: 4px; }
.back-link i { width: 14px; height: 14px; stroke: currentColor; }

.post-date {
  font-size: 0.8rem; color: rgba(255,255,255,0.5);
  font-weight: 500; letter-spacing: 0.05em;
}

.post-hero h1 {
  font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 800;
  letter-spacing: -0.02em; margin-bottom: 24px; line-height: 1.2;
  color: var(--white);
}

.post-tags {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
}

.tag {
  display: inline-block; padding: 4px 14px; border-radius: 50px;
  background: rgba(78,165,217,0.12); border: 1px solid rgba(78,165,217,0.2);
  font-size: 0.75rem; font-weight: 600; color: var(--accent);
  text-transform: lowercase; letter-spacing: 0.03em;
}

/* ── POST CONTAINER ── */
.post-container {
  max-width: 860px; margin: 0 auto; padding: 0 5% 80px;
}

.post-featured-img {
  margin-bottom: 48px; border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  transform: translateY(-30px);
  border: 1px solid rgba(78,165,217,0.1);
}

.post-featured-img img {
  width: 100%; height: auto; display: block;
  aspect-ratio: 16/10; object-fit: cover;
}

/* ── POST CONTENT ── */
.post-content {
  color: rgba(255,255,255,0.85);
  font-size: 1rem; line-height: 1.8;
}

.post-content p {
  margin-bottom: 20px;
  color: rgba(255,255,255,0.8);
}

.post-content h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.7rem); font-weight: 700;
  color: var(--white); margin: 44px 0 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(78,165,217,0.2);
}

.post-content h3 {
  font-size: clamp(1.1rem, 2vw, 1.35rem); font-weight: 700;
  color: var(--accent-bright); margin: 32px 0 14px;
}

.post-content h4 {
  font-size: 1rem; font-weight: 700;
  color: rgba(255,255,255,0.9); margin: 24px 0 10px;
  text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.9rem;
}

.post-content ul, .post-content ol {
  margin: 0 0 20px 24px;
  color: rgba(255,255,255,0.8);
}

.post-content li {
  margin-bottom: 8px; line-height: 1.7;
}

.post-content a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgba(78,165,217,0.4);
  transition: var(--transition);
}
.post-content a:hover {
  color: var(--accent-bright);
  text-decoration-color: var(--accent-bright);
}

.post-content strong { color: var(--white); font-weight: 600; }

/* Post navigation */
.post-nav {
  margin-top: 60px; padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.back-to-blog {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Montserrat', sans-serif; font-size: 0.85rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.05em; color: var(--accent);
  transition: var(--transition); padding: 12px 24px;
  background: rgba(78,165,217,0.1); border: 1px solid rgba(78,165,217,0.2);
  border-radius: 50px;
}
.back-to-blog i { width: 16px; height: 16px; stroke: currentColor; }
.back-to-blog:hover {
  background: rgba(78,165,217,0.2); color: var(--accent-bright);
  transform: translateX(-4px);
}

/* ── FOOTER ── */
footer {
  background: #040c18; padding: 60px 5% 30px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 60px; margin-bottom: 50px; padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-brand img { height: 38px; margin-bottom: 20px; }
.footer-brand p { font-size: 0.85rem; color: rgba(255,255,255,0.5); line-height: 1.7; max-width: 320px; }
.footer-col h4 {
  font-family: 'Montserrat', sans-serif; font-size: 0.8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.4); margin-bottom: 18px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { font-size: 0.88rem; color: rgba(255,255,255,0.6); transition: var(--transition); }
.footer-col ul li a:hover { color: var(--accent); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.35); }

/* ── INLINE CONTENT IMAGES ── */
.post-content-img {
  margin: 32px 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid rgba(78,165,217,0.12);
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}
.post-content-img img {
  width: 100%; height: auto; display: block;
  max-height: 520px; object-fit: cover;
}
.post-content-img figcaption {
  padding: 10px 16px;
  font-size: 0.8rem; color: rgba(255,255,255,0.4);
  background: rgba(26,43,72,0.5);
  text-align: center; font-style: italic;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: fixed; top: 80px; left: 0; right: 0;
    background: rgba(13,27,46,0.98); backdrop-filter: blur(20px);
    padding: 32px 5%; gap: 24px; border-bottom: 1px solid rgba(78,165,217,0.12);
  }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .post-hero { padding: 120px 5% 50px; }
  .post-featured-img { transform: translateY(-20px); }
}
