﻿/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-green: #4CAF50;
    --light-green: #81C784;
    --dark-green: #388E3C;
    --primary-yellow: #FFC107;
    --light-yellow: #FFD54F;
    --dark-yellow: #F57C00;
    --text-dark: #212121;
    --text-light: #757575;
    --bg-light: #FAFAFA;
    --white: #FFFFFF;
    --border-color: #E0E0E0;
}

html {
    scroll-behavior: smooth;
}


body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

/* Header Styles */
header {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--light-green) 100%);
    color: var(--white);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--white);
    transition: transform 0.3s, opacity 0.3s;
}

.logo:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.logo::before {
    content: "";
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--white);
    margin: 5px 0;
    transition: 0.3s;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

nav a {
    color: var(--white);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

nav a:hover {
    background-color: rgba(255,255,255,0.2);
}

nav a.active {
    background-color: rgba(255,255,255,0.3);
    font-weight: bold;
}

/* Main Content */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    min-height: calc(100vh - 300px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--light-green) 0%, var(--primary-yellow) 100%);
    padding: 60px 20px;
    text-align: center;
    color: var(--white);
    border-radius: 10px;
    margin-bottom: 40px;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Content Sections */
.content-section {
    background: var(--white);
    padding: 40px;
    margin-bottom: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.content-section h2 {
    color: var(--primary-green);
    margin-bottom: 20px;
    font-size: 2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.content-section h3 {
    color: var(--dark-green);
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.content-section p {
    margin-bottom: 15px;
    color: var(--text-dark);
    line-height: 1.8;
}

.content-section ul, .content-section ol {
    margin-left: 30px;
    margin-bottom: 20px;
}

.content-section li {
    margin-bottom: 10px;
    color: var(--text-dark);
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    border-top: 4px solid var(--primary-green);
}

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

.card h3 {
    color: var(--primary-green);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--primary-green);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Images */
.content-image {
    max-width: 45%;
    height: auto;
    border-radius: 12px;
    margin: 15px 25px 20px 0;
    float: left;
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
    transition: transform 0.3s, box-shadow 0.3s;
    object-fit: cover;
}

.content-image:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.content-image.right {
    float: right;
    margin: 15px 0 20px 25px;
}

.image-container {
    display: flex;
    gap: 30px;
    margin: 30px 0;
    align-items: flex-start;
    flex-wrap: wrap;
}

.image-container img {
    flex: 1;
    min-width: 250px;
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
    transition: transform 0.3s;
}

.image-container img:hover {
    transform: scale(1.02);
}

.image-text-wrapper {
    display: flex;
    gap: 30px;
    margin: 30px 0;
    align-items: center;
    flex-wrap: wrap;
}

.image-text-wrapper img {
    flex: 0 0 300px;
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.image-text-wrapper .text-content {
    flex: 1;
    min-width: 250px;
}

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

img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* Charts/Diagrams */
.chart-container {
    background: var(--white);
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    border: 2px solid var(--border-color);
}

.chart-bar {
    background: linear-gradient(90deg, var(--primary-green), var(--primary-yellow));
    height: auto;
    min-height: 30px;
    margin: 10px 0;
    border-radius: 5px;
    display: flex;
    align-items: center;
    padding: 8px 15px;
    color: var(--white);
    font-weight: bold;
    min-width: 100px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    word-wrap: break-word;
}

.chart-bar-text {
    width: 100%;
    display: block;
}

/* Footer */
footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 40px 20px;
    margin-top: 60px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.footer-section h3 {
    color: var(--primary-yellow);
    margin-bottom: 15px;
}

.footer-section a {
    text-decoration: none;
}

.footer-section a {
    color: var(--white);
    display: block;
    margin-bottom: 10px;
    transition: color 0.3s;
}

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

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

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

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

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.cookie-text {
    flex: 1;
    min-width: 300px;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s;
    font-weight: bold;
}

.btn-primary {
    background: var(--primary-green);
    color: var(--white);
    text-decoration: none;
}

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

.btn-secondary {
    background: var(--primary-yellow);
    color: var(--text-dark);
    text-decoration: none;
}

.btn-secondary:hover {
    background: var(--dark-yellow);
}

.btn-tertiary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    text-decoration: none;
}

.btn-tertiary:hover {
    background: rgba(255,255,255,0.1);
}

/* Forms */
.form-container {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    max-width: 600px;
    margin: 40px auto;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-green);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 5px;
}

.checkbox-group label {
    font-weight: normal;
    margin-bottom: 0;
}

/* News Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.news-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.news-card:hover {
    transform: translateY(-5px);
}

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

.news-card-content {
    padding: 20px;
}

.news-card h3 {
    color: var(--primary-green);
    margin-bottom: 10px;
}

.news-date {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    nav {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--primary-green);
        padding: 20px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.2);
        z-index: 999;
    }

    nav.active {
        display: block;
    }

    nav ul {
        flex-direction: column;
        gap: 10px;
    }

    nav a {
        display: block;
        padding: 15px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .header-container {
        position: relative;
    }

    .content-image {
        max-width: 100%;
        float: none;
        margin: 20px 0;
    }

    .content-image.right {
        float: none;
        margin: 20px 0;
    }

    .image-text-wrapper {
        flex-direction: column;
    }

    .image-text-wrapper img {
        flex: none;
        width: 100%;
        max-width: 100%;
    }

    .image-container {
        flex-direction: column;
    }

    .image-container img {
        min-width: 100%;
    }

    .chart-bar {
        font-size: 0.9rem;
        padding: 10px;
        min-height: auto;
        height: auto;
        line-height: 1.4;
    }

    .chart-bar-text {
        font-size: 0.85rem;
        white-space: normal;
        word-break: break-word;
    }

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

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

    .content-section {
        padding: 20px;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-buttons {
        width: 100%;
        justify-content: center;
        flex-direction: column;
    }

    .btn {
        flex: 1;
        min-width: 150px;
        width: 100%;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.highlight {
    background: linear-gradient(120deg, var(--light-yellow) 0%, var(--light-yellow) 100%);
    padding: 2px 6px;
    border-radius: 3px;
}

/* Push Notification (Manual, not browser API) */
.push-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    min-width: 300px;
    max-width: 90%;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    z-index: 10002;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    overflow: hidden;
}

.push-notification.show {
    opacity: 1;
    transform: translateX(0);
}

.push-notification-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
}

.push-notification-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.push-notification-success {
    border-left: 4px solid var(--primary-green);
}

.push-notification-success .push-notification-icon {
    background: var(--primary-green);
    color: var(--white);
}

.push-notification-error {
    border-left: 4px solid #e74c3c;
}

.push-notification-error .push-notification-icon {
    background: #e74c3c;
    color: white;
}

.push-notification-message {
    flex: 1;
    color: var(--text-dark);
    font-size: 0.95rem;
    line-height: 1.5;
}

.push-notification-close {
    background: transparent;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
    flex-shrink: 0;
}

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

@media (max-width: 768px) {
    .push-notification {
        right: 10px;
        left: 10px;
        min-width: auto;
        max-width: calc(100% - 20px);
    }
}

/* Additional utility classes for replacing inline styles */
.btn-inline {
    display: inline-block;
    width: auto;
    margin-top: 2rem;
}

.btn-contact {
    display: inline-block;
    width: auto;
    margin-top: 1rem;
}

.required-field {
    color: var(--primary-green);
}

.form-hint {
    color: var(--text-secondary);
    display: block;
    margin-top: 0.25rem;
}

.policy-link {
    color: var(--primary-green);
}

.section-spacing {
    margin-top: 3rem;
}

.card-grid-spacing {
    margin-top: 2rem;
}

.content-image-spacing {
    margin-top: 2rem;
}

.contact-link {
    color: var(--primary-green);
}

.info-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 1.5rem;
    margin: 2rem 0;
}

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

.btn-card {
    margin-top: 15px;
    display: inline-block;
}

.chart-title {
    margin-bottom: 20px;
}

.chart-bar-89 {
    width: 89%;
}

.chart-bar-67 {
    width: 67%;
}

.chart-bar-36 {
    width: 36%;
}

.chart-bar-63 {
    width: 63%;
}
