:root {
    --primary-color: #009688;
    --primary-dark: #00796b;
    --primary-light: #b2dfdb;
    --text-dark: #212121;
    --text-medium: #555555;
    --text-light: #757575;
    --bg-white: #ffffff;
    --bg-light: #f5f5f5;
    --bg-section: #fafafa;
    --border-color: #e0e0e0;
    --shadow-light: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-medium: 0 4px 16px rgba(0,0,0,0.12);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

h1, h2, h3 {
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-dark);
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.25rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-medium);
}

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

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
}

.navbar {
    background-color: var(--bg-white);
    box-shadow: var(--shadow-light);
    padding: 0.75rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link {
    color: var(--text-medium) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.section {
    padding: 5rem 0;
}

.section-alt {
    background-color: var(--bg-section);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    color: var(--text-dark);
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

.hero {
    padding-top: 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(255,255,255,0.9), rgba(255,255,255,0.85)), url("../images/hero-nutrition.jpg");
    background-size: cover;
    background-position: center;
}

.hero-content h1 {
    font-size: 2.75rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.125rem;
    color: var(--text-medium);
    margin-bottom: 2rem;
}

.hero-image img {
    border-radius: 8px;
    box-shadow: var(--shadow-medium);
    max-height: 400px;
    object-fit: cover;
    width: 100%;
}

.btn-primary-custom {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--bg-white);
    padding: 0.75rem 2rem;
    font-weight: 500;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--bg-white);
}

.card-custom {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: var(--shadow-light);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    height: 100%;
}

.card-custom:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-4px);
}

.card-custom img {
    border-radius: 8px 8px 0 0;
    height: 200px;
    object-fit: cover;
    width: 100%;
}

.card-custom .card-body {
    padding: 1.5rem;
}

.card-custom .card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.card-custom .card-text {
    color: var(--text-medium);
    font-size: 0.95rem;
}

.content-block {
    margin-bottom: 2rem;
}

.content-image {
    border-radius: 8px;
    box-shadow: var(--shadow-light);
    margin-bottom: 1.5rem;
    max-height: 300px;
    object-fit: cover;
    width: 100%;
}

.content-image-left {
    float: none;
    margin-right: 0;
    margin-bottom: 1.5rem;
}

.content-image-right {
    float: none;
    margin-left: 0;
    margin-bottom: 1.5rem;
}

.table-custom {
    background-color: var(--bg-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
}

.table-custom thead th {
    background-color: var(--primary-color);
    color: var(--bg-white);
    font-weight: 600;
    border: none;
    padding: 1rem;
}

.table-custom tbody td {
    padding: 1rem;
    border-color: var(--border-color);
    color: var(--text-medium);
}

.table-custom tbody tr:hover {
    background-color: var(--bg-light);
}

.list-custom {
    list-style: none;
    padding: 0;
}

.list-custom li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-medium);
    border-bottom: 1px solid var(--border-color);
}

.list-custom li:last-child {
    border-bottom: none;
}

.list-custom li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1.1rem;
    width: 8px;
    height: 8px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

.accordion-custom .card {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.accordion-custom .card-header {
    background-color: var(--bg-white);
    border: none;
    padding: 0;
}

.accordion-custom .btn-link {
    width: 100%;
    text-align: left;
    padding: 1.25rem;
    color: var(--text-dark);
    font-weight: 600;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-custom .btn-link:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.accordion-custom .btn-link::after {
    content: "+";
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--primary-color);
}

.accordion-custom .btn-link[aria-expanded="true"]::after {
    content: "-";
}

.accordion-custom .card-body {
    padding: 1.25rem;
    color: var(--text-medium);
    border-top: 1px solid var(--border-color);
}

.glossary-item {
    padding: 1.5rem;
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 1rem;
}

.glossary-item h3 {
    font-size: 1.125rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.glossary-item p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.cta-section {
    background-color: var(--primary-light);
    padding: 4rem 0;
    text-align: center;
}

.cta-section h2 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.cta-section p {
    color: var(--text-medium);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-form {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow-light);
}

.contact-form .form-control {
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 150, 136, 0.15);
}

.contact-form label {
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.contact-info {
    padding: 2rem;
}

.contact-info h3 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.contact-info p {
    margin-bottom: 1rem;
    color: var(--text-medium);
}

.contact-info-item {
    margin-bottom: 1.25rem;
}

.contact-info-item strong {
    color: var(--text-dark);
    display: block;
    margin-bottom: 0.25rem;
}

.footer {
    background-color: #263238;
    color: #b0bec5;
    padding: 3rem 0 1.5rem;
}

.footer h3 {
    color: var(--bg-white);
    font-size: 1.125rem;
    margin-bottom: 1.25rem;
}

.footer p {
    color: #b0bec5;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.footer a {
    color: #b0bec5;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--primary-color);
}

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

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

.footer-links a {
    font-size: 0.9rem;
}

.footer-bottom {
    border-top: 1px solid #37474f;
    padding-top: 1.5rem;
    margin-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.disclaimer-box {
    background-color: var(--bg-light);
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 8px 8px 0;
}

.disclaimer-box h3 {
    font-size: 1.125rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.disclaimer-box p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

.modal-content {
    border-radius: 8px;
    border: none;
}

.modal-header {
    background-color: var(--primary-color);
    color: var(--bg-white);
    border-radius: 8px 8px 0 0;
}

.modal-header .close {
    color: var(--bg-white);
    opacity: 1;
}

.modal-body {
    padding: 2rem;
    max-height: 70vh;
    overflow-y: auto;
}

.modal-body h3 {
    font-size: 1.25rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.modal-body h3:first-child {
    margin-top: 0;
}

.modal-body p, .modal-body li {
    font-size: 0.95rem;
    color: var(--text-medium);
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #263238;
    color: var(--bg-white);
    padding: 1.5rem;
    z-index: 9999;
    box-shadow: 0 -4px 16px rgba(0,0,0,0.2);
    display: none;
}

.cookie-banner.show {
    display: block;
}

.cookie-banner h3 {
    font-size: 1.125rem;
    color: var(--bg-white);
    margin-bottom: 0.75rem;
}

.cookie-banner p {
    font-size: 0.9rem;
    color: #b0bec5;
    margin-bottom: 1rem;
}

.cookie-banner .btn {
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.btn-accept {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--bg-white);
}

.btn-accept:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--bg-white);
}

.btn-decline {
    background-color: transparent;
    border-color: #b0bec5;
    color: #b0bec5;
}

.btn-decline:hover {
    background-color: #37474f;
    border-color: #37474f;
    color: var(--bg-white);
}

.success-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--bg-white);
    padding: 2rem 3rem;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    z-index: 10000;
    text-align: center;
    display: none;
}

.success-popup.show {
    display: block;
}

.success-popup h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.success-popup p {
    color: var(--text-medium);
    margin-bottom: 1.5rem;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5);
    z-index: 9998;
    display: none;
}

.overlay.show {
    display: block;
}

@media (min-width: 768px) {
    .content-image-left {
        float: left;
        margin-right: 2rem;
        margin-bottom: 1rem;
        max-width: 45%;
    }

    .content-image-right {
        float: right;
        margin-left: 2rem;
        margin-bottom: 1rem;
        max-width: 45%;
    }

    h1 {
        font-size: 3rem;
    }

    .hero-content h1 {
        font-size: 3.25rem;
    }
}

@media (max-width: 767px) {
    .hero {
        padding-top: 80px;
        min-height: auto;
        padding-bottom: 3rem;
    }

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

    .section {
        padding: 3rem 0;
    }

    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    .navbar-nav {
        padding-top: 1rem;
    }

    .navbar-nav .nav-link {
        padding: 0.75rem 0 !important;
        border-bottom: 1px solid var(--border-color);
    }

    .card-custom img {
        height: 180px;
    }

    .contact-info {
        padding: 2rem 0;
    }
}

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}
