﻿/* Wellumix - Custom Styles */

:root {
    --accent: #00c896;
    --accent-dark: #009e76;
    --funding-bar-h: 40px;
}

/* Funding bar offset */
body {
    padding-top: var(--funding-bar-h, 40px);
}

.wellumix-nav {
    top: var(--funding-bar-h, 40px) !important;
}

/* Hero overlay */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 26, 10, 0.72);
    z-index: 0;
}

.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 6rem 2rem 4rem;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    background: rgba(0, 200, 150, 0.18);
    border: 1px solid rgba(0, 200, 150, 0.4);
    color: #00c896;
    padding: 0.4em 1.2em;
    border-radius: 20px;
    font-size: 0.9em;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.8rem);
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.accent-text {
    color: #00c896;
}

.hero p {
    font-size: 1.15rem;
    max-width: 680px;
    margin: 0 auto 2rem;
    opacity: 0.88;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
}

.hero-stat strong {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: #00c896;
}

.hero-stat span {
    font-size: 0.82rem;
    opacity: 0.75;
}

/* Blog grid */
.blog-preview {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2.5rem;
}

.blog-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 14px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,200,150,0.18);
}

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-card-content {
    padding: 1.5rem;
}

.blog-tag {
    font-size: 0.75rem;
    background: rgba(0,200,150,0.15);
    color: #00c896;
    padding: 0.25em 0.8em;
    border-radius: 12px;
    display: inline-block;
    margin-bottom: 0.75rem;
}

.blog-card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.blog-card h3 a {
    color: inherit;
    text-decoration: none;
}

.blog-card h3 a:hover {
    color: #00c896;
}

.blog-card p {
    font-size: 0.88rem;
    opacity: 0.72;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.blog-date {
    font-size: 0.8rem;
    opacity: 0.55;
}

/* Cookie Banner */
#cookie-banner {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    background: #1a2f1a;
    border: 1px solid rgba(0, 200, 150, 0.3);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    z-index: 9999;
    max-width: 520px;
    width: calc(100% - 2rem);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.cookie-text {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #e8fff0;
}

.cookie-text a {
    color: #00c896;
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 0.75rem;
}

#cookie-accept {
    background: #00c896;
    color: #fff;
    border: none;
    padding: 0.5em 1.5em;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
}

#cookie-decline {
    background: transparent;
    color: #e8fff0;
    border: 1px solid rgba(255,255,255,0.25);
    padding: 0.5em 1.5em;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
}

/* Footer */
.site-footer {
    background: #f0fdf4;
    border-top: 1px solid #d1fae5;
    padding: 4rem 2rem 2rem;
    margin-top: 4rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .footer-container {
        grid-template-columns: 1fr;
    }
}

.footer-brand p {
    margin-top: 1rem;
    font-size: 0.88rem;
    opacity: 0.65;
    line-height: 1.6;
}

.footer-links h4 {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #00c896;
    margin-bottom: 1rem;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    font-size: 0.88rem;
    opacity: 0.7;
    margin-bottom: 0.6rem;
}

.footer-links ul li a {
    color: inherit;
    text-decoration: none;
}

.footer-links ul li a:hover {
    color: #00c896;
    opacity: 1;
}

.footer-bottom {
    max-width: 1200px;
    margin: 3rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.84rem;
    opacity: 0.6;
}

.footer-bottom a {
    color: inherit;
    text-decoration: none;
}

/* Article page styles */
.article-page {
    max-width: 820px;
    margin: 0 auto;
    padding: 2rem;
}

.article-header {
    padding: 3rem 0 2rem;
    text-align: center;
}

.article-meta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
    font-size: 0.88rem;
    opacity: 0.7;
}

.article-hero-img {
    width: 100%;
    max-height: 450px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 3rem;
}

.article-body h2 {
    font-size: 1.6rem;
    margin: 2.5rem 0 1rem;
    color: #00c896;
}

.article-body h3 {
    font-size: 1.25rem;
    margin: 2rem 0 0.75rem;
}

.article-body p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    opacity: 0.88;
}

.article-body ul, .article-body ol {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.article-body li {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 0.5rem;
    opacity: 0.88;
}

/* Legal pages */
.legal-page {
    max-width: 820px;
    margin: 0 auto;
    padding: 2rem;
}

.legal-header {
    padding: 3rem 0 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 2.5rem;
}

.legal-body h2 {
    font-size: 1.4rem;
    margin: 2.5rem 0 1rem;
    color: #00c896;
}

.legal-body p {
    font-size: 0.97rem;
    line-height: 1.8;
    margin-bottom: 1.2rem;
    opacity: 0.85;
}

.legal-body ul {
    padding-left: 1.5rem;
    margin-bottom: 1.2rem;
}

.legal-body li {
    font-size: 0.97rem;
    line-height: 1.7;
    margin-bottom: 0.4rem;
    opacity: 0.85;
}

/* Team page */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    max-width: 1100px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.team-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 16px;
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,200,150,0.15);
}

.team-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    object-position: top;
}

.team-card-info {
    padding: 1.5rem;
}

.team-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.4rem;
}

.team-card .role {
    color: #00c896;
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.team-card p {
    font-size: 0.88rem;
    opacity: 0.7;
    line-height: 1.6;
}

/* Blog listing */
.blog-listing {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.blog-listing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2.5rem;
}

/* Page hero */
.page-hero {
    padding: calc(var(--funding-bar-h, 40px) + 80px) 2rem 4rem;
    text-align: center;
    background: linear-gradient(135deg, #065f46 0%, #059669 100%);
}

.page-hero h1 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.page-hero p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.78;
    line-height: 1.7;
}

/* Contact page standalone */
.contact-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem;
}

.about-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem;
}

.about-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin: 4rem 0;
}

@media (max-width: 768px) {
    .about-section {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.about-section img {
    width: 100%;
    border-radius: 16px;
    object-fit: cover;
    max-height: 400px;
}

.about-section h2 {
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
}

.about-section p {
    opacity: 0.82;
    line-height: 1.75;
    margin-bottom: 1.2rem;
}

/* Value cards */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin: 2.5rem 0;
}

.value-card {
    background: rgba(0,200,150,0.06);
    border: 1px solid rgba(0,200,150,0.2);
    border-radius: 12px;
    padding: 1.5rem;
}

.value-card .icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.value-card h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: #00c896;
}

.value-card p {
    font-size: 0.88rem;
    opacity: 0.72;
    line-height: 1.6;
}

/* Feature tabs fix */
.nav-item { cursor: pointer; }
/* Cookie banner text contrast - dark green background needs white text */
#cookie-banner,
#cookie-banner p {
  color: #ffffff !important;
}
#cookie-banner p:first-child {
  font-weight: 700 !important;
}
#cookie-banner a {
  color: #6ee7b7 !important;
}

/* Background color fix - replace harsh dark green with clean neutral */
body {
    background: #f8faf9 !important;
    color: #1a2e1a !important;
}

/* Sections that should stay dark (hero, CTA) - keep them, others go light */
.hero,
.section-dark,
[style*="background:#0a1a0a"],
[style*="background:#1a2f1a"],
[style*="background: #0a1a0a"],
[style*="background: #1a2f1a"] {
    /* keep as-is */
}

/* Light sections override dark eco-lume backgrounds */
.section,
.section-light,
.features-section,
.team-section,
.blog-section {
    background: #ffffff !important;
    color: #1a2e1a !important;
}

/* Section headings on light bg */
.section h2,
.section h3,
.features-section h2,
.features-section h3 {
    color: #1a2e1a !important;
}

.section p,
.features-section p {
    color: #334155 !important;
}

/* Nav on light background */
.wellumix-nav {
    background: #ffffff !important;
    border-bottom: 1px solid #e5e7eb !important;
}

/* Fix text colors for light background - eco-lume assumes dark bg */
h1, h2, h3, h4, h5, h6 {
    color: #1a2e1a !important;
}

p {
    color: #334155 !important;
}

/* Keep hero text white (hero has dark overlay) */
.hero h1,
.hero h2,
.hero p,
.hero .accent-text,
.hero-content h1,
.hero-content p {
    color: inherit !important;
}

/* Nav links dark on white nav */
.wellumix-nav .nav-link,
.wellumix-nav a {
    color: #1a2e1a !important;
}
.wellumix-nav .nav-link:hover {
    color: #00c896 !important;
}

/* Accent color elements keep their color */
.accent-text,
.hero-badge,
[style*="color: #00c896"],
[style*="color:#00c896"] {
    color: #00c896 !important;
}

/* Tone down neon green - replace with mature wellness green */
:root {
    --accent: #059669 !important;
    --accent-dark: #047857 !important;
    --primary-green: #059669 !important;
    --secondary-green: #065f46 !important;
    --glow-green: rgba(5,150,105,0.15) !important;
    --light-mint: #f0fdf4 !important;
}

/* Override all neon green usages */
.accent-text,
h1, h2, h3, h4, label,
.section-label,
.hero-badge {
    color: #1a2e1a !important;
}

/* Keep accent color for interactive elements only */
a:hover,
.btn-primary,
.cta-btn,
button[type="submit"] {
    background-color: #059669 !important;
    border-color: #047857 !important;
    color: #ffffff !important;
}

/* Form labels - dark not neon */
label,
.form-label {
    color: #1f4e3d !important;
    font-weight: 600;
}

/* Section backgrounds - clean white default */
section:not(.hero):not([style*="background-image"]) {
    background-color: #ffffff !important;
}

/* Funding bar keep green but muted */
#funding-bar {
    background: #059669 !important;
}

/* Logo circle - muted green */
.logo-icon,
.nav-logo,
img[src*="logo"] {
    filter: saturate(0.7) brightness(0.9);
}

/* Hero text - clean white, no neon gradient */
.hero-text h1,
.hero-content h1,
.hero h1 {
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    -webkit-text-fill-color: #ffffff !important;
    color: #ffffff !important;
    animation: none !important;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.hero-text p,
.hero-content p,
.hero p {
    color: rgba(255,255,255,0.92) !important;
    -webkit-text-fill-color: rgba(255,255,255,0.92) !important;
}

/* Hero badge - muted green, not neon */
.hero-badge {
    background: rgba(255,255,255,0.15) !important;
    border-color: rgba(255,255,255,0.35) !important;
    color: #ffffff !important;
}

/* Footer light background - ensure dark text */
.site-footer,
.site-footer p,
.site-footer a,
.site-footer h3,
.site-footer h4,
.site-footer li {
    color: #1a2e1a !important;
}
.site-footer a:hover {
    color: #059669 !important;
}
.site-footer-bottom {
    border-top: 1px solid #d1fae5 !important;
    color: #4b7a5f !important;
}

/* Page hero - green gradient, white text */
.page-hero h1,
.page-hero h2,
.page-hero p,
.page-hero span {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}
.page-hero .hero-badge {
    background: rgba(255,255,255,0.15) !important;
    border-color: rgba(255,255,255,0.35) !important;
    color: #ffffff !important;
}
