/*
Theme Name:   Your Theme Child
Theme URI:    
Description:  Child theme — Premium Ayurvedic × Rose Gold blend
Author:       Your Name
Template:     generatepress
Version:      3.0.0
*/

/* ============================================================
   GOOGLE FONTS
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Jost:wght@300;400;500;600;700;800&display=swap');

/* ============================================================
   CSS VARIABLES — Rose Gold × Ayurvedic Palette
   ============================================================ */
:root {
    /* Rose Gold tones */
    --rose-gold:       #C9927A;
    --rose-gold-light: #E8C9BC;
    --rose-gold-pale:  #FBF0EB;
    --rose-gold-dark:  #A0644F;

    /* Ayurvedic earth tones */
    --ayur-green:      #6B8C6B;
    --ayur-green-dark: #4A6B4A;
    --ayur-green-pale: #EEF4EE;
    --ayur-gold:       #C8A84B;
    --ayur-gold-pale:  #FBF5E6;
    --ayur-brown:      #7A5C3A;

    /* Neutrals */
    --cream:           #FDF7F2;
    --cream-dark:      #F5EBE0;
    --white:           #FFFFFF;
    --text-dark:       #2B1D14;
    --text-body:       #5A3E30;
    --text-light:      #9B7B67;
    --border-soft:     #EDD9CC;
    --border-lighter:  #F3E6DF;

    /* Gradients */
    --grad-rose:       linear-gradient(135deg, #C9927A 0%, #E8A898 60%, #C9927A 100%);
    --grad-ayur:       linear-gradient(135deg, #4A6B4A 0%, #6B8C6B 100%);
    --grad-hero:       linear-gradient(160deg, #FBF0EB 0%, #FDF5EE 40%, #EEF4EE 100%);
    --grad-card-hover: linear-gradient(180deg, rgba(201,146,122,0.04) 0%, rgba(107,140,107,0.04) 100%);

    /* Typography */
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body:    'Jost', system-ui, sans-serif;

    /* Spacing & Shape */
    --radius-sm:   8px;
    --radius-md:   14px;
    --radius-lg:   22px;
    --radius-xl:   32px;
    --shadow-card: 0 2px 24px rgba(43, 29, 20, 0.07);
    --shadow-hover: 0 8px 40px rgba(43, 29, 20, 0.13);
    --shadow-comparison: 0 12px 60px rgba(201, 146, 122, 0.22), 0 2px 12px rgba(107, 140, 107, 0.12);

    /* Nav */
    --nav-height: 70px;
}

/* ============================================================
   GLOBAL BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

body {
    font-family: var(--font-body);
    background-color: var(--cream);
    color: var(--text-body);
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--rose-gold-dark); text-decoration: none; }
a:hover { color: var(--rose-gold); }

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    color: var(--text-dark);
    font-weight: 500;
    line-height: 1.3;
}

/* ============================================================
   ✦ Navigation styles have been moved to Additional CSS
      WP Admin → Appearance → Customize → Additional CSS
   ============================================================ */


/* ============================================================
   ANTIAGING PAGE — HERO BAND
   ============================================================ */
.antiaging-page-wrap {
    background: var(--cream);
    min-height: 60vh;
}

.antiaging-hero-band {
    background: var(--grad-hero);
    border-bottom: 1px solid var(--border-lighter);
    padding: 60px 24px 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Subtle decorative circles */
.antiaging-hero-band::before,
.antiaging-hero-band::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
.antiaging-hero-band::before {
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(201,146,122,0.12) 0%, transparent 70%);
    top: -80px;
    left: -60px;
}
.antiaging-hero-band::after {
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(107,140,107,0.10) 0%, transparent 70%);
    bottom: -60px;
    right: -40px;
}

.antiaging-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 640px;
    margin: 0 auto;
}

.hero-label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--rose-gold);
    margin-bottom: 16px;
    background: var(--white);
    padding: 6px 20px;
    border-radius: 100px;
    border: 1px solid var(--rose-gold-light);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 6vw, 58px);
    font-weight: 500;
    color: var(--text-dark);
    margin: 0 0 12px;
    letter-spacing: -0.01em;
}

.hero-sub {
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--text-light);
    font-weight: 300;
    letter-spacing: 0.02em;
    margin: 0 0 24px;
}

.hero-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}
.hero-divider span {
    display: block;
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--rose-gold-light), transparent);
}
.hero-divider .hero-leaf {
    width: auto;
    height: auto;
    background: none;
    font-size: 20px;
    color: var(--ayur-green);
    line-height: 1;
}

/* ============================================================
   CONTENT AREA
   ============================================================ */
.antiaging-content-wrap {
    max-width: 820px;
    margin: 0 auto;
    padding: 48px 24px 80px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

/* ── SECTION DIVIDER LABELS ── */
.aa-section-label {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 8px 0 -4px;
}
.label-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-soft), transparent);
}
.label-text {
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--rose-gold);
    white-space: nowrap;
}

/* ── NO POSTS MESSAGE ── */
.aa-no-posts {
    text-align: center;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text-light);
    padding: 28px 0;
    font-style: italic;
}

/* ============================================================
   POST CARD
   ============================================================ */
.aa-post-card {
    background: var(--white);
    border: 1px solid var(--border-lighter);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: box-shadow 0.28s ease, transform 0.28s ease, border-color 0.28s ease;
    display: grid;
    grid-template-columns: 1fr;
}

.aa-post-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
    border-color: var(--rose-gold-light);
}

/* Featured top-2 card */
.aa-post-card.card-featured {
    border-color: var(--border-soft);
    box-shadow: var(--shadow-card);
}
.aa-post-card.card-featured:hover {
    box-shadow: var(--shadow-hover);
    border-color: var(--rose-gold);
}

@media (min-width: 600px) {
    .aa-post-card {
        grid-template-columns: 260px 1fr;
    }
}

/* Thumbnail */
.card-thumbnail-wrap {
    position: relative;
    overflow: hidden;
}
.card-thumbnail-wrap img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}
@media (min-width: 600px) {
    .card-thumbnail-wrap img {
        height: 100%;
        min-height: 190px;
    }
}
.aa-post-card:hover .card-thumbnail-wrap img {
    transform: scale(1.04);
}

/* Shimmer on image hover */
.thumb-shimmer {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0) 40%, rgba(255,255,255,0.12) 50%, rgba(255,255,255,0) 60%);
    background-size: 200% 200%;
    opacity: 0;
    transition: opacity 0.3s;
}
.aa-post-card:hover .thumb-shimmer {
    opacity: 1;
    animation: shimmerSlide 0.8s ease forwards;
}
@keyframes shimmerSlide {
    from { background-position: 200% 0; }
    to   { background-position: -200% 0; }
}

/* Badge */
.card-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    font-family: var(--font-body);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 100px;
}
.badge-new {
    background: var(--rose-gold-dark);
    color: var(--white);
    box-shadow: 0 2px 8px rgba(160,100,79,0.35);
}

/* Card text area */
.card-body {
    padding: 24px 26px 26px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.card-category {
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ayur-green-dark);
    background: var(--ayur-green-pale);
    padding: 4px 12px;
    border-radius: 100px;
    border: 1px solid rgba(107,140,107,0.18);
    align-self: flex-start;
}

.card-date {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 400;
    color: var(--text-light);
    letter-spacing: 0.06em;
}

.card-title {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 500;
    margin: 0;
    line-height: 1.35;
}
.card-title a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.2s;
}
.card-title a:hover {
    color: var(--rose-gold-dark);
}

.card-excerpt {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text-body);
    line-height: 1.75;
    margin: 0;
}

.card-read-more {
    margin-top: auto;
    padding-top: 6px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--rose-gold-dark);
    border-bottom: 1.5px solid var(--rose-gold-light);
    padding-bottom: 2px;
    align-self: flex-start;
    transition: gap 0.2s, color 0.2s, border-color 0.2s;
}
.card-read-more:hover {
    color: var(--rose-gold);
    border-color: var(--rose-gold);
    gap: 10px;
}

/* ============================================================
   INLINE COMPARISON BOX ★
   ============================================================ */
.aa-comparison-inline {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow-comparison);
    border: 1.5px solid var(--rose-gold-light);
    background-image: linear-gradient(160deg, #FFF9F6 0%, #FFFEFB 50%, #F5FAEF 100%);
}

.comparison-glow-ring {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(200,168,75,0.12) 0%, transparent 70%);
    pointer-events: none;
}

.comparison-inner-wrap {
    display: grid;
    grid-template-rows: auto auto auto;
    position: relative;
    z-index: 1;
}

@media (min-width: 640px) {
    .comparison-inner-wrap {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto 1fr;
        grid-template-areas:
            "badge  badge"
            "thumb  text";
    }
    .comparison-badge-row  { grid-area: badge; }
    .comparison-thumb-wrap { grid-area: thumb; }
    .comparison-text-block { grid-area: text;  }
}

.comparison-badge-row {
    padding: 18px 24px 16px;
    border-bottom: 1px solid var(--border-lighter);
    display: flex;
    align-items: center;
}

.comparison-star-badge {
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    background: var(--grad-rose);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.comparison-thumb-wrap {
    position: relative;
    overflow: hidden;
}
.comparison-thumb-wrap img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.aa-comparison-inline:hover .comparison-thumb-wrap img {
    transform: scale(1.03);
}
.comparison-thumb-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(43,29,20,0.18) 100%);
}

.comparison-text-block {
    padding: 28px 30px 30px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    justify-content: center;
}

.comparison-title {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 500;
    margin: 0;
    line-height: 1.3;
}
.comparison-title a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.2s;
}
.comparison-title a:hover {
    color: var(--rose-gold-dark);
}

.comparison-excerpt {
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-body);
    margin: 0;
}

.comparison-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    align-self: flex-start;
    background: var(--grad-rose);
    color: var(--white) !important;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 13px 26px;
    border-radius: 100px;
    text-decoration: none !important;
    transition: opacity 0.22s, transform 0.22s, box-shadow 0.22s;
    box-shadow: 0 4px 18px rgba(201,146,122,0.35);
    margin-top: 6px;
}
.comparison-cta:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(201,146,122,0.45);
}
.cta-arrow {
    transition: transform 0.2s;
}
.comparison-cta:hover .cta-arrow {
    transform: translateX(4px);
}

/* ============================================================
   FOOTER — GeneratePress
   ============================================================ */
.site-footer {
    background: var(--text-dark) !important;
    color: var(--text-light) !important;
    border-top: 3px solid var(--rose-gold);
}
.site-footer a {
    color: var(--rose-gold-light) !important;
}
.site-footer a:hover {
    color: var(--rose-gold) !important;
}

/* ============================================================
   RESPONSIVE — TABLET (601 – 900px)
   ============================================================ */
@media (min-width: 601px) and (max-width: 900px) {
    .antiaging-content-wrap {
        padding: 36px 28px 60px;
    }
    .hero-title { font-size: 40px; }
    .comparison-title { font-size: 22px; }
    .comparison-text-block { padding: 22px 24px 24px; }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤ 600px)
   ============================================================ */
@media (max-width: 600px) {
    :root { --nav-height: 60px; }

    .antiaging-hero-band {
        padding: 44px 18px 36px;
    }
    .hero-sub { font-size: 13px; }

    .antiaging-content-wrap {
        padding: 28px 16px 60px;
        gap: 20px;
    }

    .aa-post-card {
        border-radius: var(--radius-md);
    }
    .card-thumbnail-wrap img { height: 200px; }
    .card-body { padding: 18px 18px 20px; }
    .card-title { font-size: 19px; }

    /* Comparison box — stacked on mobile */
    .comparison-thumb-wrap img { height: 200px; }
    .comparison-text-block { padding: 20px 20px 24px; }
    .comparison-title { font-size: 21px; }
    .comparison-cta { width: 100%; justify-content: center; }

    .aa-comparison-inline {
        border-radius: var(--radius-md);
    }
}
