/* Base */
:root {
    --primary-color: #3498db;
    --primary-dark: #2980b9;
    --secondary-color: #f1c40f;
    --secondary-dark: #f39c12;
    --text-color: #333;
    --text-light: #777;
    --bg-color: #fff;
    --bg-light: #f9f9f9;
    --bg-dark: #2c3e50;
    --success-color: #2ecc71;
    --error-color: #e74c3c;
    --border-color: #e5e5e5;
    --border-radius: 5px;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --container-width: 1200px;
}

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

body {
    font-family: 'Roboto', Arial, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-color);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

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

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

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

ul {
    list-style-type: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 15px;
    color: var(--text-color);
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 25px;
}

h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

h4 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

p {
    margin-bottom: 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 25px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

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

.btn-secondary {
    background-color: var(--secondary-color);
}

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

.read-more {
    display: inline-block;
    margin-top: 10px;
    font-weight: 600;
    position: relative;
}

.read-more:after {
    content: '→';
    margin-left: 5px;
    transition: var(--transition);
}

.read-more:hover:after {
    margin-left: 10px;
}

/* Header */
header {
    padding: 20px 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: var(--bg-color);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--text-color);
    font-weight: 600;
    font-size: 1.1rem;
    position: relative;
}

nav ul li a:before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

nav ul li a:hover:before,
nav ul li a.active:before {
    width: 100%;
}

/* Hero Section */
.hero {
    background-color: var(--bg-dark);
    color: white;
    padding: 100px 0;
    text-align: center;
    background-image: linear-gradient(rgba(44, 62, 80, 0.8), rgba(44, 62, 80, 0.8)), url('images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    margin-bottom: 50px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: white;
}

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

/* Blog */
.blog {
    padding: 50px 0;
}

.blog h2 {
    text-align: center;
    margin-bottom: 40px;
}

.blog-posts {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.post {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.post:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.post-image {
    height: 200px;
    overflow: hidden;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.post:hover .post-image img {
    transform: scale(1.05);
}

.post-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.post-content h3 {
    margin-bottom: 10px;
}

.post-content .date {
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 10px;
}

.post-content p {
    margin-bottom: 15px;
    flex-grow: 1;
}

/* Page Header */
.page-header {
    background-color: var(--bg-dark);
    color: white;
    padding: 50px 0;
    text-align: center;
    margin-bottom: 50px;
}

.page-header h1 {
    color: white;
    margin-bottom: 0;
}

/* About */
.about-intro, .about-history {
    margin-bottom: 50px;
}

/* Team */
.team {
    padding: 50px 0;
    background-color: var(--bg-light);
}

.team h2 {
    text-align: center;
    margin-bottom: 40px;
}

.team-members {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.team-member {
    text-align: center;
}

.team-member img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 15px;
}

.team-member h3 {
    margin-bottom: 5px;
}

.team-member p:first-of-type {
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 10px;
}

/* Values */
.values {
    padding: 50px 0;
}

.values h2 {
    text-align: center;
    margin-bottom: 40px;
}

.values-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.value {
    text-align: center;
    padding: 30px;
    border-radius: var(--border-radius);
    background-color: var(--bg-light);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.value:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.value-icon {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.value-icon svg {
    width: 50px;
    height: 50px;
}

/* Contact */
.contact {
    padding: 50px 0;
    display: flex;
}

.contact .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-details {
    margin-top: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-icon {
    margin-right: 15px;
    color: var(--primary-color);
}

.contact-text h3 {
    margin-bottom: 5px;
}

.contact-form {
    background-color: var(--bg-light);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

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

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

.submit-btn {
    display: inline-block;
    padding: 12px 25px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

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

/* Map */
.map {
    padding: 50px 0;
}

.map h2 {
    text-align: center;
    margin-bottom: 30px;
}

.map-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* Thank you modal */
.thank-you-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.thank-you-content {
    background-color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    max-width: 500px;
    width: 90%;
    text-align: center;
}

.thank-you-icon {
    margin-bottom: 20px;
}

.thank-you-content button {
    margin-top: 20px;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.thank-you-content button:hover {
    background-color: var(--primary-dark);
}

/* Blog Post */
.blog-post {
    padding: 50px 0;
}

.post-header {
    margin-bottom: 30px;
}

.post-meta {
    display: flex;
    color: var(--text-light);
    margin-bottom: 20px;
}

.post-meta span {
    margin-right: 20px;
}

.post-header .post-image {
    margin-bottom: 30px;
    height: auto;
}

.post-content h2 {
    margin-top: 40px;
}

.post-content h3 {
    margin-top: 30px;
}

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

.post-content li {
    margin-bottom: 10px;
}

.post-navigation {
    display: flex;
    justify-content: space-between;
    margin: 50px 0;
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.post-nav-prev,
.post-nav-next {
    max-width: 48%;
}

.post-nav-prev a,
.post-nav-next a {
    font-weight: 600;
}

.related-posts {
    margin-top: 50px;
}

.related-posts h3 {
    margin-bottom: 30px;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.related-post img {
    height: 150px;
    width: 100%;
    object-fit: cover;
    border-radius: var(--border-radius);
    margin-bottom: 10px;
}

.related-post h4 {
    font-size: 1.1rem;
    line-height: 1.4;
}

/* Quotes */
.quotes {
    padding: 50px 0;
    background-color: var(--bg-light);
}

.quotes h2 {
    text-align: center;
    margin-bottom: 40px;
}

.quote-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.quote {
    background-color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    position: relative;
}

.quote:before {
    content: '"';
    font-size: 5rem;
    color: rgba(0, 0, 0, 0.05);
    position: absolute;
    top: 10px;
    left: 10px;
    line-height: 1;
}

.quote-text p {
    font-style: italic;
    font-size: 1.1rem;
}

.quote-author p {
    text-align: right;
    font-weight: 600;
    margin-bottom: 0;
}

/* Facts */
.facts {
    padding: 50px 0;
}

.facts h2 {
    text-align: center;
    margin-bottom: 40px;
}

.facts-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.fact {
    display: flex;
    align-items: center;
    padding: 20px;
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.fact:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.fact-icon {
    margin-right: 20px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.fact-text p {
    margin-bottom: 0;
    font-size: 1.1rem;
}

/* Footer */
footer {
    background-color: var(--bg-dark);
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-logo img {
    height: 80px;
    width: auto;
}

.footer-links h3,
.footer-contact h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links ul li {
    margin-bottom: 10px;
}

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

.footer-links ul li a:hover {
    color: white;
}

.footer-contact p {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.footer-contact svg {
    margin-right: 10px;
}

.footer-social {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin: 0 10px;
    color: white;
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.footer-info p {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-policy ul {
    display: flex;
    flex-wrap: wrap;
}

.footer-policy ul li {
    margin-left: 20px;
}

.footer-policy ul li a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-policy ul li a:hover {
    color: white;
}

/* Cookie Consent */
.cookie-consent {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    background-color: var(--bg-color);
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 999;
    padding: 20px;
}

.cookie-content {
    display: flex;
    flex-direction: column;
}

.cookie-content p {
    margin-bottom: 15px;
}

.cookie-buttons {
    display: flex;
    justify-content: flex-end;
}

.cookie-buttons button {
    padding: 10px 20px;
    margin-left: 10px;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

#acceptCookies {
    background-color: var(--primary-color);
    color: white;
}

#acceptCookies:hover {
    background-color: var(--primary-dark);
}

#customizeCookies {
    background-color: var(--secondary-color);
    color: var(--text-color);
}

#customizeCookies:hover {
    background-color: var(--secondary-dark);
}

#rejectCookies {
    background-color: var(--bg-light);
    color: var(--text-color);
}

#rejectCookies:hover {
    background-color: var(--border-color);
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.7rem;
    }

    .hero {
        padding: 70px 0;
    }

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

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

    .blog-posts {
        grid-template-columns: 1fr;
    }

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

    .related-posts-grid {
        grid-template-columns: 1fr;
    }

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

    .footer-bottom {
        flex-direction: column;
    }

    .footer-policy ul {
        justify-content: center;
        margin-top: 15px;
    }

    .footer-policy ul li {
        margin: 0 10px;
    }

    .cookie-content {
        flex-direction: column;
    }

    .cookie-buttons {
        margin-top: 15px;
        flex-wrap: wrap;
    }

    .cookie-buttons button {
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    nav ul li {
        margin-left: 15px;
    }

    nav ul li a {
        font-size: 1rem;
    }

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

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