body {
    font-family: 'Lora', serif; /* Serif for body text */
    color: #333;
    background-color: #E6F0F5; /* Main palette */
    line-height: 1.6;
    padding-top: 56px; /* Adjust for fixed header */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Manrope', sans-serif; /* Sans-serif for headings */
    color: #2c3e50;
    margin-bottom: 1rem;
}

h1 {
    font-weight: 700;
    font-size: 2.5rem;
}

h2 {
    font-weight: 600;
    font-size: 2rem;
}

h3 {
    font-weight: 500;
    font-size: 1.75rem;
}

.navbar {
    background-color: #E6F0F5 !important;
    border-bottom: 1px solid #d0e0e8;
}

.navbar-brand {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    color: #5F9EA0 !important;
    font-size: 1.8rem;
}

.nav-link {
    color: #5F9EA0 !important;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #87CEEB !important;
}

.btn-primary {
    background-color: #87CEEB;
    border-color: #87CEEB;
    border-radius: 0.5rem;
    transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
}

.btn-primary:hover {
    background-color: #5F9EA0;
    border-color: #5F9EA0;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: #A9D4B5;
    border-color: #A9D4B5;
    border-radius: 0.5rem;
    transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
}

.btn-secondary:hover {
    background-color: #5F9EA0;
    border-color: #5F9EA0;
    transform: translateY(-2px);
}

.btn-info {
    background-color: #5F9EA0;
    border-color: #5F9EA0;
    border-radius: 0.5rem;
    transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
}

.btn-info:hover {
    background-color: #87CEEB;
    border-color: #87CEEB;
    transform: translateY(-2px);
}

.footer {
    background-color: #E6F0F5;
    border-top: 1px solid #d0e0e8;
    color: #555;
}

.footer a {
    color: #5F9EA0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #87CEEB;
}

.section-padding {
    padding: 4rem 0;
}

.hero-section {
    position: relative;
    background-size: cover;
    background-position: center;
    color: white;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    padding: 8rem 0;
    min-height: 400px;
    display: flex;
    align-items: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3); /* Overlay for text readability */
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.card {
    border: 1px solid #d0e0e8;
    border-radius: 0.75rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.card-img-top {
    border-top-left-radius: 0.75rem;
    border-top-right-radius: 0.75rem;
    height: 180px; /* Fixed height for blog thumbnails */
    object-fit: cover;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #2c3e50; /* Darker background for contrast */
    color: white;
    padding: 1rem 0;
    z-index: 1050;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
    display: none; /* Hidden by default, shown by JS */
}

.cookie-banner .btn {
    white-space: nowrap;
}

/* Custom CSS-generated icons for sections */
.icon-nutrient::before {
    content: '✨'; /* Example icon, replace with actual CSS-generated shapes */
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
    color: #5F9EA0;
}
.icon-hydration::before {
    content: '💧';
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
    color: #87CEEB;
}
.icon-functional-food::before {
    content: '🌿';
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
    color: #A9D4B5;
}
.icon-myth::before {
    content: '❓';
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
    color: #87CEEB;
}
.icon-faq::before {
    content: '💡';
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
    color: #5F9EA0;
}
.icon-resource::before {
    content: '📚';
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
    color: #A9D4B5;
}

/* Blog card icons (CSS-generated for consistency) */
.blog-card-icon-1::before { content: '🍎'; font-size: 2rem; display: block; margin-bottom: 0.5rem; color: #5F9EA0; }
.blog-card-icon-2::before { content: '🥦'; font-size: 2rem; display: block; margin-bottom: 0.5rem; color: #A9D4B5; }
.blog-card-icon-3::before { content: '💧'; font-size: 2rem; display: block; margin-bottom: 0.5rem; color: #87CEEB; }
.blog-card-icon-4::before { content: '🍇'; font-size: 2rem; display: block; margin-bottom: 0.5rem; color: #5F9EA0; }
.blog-card-icon-5::before { content: '🧠'; font-size: 2rem; display: block; margin-bottom: 0.5rem; color: #A9D4B5; }
.blog-card-icon-6::before { content: '🧘'; font-size: 2rem; display: block; margin-bottom: 0.5rem; color: #87CEEB; }

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .hero-section {
        padding: 6rem 0;
    }
    h1 {
        font-size: 2rem;
    }
    h2 {
        font-size: 1.75rem;
    }
    h3 {
        font-size: 1.5rem;
    }
    .cookie-banner .d-flex {
        flex-direction: column;
        width: 100%;
    }
    .cookie-banner .btn {
        margin-bottom: 0.5rem;
        width: 100%;
    }
    .cookie-banner .btn:last-child {
        margin-bottom: 0;
    }
}
