/* ═══════ LITZ-UP BLOG — V2 ═══════ */
/* Shared CSS: blog.litz-up.com */

:root {
    --black: #000000;
    --dark-teal: #0a5e72;
    --dark-teal-deep: #085268;
    --heading-cyan: #86def2;
    --light-cyan: #78d7eb;
    --near-white: #f4f7fb;
    --gold: #c9a84c;
    --gold-light: #e0c878;
    --gold-dark: #a88b3a;
    --text-muted: rgba(244, 247, 251, 0.65);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Open Sans', sans-serif;
    background: var(--black);
    color: var(--near-white);
    line-height: 1.7;
}
h1, h2, h3, h4 { font-family: 'Merriweather', serif; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

/* ═══════ HEADER ═══════ */
.site-header {
    background: var(--black);
    border-bottom: 1px solid rgba(201, 168, 76, 0.25);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0.75rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.header-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.header-logo img {
    height: 50px;
    width: auto;
}
.header-logo span {
    font-family: 'Merriweather', serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--gold-light);
    letter-spacing: 0.5px;
}
.header-logo .blog-label {
    color: var(--light-cyan);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-top: -2px;
}
.header-nav {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}
.header-nav a {
    color: var(--near-white);
    font-size: 0.85rem;
    font-weight: 600;
    transition: color 0.3s;
    min-height: 44px;
    display: flex;
    align-items: center;
}
.header-nav a:hover { color: var(--gold-light); }
.header-nav .btn-sm {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: #0a0a0a;
    padding: 0.45rem 1.1rem;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.8rem;
    min-height: 44px;
}
.header-nav .btn-sm:hover { transform: translateY(-1px); }
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--near-white);
    font-size: 1.6rem;
    cursor: pointer;
    min-width: 44px;
    min-height: 44px;
}

/* ═══════ HERO ═══════ */
.blog-hero {
    background: var(--dark-teal);
    padding: 4rem 2rem;
    text-align: center;
}
.blog-hero h1 {
    font-size: 2.6rem;
    color: var(--gold-light);
    margin-bottom: 0.75rem;
}
.blog-hero p {
    color: rgba(244, 247, 251, 0.75);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1rem;
}
.gold-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    margin: 1rem auto;
}

/* ═══════ BLOG GRID ═══════ */
.blog-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 3rem 2rem;
}
.featured-post {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 0;
    background: var(--dark-teal);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(201, 168, 76, 0.2);
    margin-bottom: 3rem;
    transition: all 0.4s;
    cursor: pointer;
}
.featured-post:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    border-color: var(--gold);
}
.featured-image {
    overflow: hidden;
    min-height: 350px;
    position: relative;
}
.featured-image img,
.featured-image > div {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.featured-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: #0a0a0a;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    z-index: 2;
}
.featured-text {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.featured-text .post-meta { margin-bottom: 0.75rem; }
.featured-text h2 {
    font-size: 1.7rem;
    color: var(--gold-light);
    margin-bottom: 1rem;
    line-height: 1.3;
}
.featured-text p {
    color: rgba(244, 247, 251, 0.8);
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}
.read-more {
    color: var(--gold-light);
    font-weight: 600;
    font-size: 0.88rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: gap 0.3s;
}
.read-more:hover { gap: 0.7rem; }

.posts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}
.post-card {
    background: var(--dark-teal);
    border: 1px solid rgba(201, 168, 76, 0.15);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.4s;
}
.post-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
    border-color: var(--gold);
}
.post-card a { display: block; }
.post-card-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}
.post-card-image > div {
    width: 100%;
    height: 100%;
    transition: transform 0.5s;
}
.post-card:hover .post-card-image > div { transform: scale(1.05); }
.post-card-body { padding: 1.75rem; }
.post-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.6rem;
}
.post-meta .category {
    color: var(--gold);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.post-card-body h3 {
    font-size: 1.15rem;
    color: var(--gold-light);
    margin-bottom: 0.75rem;
    line-height: 1.35;
}
.post-card-body p {
    color: rgba(244, 247, 251, 0.75);
    font-size: 0.88rem;
    line-height: 1.65;
    margin-bottom: 1rem;
}

/* ═══════ AUTHOR BAR ═══════ */
.author-bar {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.author-bar img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid var(--gold);
}
.author-bar span {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* ═══════ NEWSLETTER ═══════ */
.newsletter-section {
    background: var(--dark-teal);
    padding: 3.5rem 2rem;
    text-align: center;
    margin-top: 2rem;
}
.newsletter-section h2 {
    font-size: 1.8rem;
    color: var(--gold-light);
    margin-bottom: 0.5rem;
}
.newsletter-section p {
    color: rgba(244, 247, 251, 0.7);
    max-width: 500px;
    margin: 0 auto 1.5rem;
    font-size: 0.92rem;
}
.newsletter-form {
    display: flex;
    gap: 0.75rem;
    max-width: 450px;
    margin: 0 auto;
}
.newsletter-form input {
    flex: 1;
    padding: 0.85rem 1rem;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(244, 247, 251, 0.3);
    border-radius: 4px;
    color: var(--near-white);
    font-family: 'Open Sans', sans-serif;
    font-size: 0.9rem;
    min-height: 44px;
}
.newsletter-form input:focus { outline: none; border-color: var(--gold); }
.newsletter-form input::placeholder { color: rgba(244, 247, 251, 0.4); }
.newsletter-form button {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: #0a0a0a;
    border: none;
    padding: 0.85rem 1.5rem;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: transform 0.3s;
    white-space: nowrap;
    min-height: 44px;
}
.newsletter-form button:hover { transform: translateY(-2px); }

/* ═══════ FOOTER ═══════ */
footer {
    background: var(--black);
    border-top: 2px solid rgba(201, 168, 76, 0.3);
    padding: 2rem;
    text-align: center;
}
footer p {
    color: rgba(244, 247, 251, 0.5);
    font-size: 0.82rem;
}
footer a { color: var(--gold-light); }
footer a:hover { text-decoration: underline; }

/* ═══════ ARTICLE PAGE ═══════ */
.article-header {
    background: var(--dark-teal);
    padding: 3rem 2rem;
}
.article-header-inner {
    max-width: 800px;
    margin: 0 auto;
}
.article-back {
    color: var(--gold-light);
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 1.5rem;
    transition: gap 0.3s;
    min-height: 44px;
}
.article-back:hover { gap: 0.7rem; }
.article-header-inner .post-meta { margin-bottom: 0.75rem; }
.article-header-inner h1 {
    font-size: 2.2rem;
    color: var(--gold-light);
    margin-bottom: 1rem;
    line-height: 1.3;
}
.article-author {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}
.article-author img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--gold);
}
.article-author .author-name {
    color: var(--near-white);
    font-weight: 600;
    font-size: 0.92rem;
    display: block;
}
.article-author .author-title {
    color: var(--text-muted);
    font-size: 0.78rem;
}

.article-body {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 2rem 4rem;
}
.article-body p {
    color: rgba(244, 247, 251, 0.85);
    font-size: 1rem;
    line-height: 1.85;
    margin-bottom: 1.5rem;
}
.article-body h2 {
    color: var(--gold-light);
    font-size: 1.5rem;
    margin: 2.5rem 0 1rem;
}
.article-body h3 {
    color: var(--light-cyan);
    font-size: 1.15rem;
    margin: 2rem 0 0.75rem;
}
.article-body ul, .article-body ol {
    color: rgba(244, 247, 251, 0.85);
    margin: 0 0 1.5rem 1.5rem;
    font-size: 1rem;
    line-height: 1.85;
}
.article-body li { margin-bottom: 0.5rem; }
.article-body blockquote {
    border-left: 4px solid var(--gold);
    background: rgba(201, 168, 76, 0.08);
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: rgba(244, 247, 251, 0.8);
}
.article-body .callout {
    background: var(--dark-teal);
    border: 1px solid rgba(201, 168, 76, 0.25);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
}
.article-body .callout h4 {
    color: var(--gold-light);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}
.article-body strong { color: var(--near-white); }
.article-cta {
    background: var(--dark-teal);
    border: 1px solid rgba(201, 168, 76, 0.3);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    margin-top: 3rem;
}
.article-cta h3 {
    color: var(--gold-light) !important;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}
.article-cta p {
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    font-size: 0.92rem;
}
.btn-gold {
    display: inline-block;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: #0a0a0a;
    padding: 0.75rem 1.8rem;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.88rem;
    transition: transform 0.3s;
    min-height: 44px;
}
.btn-gold:hover { transform: translateY(-2px); }

/* ═══════ RESPONSIVE ═══════ */
@media (max-width: 768px) {
    .blog-hero h1 { font-size: 1.9rem; }
    .featured-post { grid-template-columns: 1fr; }
    .featured-image { min-height: 250px; }
    .posts-grid { grid-template-columns: 1fr; }
    .header-nav { display: none; }
    .header-nav.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--black);
        padding: 1.5rem;
        gap: 1rem;
        border-bottom: 1px solid rgba(201, 168, 76, 0.25);
    }
    .mobile-toggle { display: block; }
    .newsletter-form { flex-direction: column; }
    .article-header-inner h1 { font-size: 1.7rem; }
}

/* ═══════ FADE ANIMATIONS ═══════ */
.fade-in {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
/* Fallback: show content if JS doesn't fire observer */
noscript ~ .blog-content .fade-in,
.fade-in.no-js { opacity: 1; transform: none; }
