@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&family=Open+Sans:wght@400;500;600&display=swap');

:root {
    --primary-color: #4CAF50;
    --accent-wheat: #F5DEB3;
    --accent-navy: #192A56;
    --accent-coral: #E27B58;
    --text-dark: #1a1a1a;
    --text-light: #555555;
    --bg-light: #f9f9f9;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
}

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

html, body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1.5rem;
}

h1 {
    font-size: 48px;
    color: var(--text-dark);
}

h2 {
    font-size: 36px;
    color: var(--text-dark);
}

h3 {
    font-size: 28px;
    color: var(--text-dark);
}

p {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

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

a:hover {
    color: var(--accent-coral);
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

nav.navbar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    background-color: var(--bg-white);
}

.navbar-brand {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

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

.navbar-nav {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.navbar-nav a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

main {
    margin-top: 70px;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.1), rgba(242, 222, 179, 0.2));
    background-size: cover;
    background-position: center;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 60px 20px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('images/hero-landscape.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.5;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    color: var(--text-dark);
}

.hero-section h1 {
    font-size: 48px;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.7);
}

/* Container & Spacing */
.container-wide {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 20px;
}

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

/* Cards Layout */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

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

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 1.5rem;
}

/* Two Column Layout */
.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin: 3rem 0;
}

.two-column img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.two-column.reverse {
    direction: rtl;
}

.two-column.reverse > * {
    direction: ltr;
}

/* Buttons & CTA */
.btn-primary {
    background-color: var(--primary-color);
    color: white;
    padding: 12px 32px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary:hover {
    background-color: #45a049;
    box-shadow: 0 6px 16px rgba(76, 175, 80, 0.3);
}

.btn-secondary {
    background-color: var(--accent-navy);
    color: white;
    padding: 12px 32px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-secondary:hover {
    background-color: #0f1d38;
    box-shadow: 0 6px 16px rgba(25, 42, 86, 0.3);
}

/* Lists */
ul, ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

li {
    margin-bottom: 0.8rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* Disclaimer Box */
.disclaimer-box {
    background-color: #f0f4f0;
    border-left: 4px solid var(--primary-color);
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 4px;
}

.disclaimer-box h3 {
    color: var(--accent-navy);
    font-size: 20px;
}

.disclaimer-box p {
    color: var(--text-light);
}

/* Footer */
footer {
    background-color: var(--accent-navy);
    color: white;
    padding: 3rem 20px;
    margin-top: 4rem;
    border-top: 3px solid var(--primary-color);
}

footer .container-wide {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

footer h3 {
    color: white;
    font-size: 20px;
    margin-bottom: 1rem;
}

footer p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    line-height: 1.8;
}

footer a {
    color: var(--accent-wheat);
}

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

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

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

footer .footer-links a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

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

/* Form Styling */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
    font-family: 'Montserrat', sans-serif;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    color: var(--text-dark);
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.form-disclaimer {
    background-color: #fff3cd;
    border: 1px solid #ffc107;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 2rem;
    font-size: 14px;
    color: #856404;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--accent-navy);
    color: white;
    padding: 2rem;
    z-index: 999;
    box-shadow: 0 -2px 16px rgba(0, 0, 0, 0.2);
    display: none;
}

.cookie-banner.show {
    display: block;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

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

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

.cookie-text p {
    margin: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

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

.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
}

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

.cookie-btn-accept:hover {
    background-color: #45a049;
}

.cookie-btn-decline {
    background-color: transparent;
    color: white;
    border: 1px solid white;
}

.cookie-btn-decline:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.cookie-btn-learn {
    background-color: var(--accent-wheat);
    color: var(--accent-navy);
}

.cookie-btn-learn:hover {
    background-color: #f0d89a;
}

/* Table Styling */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background-color: var(--bg-white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

table thead {
    background-color: var(--primary-color);
    color: white;
}

table th,
table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

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

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

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

.faq-question:hover {
    background-color: #e8e8e8;
}

.faq-toggle {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.faq-toggle.open {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 1.5rem;
    display: none;
    color: var(--text-light);
}

.faq-answer.show {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 500px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 36px;
    }

    h2 {
        font-size: 28px;
    }

    h3 {
        font-size: 22px;
    }

    .hero-section {
        min-height: 400px;
        padding: 40px 20px;
    }

    .hero-section h1 {
        font-size: 32px;
    }

    .two-column {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .two-column.reverse {
        direction: ltr;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }

    section {
        padding: 60px 20px;
    }

    .navbar-nav {
        gap: 1rem;
    }

    .navbar-nav a {
        font-size: 12px;
    }

    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .cookie-buttons {
        width: 100%;
        justify-content: flex-start;
    }

    footer .container-wide {
        grid-template-columns: 1fr;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }
}

/* Animation for scroll reveal */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Images responsiveness */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Text balance for better readability */
h1, h2, h3 {
    text-wrap: balance;
}

p {
    text-wrap: pretty;
}
