:root {
    --primary-color: #2196F3;
    --primary-dark: #1976D2;
    --text-dark: #212529;
    --text-muted: #6c757d;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #dee2e6;
    --shadow: 0 2px 15px rgba(0,0,0,0.08);
    --shadow-hover: 0 5px 25px 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;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    color: var(--text-dark);
}

h3 {
    font-size: 1.5rem;
}

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

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;
}

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

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

.header .navbar-brand:hover {
    color: var(--primary-dark);
}

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

.header .nav-link:hover {
    color: var(--primary-color);
}

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

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

.hero-section {
    padding-top: 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-white) 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('images/hero-nutrition.jpg') center/cover no-repeat;
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 1;
}

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

.hero-section .lead {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.hero-image {
    border-radius: 12px;
    box-shadow: var(--shadow-hover);
    max-height: 450px;
    object-fit: cover;
    width: 100%;
}

.section {
    padding: 80px 0;
}

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

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

.section-title h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
}

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

.card {
    border: none;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    overflow: hidden;
}

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

.card-img-top {
    height: 200px;
    object-fit: cover;
}

.card-body {
    padding: 1.5rem;
}

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

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

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.75rem 2rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
}

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

.info-box {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

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

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

.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%;
}

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

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

.table tbody td {
    padding: 1rem;
    border-color: var(--border-color);
    vertical-align: middle;
}

.table tbody tr:hover {
    background-color: rgba(33, 150, 243, 0.05);
}

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

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

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

.list-styled li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
}

.accordion .card {
    margin-bottom: 1rem;
    border-radius: 12px;
    overflow: hidden;
}

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

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

.accordion .btn-link:hover {
    color: var(--primary-color);
}

.accordion .btn-link::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s ease;
}

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

.accordion .card-body {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-muted);
}

.glossary-item {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: var(--shadow);
}

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

.glossary-item p {
    margin-bottom: 0;
}

.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--bg-white);
    text-align: center;
    padding: 60px 0;
}

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

.cta-section p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
}

.contact-section {
    background: var(--bg-light);
}

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

.contact-form .form-control {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    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(33, 150, 243, 0.15);
}

.contact-info {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow);
    height: 100%;
}

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

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

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

.contact-info-item span {
    color: var(--text-muted);
}

.disclaimer-box {
    background: rgba(33, 150, 243, 0.1);
    border-left: 4px solid var(--primary-color);
    border-radius: 0 12px 12px 0;
    padding: 1.5rem;
    margin: 2rem 0;
}

.disclaimer-box h3 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

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

.footer {
    background: var(--text-dark);
    color: rgba(255,255,255,0.7);
    padding: 60px 0 30px;
}

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

.footer p {
    color: rgba(255,255,255,0.7);
}

.footer a {
    color: rgba(255,255,255,0.7);
    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.75rem;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 3rem;
    padding-top: 2rem;
    text-align: center;
}

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

.footer-disclaimer {
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1.5rem;
    font-size: 0.85rem;
}

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

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

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

.modal-body {
    padding: 2rem;
}

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

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-white);
    box-shadow: 0 -5px 25px rgba(0,0,0,0.15);
    padding: 1.5rem;
    z-index: 9999;
    display: none;
}

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

.cookie-banner h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

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

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-buttons .btn {
    padding: 0.5rem 1.5rem;
}

.success-message {
    display: none;
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    text-align: center;
}

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

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

@media (max-width: 991px) {
    .header .navbar-collapse {
        background: var(--bg-white);
        padding: 1rem;
        margin-top: 0.5rem;
        border-radius: 8px;
        box-shadow: var(--shadow);
    }
    
    .hero-section h1 {
        font-size: 2.25rem;
    }
    
    .content-image-left,
    .content-image-right {
        float: none;
        max-width: 100%;
        margin: 0 0 1.5rem 0;
    }
}

@media (max-width: 767px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    h3 {
        font-size: 1.25rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .hero-section {
        padding-top: 80px;
        min-height: auto;
        padding-bottom: 60px;
    }
    
    .hero-section h1 {
        font-size: 1.875rem;
    }
    
    .card-img-top {
        height: 180px;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
    
    .cookie-buttons .btn {
        width: 100%;
    }
}
