/* =============================================
   THE REJUVENATION PROJECT — RejuvenateAmerica.org
   Global Styles
   ============================================= */

:root {
    --cream: #F5F0E8;
    --light-cream: #FAF7F2;
    --charcoal: #2D2D2D;
    --warm-gray: #8A8478;
    --soft-gold: #B8A472;
    --light-gold: #D4C9A8;
    --white: #FFFFFF;
    --serif: 'Cormorant Garamond', Georgia, serif;
    --sans: 'Lato', -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--sans);
    background-color: var(--cream);
    color: var(--charcoal);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }
a { color: var(--soft-gold); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--charcoal); }

/* === NAV === */
.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(245, 240, 232, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--light-gold);
    padding: 0 24px;
}

.nav-inner {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.nav-logo { height: 36px; opacity: 0.9; }

.nav-links { display: flex; gap: 32px; align-items: center; }

.nav-links a {
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: var(--warm-gray);
    transition: color 0.2s;
}

.nav-links a:hover { color: var(--charcoal); }
.nav-links a.active { color: var(--charcoal); font-weight: 700; }

.nav-cta {
    background: var(--soft-gold) !important;
    color: var(--white) !important;
    padding: 8px 20px;
    border-radius: 4px;
    font-weight: 700 !important;
    font-size: 13px !important;
    letter-spacing: 0.06em !important;
    transition: background 0.2s !important;
}

.nav-cta:hover { background: var(--charcoal) !important; }

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--charcoal);
    margin: 5px 0;
    transition: 0.3s;
}

/* === LAYOUT === */
.page-content { padding-top: 64px; }

.section {
    max-width: 720px;
    margin: 0 auto;
    padding: 80px 24px;
}

.section-wide {
    max-width: 960px;
    margin: 0 auto;
    padding: 80px 24px;
}

/* === TYPOGRAPHY === */
.section-label {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--soft-gold);
    text-align: center;
    margin-bottom: 8px;
}

.section-rule {
    width: 100px;
    height: 1px;
    background: var(--soft-gold);
    margin: 0 auto 48px;
}

h1, h2 {
    font-family: var(--serif);
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

h1 {
    font-size: clamp(40px, 7vw, 64px);
    text-align: center;
    margin-bottom: 24px;
}

h2 {
    font-size: clamp(32px, 5vw, 48px);
    text-align: center;
    margin-bottom: 16px;
}

h3 {
    font-family: var(--serif);
    font-weight: 600;
    font-size: clamp(22px, 3vw, 28px);
    margin-bottom: 12px;
}

.section-intro {
    font-size: clamp(18px, 2.2vw, 20px);
    color: var(--warm-gray);
    text-align: center;
    margin-bottom: 40px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.body-text {
    font-size: clamp(18px, 2.2vw, 20px);
    line-height: 1.8;
    margin-bottom: 24px;
}

/* === DECORATIVE === */
.gold-rule {
    width: 180px;
    height: 1px;
    background: var(--soft-gold);
    margin: 0 auto;
    position: relative;
}

.gold-rule::before,
.gold-rule::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--soft-gold);
    border-radius: 50%;
}

.gold-rule::before { left: -10px; }
.gold-rule::after { right: -10px; }

.divider { text-align: center; padding: 0 24px; }

/* === CARDS === */
.card-stack {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 32px;
}

.card {
    background: var(--light-cream);
    border-radius: 12px;
    padding: 32px;
    display: flex;
    gap: 24px;
    align-items: flex-start;
    transition: transform 0.3s ease;
}

.card:hover { transform: translateY(-2px); }

.card-num {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: var(--soft-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--serif);
    font-weight: 700;
    font-size: 20px;
    color: var(--white);
    margin-top: 2px;
}

.card h3 {
    font-size: clamp(22px, 3vw, 26px);
    margin-bottom: 8px;
}

.card p {
    font-size: clamp(16px, 2vw, 18px);
    color: var(--warm-gray);
    line-height: 1.7;
}

/* === TIP / PRACTICE ITEMS === */
.tip-heading {
    font-family: var(--serif);
    font-weight: 600;
    font-size: clamp(22px, 3vw, 26px);
    text-align: center;
    margin-bottom: 8px;
}

.tip-rule {
    width: 160px;
    height: 1px;
    background: var(--soft-gold);
    margin: 0 auto 40px;
}

.tip-item {
    margin-bottom: 32px;
    padding-left: 28px;
    position: relative;
}

.tip-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 10px;
    height: 10px;
    background: var(--soft-gold);
    border-radius: 50%;
}

.tip-item strong {
    display: block;
    font-size: clamp(18px, 2.2vw, 20px);
    font-weight: 700;
    margin-bottom: 4px;
}

.tip-item span {
    font-size: clamp(18px, 2.2vw, 20px);
    color: var(--warm-gray);
    line-height: 1.7;
}

.benefit-item {
    margin-bottom: 20px;
    padding-left: 28px;
    position: relative;
    font-size: clamp(18px, 2.2vw, 20px);
    line-height: 1.7;
}

.benefit-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 10px;
    height: 10px;
    background: var(--soft-gold);
    border-radius: 50%;
}

.practice-item {
    margin-bottom: 36px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.practice-num {
    width: 36px;
    height: 36px;
    min-width: 36px;
    background: var(--soft-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    color: var(--white);
    margin-top: 4px;
}

.practice-content h4 {
    font-family: var(--serif);
    font-weight: 600;
    font-size: clamp(20px, 2.5vw, 24px);
    margin-bottom: 6px;
}

.practice-content p {
    font-size: clamp(18px, 2.2vw, 20px);
    color: var(--warm-gray);
    line-height: 1.7;
}

/* === CALLOUT === */
.callout {
    text-align: center;
    padding: 40px 0;
    margin-top: 40px;
    border-top: 1px solid var(--light-gold);
}

.callout p {
    font-size: clamp(18px, 2.2vw, 20px);
    color: var(--warm-gray);
    line-height: 1.7;
    max-width: 520px;
    margin: 0 auto;
}

.callout-bold {
    font-size: clamp(20px, 2.5vw, 22px) !important;
    color: var(--charcoal) !important;
}

/* === HERO === */
.hero {
    min-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 24px 60px;
}

.hero-logo {
    width: 220px;
    margin-bottom: 48px;
    opacity: 0;
    animation: fadeUp 1s ease 0.2s forwards;
}

.hero h1 {
    opacity: 0;
    animation: fadeUp 1s ease 0.5s forwards;
}

.hero-subtitle {
    font-size: clamp(18px, 2.5vw, 22px);
    color: var(--warm-gray);
    font-weight: 300;
    max-width: 520px;
    line-height: 1.6;
    opacity: 0;
    animation: fadeUp 1s ease 0.7s forwards;
}

.hero-tagline {
    font-size: 14px;
    color: var(--warm-gray);
    letter-spacing: 0.05em;
    margin-top: 60px;
    opacity: 0;
    animation: fadeUp 1s ease 1s forwards;
}

/* === PAGE HERO (smaller, for subpages) === */
.page-hero {
    text-align: center;
    padding: 120px 24px 60px;
}

.page-hero .section-label { margin-bottom: 8px; }

.page-hero h1 {
    font-size: clamp(36px, 6vw, 56px);
    margin-bottom: 16px;
}

.page-hero .sub-label {
    font-size: 16px;
    color: var(--warm-gray);
    letter-spacing: 0.03em;
}

/* === CTA BUTTON === */
.cta-btn {
    display: inline-block;
    background: var(--soft-gold);
    color: var(--white);
    padding: 16px 40px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: background 0.2s;
    margin-top: 24px;
}

.cta-btn:hover { background: var(--charcoal); color: var(--white); }

/* === FOOTER === */
.site-footer {
    text-align: center;
    padding: 40px 24px;
    font-size: 13px;
    color: var(--warm-gray);
    letter-spacing: 0.04em;
    border-top: 1px solid var(--light-gold);
}

/* === ANIMATIONS === */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* === RESPONSIVE === */
@media (max-width: 700px) {
    .nav-links { display: none; }
    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--cream);
        border-bottom: 1px solid var(--light-gold);
        padding: 24px;
        gap: 20px;
    }
    .nav-toggle { display: block; }

    .hero { min-height: 75vh; padding: 80px 20px 48px; }
    .hero-logo { width: 160px; margin-bottom: 32px; }
    .section, .section-wide { padding: 64px 20px; }
    .card { padding: 24px; gap: 16px; }
    .card-num { width: 36px; height: 36px; min-width: 36px; font-size: 16px; }
    .page-hero { padding: 100px 20px 48px; }
}
