:root {
    --brand-green-light: #A3B18A;
    --brand-green: #588157;
    --brand-green-dark: #3A5A40;
    --brand-cream: #DAD7CD;
    --brand-brown: #344E41;
    --font-family: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    background-color: var(--brand-cream);
    color: var(--brand-brown);
    line-height: 1.5;
}

.container {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding-right: 1rem;
    padding-left: 1rem;
}

@media (min-width: 640px) { .container { max-width: 640px; } }
@media (min-width: 768px) { .container { max-width: 768px; } }
@media (min-width: 1024px) { .container { max-width: 1024px; } }
@media (min-width: 1280px) { .container { max-width: 1280px; } }

/* Header Styles */
.site-header {
    background-color: rgba(218, 215, 205, 0.8);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 5rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--brand-brown);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-menu {
    display: none;
}

@media (min-width: 768px) {
    .nav-menu {
        display: flex;
        align-items: center;
        gap: 2rem;
    }
}

.nav-link {
    font-size: 1.125rem;
    font-weight: 500;
    text-decoration: none;
    color: var(--brand-brown);
    transition: color 0.2s;
}

.nav-link:hover, .nav-link.active {
    color: var(--brand-green);
}

.header-cta {
    display: none;
}

@media (min-width: 768px) {
    .header-cta {
        display: block;
    }
}

.btn-primary {
    background-color: var(--brand-green);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s, transform 0.2s;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: none;
    cursor: pointer;
    display: inline-block;
}

.btn-primary:hover {
    background-color: var(--brand-green-dark);
    transform: scale(1.05);
}

.mobile-menu-toggle {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--brand-brown);
}

@media (min-width: 768px) {
    .mobile-menu-toggle {
        display: none;
    }
}

/* Hero Section */
.hero {
    padding-top: 3rem;
    text-align: center;
}

.hero-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--brand-green);
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--brand-brown);
    line-height: 1.2;
}

@media (min-width: 640px) { .hero-title { font-size: 3rem; } }
@media (min-width: 768px) { .hero-title { font-size: 3.75rem; } }

.hero-description {
    margin-top: 1.5rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.125rem;
    color: rgba(52, 78, 65, 0.8);
}

@media (min-width: 640px) { .hero-description { font-size: 1.25rem; } }

.hero-cta {
    margin-top: 2rem;
}

.btn-hero {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* Wellness Hub */
.wellness-hub-section {
    margin-top: 4rem;
    scroll-margin-top: 6rem;
}

.hub-layout {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .hub-layout {
        flex-direction: row;
    }
}

.hub-main {
    flex: 2;
}

.hub-sidebar {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Interactive Component */
.interactive-card {
    background-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(4px);
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    overflow: hidden;
}

.tab-list {
    display: flex;
    background-color: rgba(255, 255, 255, 0.3);
}

.tab-button {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem;
    font-weight: 700;
    font-size: 1.125rem;
    border: none;
    border-bottom: 4px solid transparent;
    background: none;
    cursor: pointer;
    transition: all 0.3s;
    color: rgba(52, 78, 65, 0.6);
}

.tab-button.active {
    color: var(--brand-green);
    border-bottom-color: var(--brand-green);
}

.tab-button:hover:not(.active) {
    background-color: rgba(163, 177, 138, 0.2);
}

.tab-panel {
    padding: 1.5rem;
}

@media (min-width: 640px) { .tab-panel { padding: 2rem; } }

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-select, .form-input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--brand-green-light);
    border-radius: 0.5rem;
    font-family: inherit;
    font-size: 1rem;
}

.form-select:focus, .form-input:focus {
    outline: none;
    ring: 2px solid var(--brand-green);
    border-color: var(--brand-green);
}

.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 0.5rem;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

/* Blog Sidebar */
.sidebar-card {
    background-color: rgba(255, 255, 255, 0.5);
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.sidebar-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.blog-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.blog-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.blog-item-img {
    width: 5rem;
    height: 5rem;
    border-radius: 0.5rem;
    object-fit: cover;
    flex-shrink: 0;
}

.blog-item-title {
    font-weight: 600;
    color: var(--brand-brown);
    transition: color 0.2s;
}

.blog-item:hover .blog-item-title {
    color: var(--brand-green);
}

/* Footer */
.site-footer {
    background-color: var(--brand-green-dark);
    color: var(--brand-cream);
    margin-top: 4rem;
    padding: 3rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-title {
    font-size: 1.125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--brand-cream);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.footer-links a:hover {
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.copyright {
    margin-top: 3rem;
    border-top: 1px solid rgba(218, 215, 205, 0.2);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.875rem;
    opacity: 0.8;
}

/* Utility Classes */
.animate-fade-in {
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.hidden { display: none; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.space-x-2 > * + * { margin-left: 0.5rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mb-4 { margin-bottom: 1rem; }
.text-center { text-align: center; }
.w-full { width: 100%; }
