/*
Theme Name: TKE Health
Theme URI: https://tkehealth.co
Author: Walter Ryder
Description: Custom WordPress theme modeled after XMED International with holistic health branding.
Version: 1.0
*/

/* --------------------------------------------------
   GLOBAL VARIABLES & RESET
-------------------------------------------------- */

:root {
    --primary: #2563eb;
    --text: #1f2937;
    --muted: #6b7280;
    --bg: #f5f7fb;
    --card-bg: #ffffff;
    --radius: 12px;
    --shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
}

body {
    margin: 0;
    font-family: Inter, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.55;
}

/* --------------------------------------------------
   ANIMATION SYSTEM
-------------------------------------------------- */

.animate {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --------------------------------------------------
   HERO SECTION
-------------------------------------------------- */

.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 3rem;
    padding: 6rem 2rem;
    background: var(--bg);
}

.hero-left {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
}

.hero-title span {
    color: var(--primary);
}

.hero-sub {
    font-size: 1.2rem;
    color: var(--muted);
    max-width: 480px;
}

.hero-badges {
    display: flex;
    gap: 0.75rem;
}

.badge {
    background: var(--primary);
    color: #fff;
    padding: 0.4rem 0.9rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    padding: 0.8rem 1.4rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 0.8rem 1.4rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

.hero-right {
    display: flex;
    justify-content: center;
}

.hero-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    max-width: 340px;
}

.hero-card-tag {
    background: var(--primary);
    color: #fff;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* --------------------------------------------------
   FEATURES SECTION
-------------------------------------------------- */

.features {
    padding: 5rem 2rem;
    text-align: center;
}

.features h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.features p {
    max-width: 600px;
    margin: 0 auto;
    color: var(--muted);
}

/* --------------------------------------------------
   PRODUCTS SECTION
-------------------------------------------------- */

.products {
    padding: 5rem 2rem;
}

.products h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
}

.product-card h3 {
    margin-bottom: 0.5rem;
}

.product-card p {
    color: var(--muted);
}

/* --------------------------------------------------
   TESTIMONIALS SECTION
-------------------------------------------------- */

.testimonials {
    padding: 5rem 2rem;
    background: #fff;
}

.testimonials h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.testimonial-card p {
    color: var(--muted);
    margin-bottom: 1rem;
}

.testimonial-author {
    font-weight: 600;
    color: var(--text);
}

/* --------------------------------------------------
   NEWSLETTER SECTION
-------------------------------------------------- */

.newsletter {
    padding: 5rem 2rem;
    text-align: center;
}

.newsletter h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.newsletter p {
    max-width: 600px;
    margin: 0 auto 2rem;
    color: var(--muted);
}

.newsletter input[type="email"] {
    padding: 0.8rem 1rem;
    border-radius: 8px;
    border: 1px solid #ccc;
    width: 280px;
    margin-right: 1rem;
}

.newsletter button {
    background: var(--primary);
    color: #fff;
    padding: 0.8rem 1.4rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

/* --------------------------------------------------
   RESPONSIVE
-------------------------------------------------- */

@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-left {
        align-items: center;
    }

    .hero-right {
        margin-top: 2rem;
    }

    .newsletter input[type="email"] {
        width: 100%;
        margin: 0 0 1rem 0;
    }

    .newsletter button {
        width: 100%;
    }
}
