:root {
    --primary: #2C3E50;
    --secondary: #F8F8F8;
    --accent-teal: #367C7D;
    --accent-ochre: #E9C46A;
    --text-color: #2C3E50;
    --light-bg: #F8F8F8;
}

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

html, body {
    height: 100%;
}

body {
    font-family: 'Open Sans', 'Source Sans Pro', sans-serif;
    background-color: var(--secondary);
    color: var(--text-color);
    line-height: 1.6;
}

.container-lg {
    max-width: 1200px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', 'Lato', sans-serif;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

h1 {
    font-size: 3rem;
    font-weight: 300;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
    color: var(--primary);
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--accent-teal);
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    color: var(--text-color);
}

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

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

.header-fixed {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

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

.navbar-light .navbar-nav .nav-link {
    color: var(--text-color) !important;
    transition: color 0.3s ease;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--accent-teal) !important;
}

.main-content {
    flex: 1;
}

.section-hero {
    padding: 120px 0 80px;
    background-color: var(--secondary);
    position: relative;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

.hero-text {
    flex: 1;
}

.hero-image {
    flex: 1;
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    max-width: 500px;
}

.section-content {
    padding: 100px 0;
    background-color: var(--secondary);
}

.section-content-alt {
    padding: 100px 0;
    background-color: #f0f5f5;
}

.content-block {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-bottom: 80px;
}

.content-block:nth-child(even) {
    flex-direction: row-reverse;
}

.content-text {
    flex: 1;
}

.content-image {
    flex: 1;
}

.content-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.card {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    border: 1px solid #e0e0e0;
}

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

.card h3 {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.card p {
    font-size: 0.95rem;
    line-height: 1.5;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
    border: none;
    font-size: 0.95rem;
}

.btn-primary {
    background-color: var(--accent-ochre);
    color: var(--primary);
    border: 1px solid var(--accent-ochre);
}

.btn-primary:hover {
    background-color: #d4b050;
    border-color: #d4b050;
    color: var(--primary);
    text-decoration: none;
}

.btn-outline-secondary {
    background-color: transparent;
    color: var(--primary);
    border: 1px solid #ddd;
}

.btn-outline-secondary:hover {
    background-color: #f5f5f5;
    border-color: var(--primary);
    text-decoration: none;
}

.btn-link {
    color: var(--accent-teal);
    text-decoration: underline;
}

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

.footer {
    background-color: var(--primary);
    color: white;
    padding: 3rem 0;
    margin-top: 100px;
}

.footer-title {
    color: var(--accent-ochre);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.footer-text {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
}

.footer-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

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

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

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

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

.cookie-banner {
    position: fixed;
    bottom: 0;
    right: 0;
    left: 0;
    background-color: var(--primary);
    padding: 2rem;
    z-index: 999;
    display: none;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}

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

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

.cookie-text {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    flex: 1;
}

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

.cookie-buttons .btn {
    white-space: nowrap;
}

.disclaimer-box {
    background-color: #f9f3e6;
    border-left: 4px solid var(--accent-ochre);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 4px;
}

.disclaimer-box h4 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.disclaimer-box p {
    margin: 0;
    color: var(--text-color);
    font-size: 0.95rem;
}

.section-accent {
    background-color: var(--accent-teal);
    padding: 80px 0;
    color: white;
}

.section-accent h2 {
    color: white;
}

.section-accent p {
    color: rgba(255, 255, 255, 0.95);
}

.section-light {
    background-color: #fafafa;
}

ul, ol {
    margin-bottom: 1rem;
    margin-left: 1.5rem;
}

li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

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

.privacy-content,
.terms-content,
.disclaimer-content,
.cookie-content-page {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.7;
}

.privacy-section,
.terms-section,
.disclaimer-section,
.cookie-section {
    margin-bottom: 3rem;
}

.privacy-section h2,
.terms-section h2,
.disclaimer-section h2,
.cookie-section h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .hero-content,
    .content-block {
        flex-direction: column;
    }

    .hero-image img {
        max-width: 100%;
    }

    .section-hero {
        padding: 60px 0 40px;
    }

    .section-content,
    .section-content-alt {
        padding: 60px 0;
    }

    .content-block {
        margin-bottom: 40px;
    }

    .content-block:nth-child(even) {
        flex-direction: column;
    }

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

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

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

@media (max-width: 480px) {
    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.25rem;
    }

    .section-hero {
        padding: 40px 0 20px;
    }

    .section-content {
        padding: 40px 0;
    }

    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}
