/* PureRoot Hydro - Main Stylesheet */

:root {
    /* Primary Colors */
    --forest-green: #2D5016;
    --water-blue: #0A7FB4;
    --cream: #F5F1E8;
    
    /* Accent Colors */
    --leaf-green: #6FBA5E;
    --deep-teal: #1B4D3E;
    --warm-orange: #D97706;
    
    /* Neutrals */
    --charcoal: #2C3E50;
    --light-gray: #E8E8E8;
    
    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', 'Roboto', sans-serif;
    --base-font-size: 16px;
    --line-height: 1.6;
}

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

body {
    font-family: var(--font-body);
    font-size: var(--base-font-size);
    line-height: var(--line-height);
    color: var(--charcoal);
    background-color: var(--cream);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    color: var(--forest-green);
}

h2 {
    font-size: 2rem;
    color: var(--forest-green);
}

h3 {
    font-size: 1.5rem;
    color: var(--deep-teal);
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--water-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--deep-teal);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--leaf-green);
    color: white;
}

.btn-primary:hover {
    background-color: var(--forest-green);
}

.btn-cta {
    background-color: var(--warm-orange);
    color: white;
    font-size: 1.1rem;
    padding: 16px 48px;
}

.btn-cta:hover {
    background-color: #c26203;
}

/* Header / Navbar */
.navbar {
    background-color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--forest-green);
}

.logo-img {
    height: 40px;
    width: auto;
}

.navbar nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.navbar nav a {
    color: var(--charcoal);
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar nav a:hover {
    color: var(--forest-green);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--forest-green) 0%, var(--water-blue) 100%);
    color: white;
    padding: 120px 20px;
    text-align: center;
}

.hero h1 {
    color: white;
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* CTA Section */
.cta-section {
    background-color: var(--forest-green);
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.cta-section h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Blog Preview */
.blog-preview {
    padding: 80px 20px;
    background-color: var(--cream);
}

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

.blog-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

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

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

.blog-card h3 {
    color: var(--forest-green);
    margin-bottom: 0.5rem;
}

.blog-card-meta {
    font-size: 0.9rem;
    color: var(--light-gray);
    margin-bottom: 1rem;
}

.blog-card p {
    color: var(--charcoal);
    margin-bottom: 1rem;
}

.blog-card a {
    color: var(--water-blue);
    font-weight: 600;
}

/* Footer */
footer {
    background-color: var(--forest-green);
    color: white;
    text-align: center;
    padding: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .navbar nav ul {
        gap: 1rem;
        flex-wrap: wrap;
    }

    .hero {
        padding: 60px 20px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }
}
