/* ===================== FITWEIGHTTIPS — SHARED STYLES ===================== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;800;900&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
    --green:       #16a34a;
    --green-light: #22c55e;
    --green-pale:  #dcfce7;
    --cream:       #fdfcf8;
    --dark:        #0f1a0f;
    --dark-2:      #1a2e1a;
    --mid:         #4b5e4b;
    --muted:       #7a917a;
    --border:      #d4e4d4;
    --white:       #ffffff;
    --radius:      14px;
    --shadow-sm:   0 2px 12px rgba(0,0,0,0.06);
    --shadow-md:   0 8px 32px rgba(0,0,0,0.10);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'DM Sans', sans-serif;
    background: var(--cream);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--green);
    background: var(--green-pale);
    padding: 0.35rem 1rem;
    border-radius: 99px;
    margin-bottom: 1rem;
}

/* ===================== AD PLACEHOLDERS ===================== */
.ad-unit {
    background: #f0f4f0;
    border: 2px dashed #c4d4c4;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.4rem;
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.ad-unit::before { content: '📢'; font-size: 1.5rem; }
.ad-unit span { font-size: 0.7rem; opacity: 0.7; }

/* ===================== NAV AD STRIP ===================== */
.nav-ad-strip {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 0.5rem 0;
    display: flex;
    justify-content: center;
}

/* ===================== NAVBAR ===================== */
nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(253,252,248,0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    height: 72px;
    display: flex;
    align-items: center;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--dark);
    text-decoration: none;
    letter-spacing: -0.02em;
}
.logo span { color: var(--green); }
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a {
    text-decoration: none;
    color: var(--mid);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--green); }
.nav-cta {
    background: var(--green) !important;
    color: var(--white) !important;
    padding: 0.5rem 1.2rem !important;
    border-radius: 99px;
    font-size: 0.88rem !important;
    transition: background 0.2s, transform 0.2s;
}
.nav-cta:hover { background: var(--green-light) !important; transform: translateY(-1px); }
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
}
.mobile-toggle span { display: block; width: 24px; height: 2px; background: var(--dark); border-radius: 2px; transition: 0.3s; }

/* ===================== PAGE HERO (inner pages) ===================== */
.page-hero {
    background: linear-gradient(135deg, var(--dark-2) 0%, var(--dark) 100%);
    padding: 4rem 0;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    top: -100px; left: 50%; transform: translateX(-50%);
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(34,197,94,0.15) 0%, transparent 70%);
    pointer-events: none;
}
.page-hero .section-label { background: rgba(255,255,255,0.1); color: var(--green-light); }
.page-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 1rem;
}
.page-hero p { color: #94a3a4; font-size: 1.1rem; max-width: 560px; margin: 0 auto; }

/* ===================== BREADCRUMB ===================== */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1.25rem 0;
    font-size: 0.82rem;
    color: var(--muted);
    list-style: none;
    flex-wrap: wrap;
}
.breadcrumb a { color: var(--muted); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--green); }
.breadcrumb .sep { color: var(--border); }
.breadcrumb .current { color: var(--green); font-weight: 600; }

/* ===================== CARDS ===================== */
.card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card-img { aspect-ratio: 16/10; overflow: hidden; position: relative; background: var(--green-pale); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.card:hover .card-img img { transform: scale(1.05); }
.card-cat {
    position: absolute; top: 1rem; left: 1rem;
    background: var(--green); color: white;
    font-size: 0.68rem; font-weight: 700;
    padding: 0.28rem 0.7rem; border-radius: 99px;
    text-transform: uppercase; letter-spacing: 0.08em;
}
.card-body { padding: 1.25rem; }
.card-body h3 { font-size: 1rem; font-weight: 700; line-height: 1.4; margin-bottom: 0.5rem; }
.card-body p { font-size: 0.85rem; color: var(--mid); line-height: 1.6; margin-bottom: 0.75rem;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-meta { font-size: 0.72rem; color: var(--muted); }

/* ===================== SIDEBAR ===================== */
.sidebar-widget {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}
.widget-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--green-pale);
}
.popular-list { display: flex; flex-direction: column; gap: 1rem; }
.popular-item { display: flex; gap: 0.75rem; align-items: flex-start; text-decoration: none; color: inherit; }
.popular-num { font-family: 'Playfair Display', serif; font-size: 1.4rem; font-weight: 900; color: var(--green-pale); line-height: 1; min-width: 28px; }
.popular-item h5 { font-size: 0.85rem; font-weight: 600; line-height: 1.4; transition: color 0.2s; }
.popular-item:hover h5 { color: var(--green); }
.popular-item small { font-size: 0.72rem; color: var(--muted); }
.tags-cloud { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tag { padding: 0.35rem 0.85rem; background: var(--green-pale); color: var(--green); border-radius: 99px; font-size: 0.78rem; font-weight: 600; text-decoration: none; transition: all 0.2s; }
.tag:hover { background: var(--green); color: var(--white); }

.newsletter-widget { background: var(--dark-2); border-color: var(--dark-2); }
.newsletter-widget .widget-title { color: var(--white); border-bottom-color: rgba(255,255,255,0.1); }
.newsletter-widget p { color: #94a3a4; font-size: 0.88rem; margin-bottom: 1rem; }
.newsletter-form { display: flex; flex-direction: column; gap: 0.75rem; }
.newsletter-input { padding: 0.75rem 1rem; border-radius: 10px; border: 1px solid rgba(255,255,255,0.15); background: rgba(255,255,255,0.08); color: var(--white); font-family: inherit; font-size: 0.88rem; outline: none; transition: border-color 0.2s; }
.newsletter-input::placeholder { color: #6b7f7f; }
.newsletter-input:focus { border-color: var(--green); }
.newsletter-btn { background: var(--green); color: var(--white); padding: 0.75rem; border-radius: 10px; border: none; font-weight: 700; font-size: 0.9rem; cursor: pointer; font-family: inherit; transition: background 0.2s; }
.newsletter-btn:hover { background: var(--green-light); }

/* ===================== BUTTONS ===================== */
.btn-primary {
    background: var(--green); color: var(--white);
    padding: 0.85rem 2rem; border-radius: 99px;
    font-weight: 600; font-size: 0.95rem;
    text-decoration: none; display: inline-flex;
    align-items: center; gap: 0.5rem;
    transition: all 0.25s;
    box-shadow: 0 4px 16px rgba(22,163,74,0.3);
    border: none; cursor: pointer; font-family: inherit;
}
.btn-primary:hover { background: var(--green-light); transform: translateY(-2px); }
.btn-load {
    background: var(--dark); color: var(--white);
    padding: 0.85rem 2.5rem; border-radius: 99px;
    font-weight: 600; font-size: 0.95rem;
    border: none; cursor: pointer; font-family: inherit;
    transition: all 0.25s;
}
.btn-load:hover { background: var(--green); transform: translateY(-2px); }
.btn-load:disabled { background: #cbd5e1; cursor: not-allowed; transform: none; }

/* ===================== MID-AD STRIP ===================== */
.mid-ad { padding: 1.5rem 0; background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); display: flex; justify-content: center; }

/* ===================== FOOTER ===================== */
footer { background: var(--dark); color: #94a3a4; padding: 5rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand .logo { color: var(--white); }
.footer-brand .logo span { color: var(--green-light); }
.footer-brand p { margin-top: 1rem; font-size: 0.88rem; line-height: 1.7; max-width: 280px; }
footer h4 { color: var(--white); font-size: 0.88rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1.25rem; }
footer ul { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; }
footer a { color: #94a3a4; text-decoration: none; font-size: 0.88rem; transition: color 0.2s; }
footer a:hover { color: var(--green-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 2rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; font-size: 0.82rem; }

/* ===================== ANIMATIONS ===================== */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.fade-up { animation: fadeUp 0.6s ease both; }
.fade-up-1 { animation-delay: 0.1s; } .fade-up-2 { animation-delay: 0.2s; }
.fade-up-3 { animation-delay: 0.3s; } .fade-up-4 { animation-delay: 0.4s; }

/* ===================== FORM ELEMENTS ===================== */
.form-group { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.5rem; }
.form-label { font-size: 0.88rem; font-weight: 600; color: var(--dark); }
.form-input, .form-textarea, .form-select {
    padding: 0.85rem 1rem;
    border: 2px solid var(--border);
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.95rem;
    background: var(--white);
    color: var(--dark);
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}
.form-input:focus, .form-textarea:focus, .form-select:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(22,163,74,0.1); }
.form-textarea { resize: vertical; min-height: 140px; line-height: 1.6; }
.form-input.error, .form-textarea.error { border-color: #ef4444; }
.error-msg { font-size: 0.8rem; color: #ef4444; font-weight: 500; }
.success-msg { font-size: 0.88rem; color: var(--green); font-weight: 600; background: var(--green-pale); padding: 0.75rem 1rem; border-radius: 10px; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 768px) {
    .nav-links { display: none; flex-direction: column; position: fixed; top: 72px; left: 0; right: 0; background: var(--cream); padding: 2rem; border-bottom: 1px solid var(--border); gap: 1.25rem; box-shadow: var(--shadow-md); z-index: 999; }
    .nav-links.show { display: flex; }
    .mobile-toggle { display: flex; }
    .page-hero h1 { font-size: 2.2rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
}
