/* DietaInfo - Main Stylesheet */
/* January 2026 */

:root {
    --primary-color: #F39C12;
    --primary-dark: #D68910;
    --primary-light: #F5B041;
    --text-dark: #2C3E50;
    --text-muted: #5D6D7E;
    --bg-light: #F8F9FA;
    --bg-white: #FFFFFF;
    --border-color: #E5E8E8;
    --shadow-soft: 0 2px 15px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 4px 25px rgba(0, 0, 0, 0.12);
}

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

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 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-muted);
}

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

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

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

/* Header */
.site-header {
    background-color: var(--bg-white);
    box-shadow: var(--shadow-soft);
    padding: 1rem 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-brand span {
    color: var(--text-dark);
}

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

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

.navbar-toggler {
    border-color: var(--primary-color);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='%23F39C12' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero Section */
#hero {
    min-height: 100vh;
    background: linear-gradient(rgba(44, 62, 80, 0.6), rgba(44, 62, 80, 0.7)), url('images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 20px 60px;
}

#hero h1 {
    color: var(--bg-white);
    font-size: 3rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

#hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.hero-btn {
    background-color: var(--primary-color);
    color: var(--bg-white);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
}

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

/* Section Styling */
.section {
    padding: 80px 0;
}

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

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

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

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

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

/* Two Column Layout */
.two-col-block {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 3rem;
}

.two-col-block.reverse {
    flex-direction: row-reverse;
}

.two-col-block .col-text {
    flex: 1;
}

.two-col-block .col-image {
    flex: 1;
}

.two-col-block .col-image img {
    border-radius: 10px;
    box-shadow: var(--shadow-medium);
    width: 100%;
    object-fit: cover;
}

/* Content Cards */
.content-card {
    background-color: var(--bg-white);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: var(--shadow-soft);
    margin-bottom: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

/* Info Box */
.info-box {
    background-color: rgba(243, 156, 18, 0.1);
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 10px 10px 0;
}

.info-box p {
    margin-bottom: 0;
    font-style: italic;
}

/* FAQ Section */
.faq-item {
    background-color: var(--bg-white);
    border-radius: 10px;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.faq-question {
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--text-dark);
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: var(--bg-light);
}

.faq-question .icon {
    color: var(--primary-color);
    font-size: 1.25rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question .icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 500px;
}

/* Infographic */
.infographic {
    background-color: var(--bg-white);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: var(--shadow-soft);
}

.infographic-item {
    text-align: center;
    padding: 1.5rem;
}

.infographic-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(243, 156, 18, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
    color: var(--primary-color);
}

.infographic-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.infographic-item p {
    font-size: 0.9rem;
}

/* Contact Form */
.contact-form {
    background-color: var(--bg-white);
    border-radius: 10px;
    padding: 2.5rem;
    box-shadow: var(--shadow-medium);
}

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

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

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

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(243, 156, 18, 0.15);
    outline: none;
}

.btn-submit {
    background-color: var(--primary-color);
    color: var(--bg-white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
}

.btn-submit:hover {
    background-color: var(--primary-dark);
}

.form-success {
    display: none;
    background-color: rgba(39, 174, 96, 0.15);
    border: 1px solid #27AE60;
    color: #27AE60;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    margin-top: 1rem;
}

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

/* Contact Info */
.contact-info {
    padding: 2rem 0;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contact-info-item .icon {
    width: 50px;
    height: 50px;
    background-color: rgba(243, 156, 18, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.contact-info-item .text h3 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.contact-info-item .text p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* Footer */
.site-footer {
    background-color: var(--text-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 60px 0 30px;
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: block;
}

.footer-brand span {
    color: var(--bg-white);
}

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

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

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

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

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

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

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

.policy-links a {
    color: rgba(255, 255, 255, 0.7);
    margin: 0 10px;
    font-size: 0.9rem;
}

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

/* Modal / Popup */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background-color: var(--bg-white);
    border-radius: 10px;
    max-width: 800px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.modal-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background-color: var(--bg-white);
    z-index: 10;
}

.modal-header h2 {
    margin-bottom: 0;
    font-size: 1.5rem;
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-muted);
    line-height: 1;
}

.modal-close:hover {
    color: var(--text-dark);
}

.modal-body {
    padding: 2rem;
}

.modal-body h3 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.modal-body ul {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.modal-body li {
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

/* Cookie Banner */
.cookie-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--text-dark);
    color: var(--bg-white);
    padding: 1.5rem;
    z-index: 3000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
}

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

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cookie-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
}

.cookie-content a {
    color: var(--primary-color);
}

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

.cookie-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

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

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

.cookie-btn-reject {
    background-color: transparent;
    color: var(--bg-white);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.cookie-btn-reject:hover {
    border-color: var(--bg-white);
}

.cookie-btn-settings {
    background-color: transparent;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: underline;
}

/* Disclaimer Box */
.disclaimer-box {
    background-color: rgba(44, 62, 80, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 1.5rem;
    margin: 2rem 0;
}

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

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

/* CTA Section */
#cta {
    background-color: var(--primary-color);
    color: var(--bg-white);
    text-align: center;
}

#cta h2 {
    color: var(--bg-white);
}

#cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 1.5rem;
}

.cta-btn {
    background-color: var(--bg-white);
    color: var(--primary-color);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
}

.cta-btn:hover {
    background-color: var(--text-dark);
    color: var(--bg-white);
}

/* Responsive */
@media (max-width: 991px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    #hero h1 {
        font-size: 2.5rem;
    }
    
    .section {
        padding: 60px 0;
    }
}

@media (max-width: 767px) {
    h1 {
        font-size: 1.75rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.25rem;
    }
    
    #hero {
        min-height: auto;
        padding: 140px 20px 80px;
    }
    
    #hero h1 {
        font-size: 2rem;
    }
    
    #hero p {
        font-size: 1rem;
    }
    
    .two-col-block {
        flex-direction: column;
        gap: 30px;
    }
    
    .two-col-block.reverse {
        flex-direction: column;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .cookie-content {
        text-align: center;
    }
    
    .cookie-buttons {
        justify-content: center;
    }
    
    .infographic-item {
        padding: 1rem;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus States */
a:focus,
button:focus,
input:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .site-header,
    .site-footer,
    .cookie-banner,
    .modal-overlay {
        display: none !important;
    }
    
    #hero {
        min-height: auto;
        padding: 20px;
    }
    
    .section {
        padding: 30px 0;
    }
}
