/* Base Styles */
:root {
    --primary-color: #1a6ca9;
    --secondary-color: #2c3e50;
    --accent-color: #e67e22;
    --background-color: #f9f9f9;
    --text-color: #333;
    --light-text: #666;
    --white: #ffffff;
    --border-color: #ddd;
    --success-color: #27ae60;
    --error-color: #e74c3c;
    --warning-color: #f39c12;
    --dark-blue: #19476c;
    --light-blue: #e8f4fc;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 15px;
}

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

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

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

ul {
    list-style: none;
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
}

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

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

.btn-secondary {
    background-color: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--light-blue);
    color: var(--primary-color);
}

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

.logo {
    display: flex;
    align-items: center;
    padding: 15px 0;
}

.logo img {
    max-height: 60px;
    margin-right: 15px;
}

.logo h1 {
    font-size: 1.5rem;
    margin-bottom: 0;
}

nav ul {
    display: flex;
    justify-content: flex-end;
}

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

nav ul li a {
    color: var(--secondary-color);
    font-weight: 600;
    padding: 10px 0;
    position: relative;
}

nav ul li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

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

nav ul li a.active {
    color: var(--primary-color);
}

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

/* Hero Section */
.hero {
    background: linear-gradient(to right, var(--dark-blue), var(--primary-color));
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.hero h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

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

/* Introduction Section */
.intro {
    padding: 80px 0;
    background-color: var(--white);
}

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

.intro-content {
    display: flex;
    gap: 40px;
    align-items: center;
}

.intro-content img {
    max-width: 45%;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.intro-text {
    flex: 1;
}

/* Posts Section */
.posts {
    padding: 80px 0;
    background-color: var(--background-color);
}

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

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

.post-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.post-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.post-content {
    padding: 20px;
}

.post-content h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
    color: var(--secondary-color);
}

.post-content p {
    color: var(--light-text);
    margin-bottom: 20px;
}

/* Subscribe Section */
.subscribe {
    background-color: var(--light-blue);
    padding: 60px 0;
    text-align: center;
}

.subscribe h2 {
    margin-bottom: 15px;
}

.subscribe p {
    max-width: 700px;
    margin: 0 auto 30px;
}

.subscribe-form {
    max-width: 600px;
    margin: 0 auto;
}

.subscribe-form form {
    display: flex;
    margin-bottom: 20px;
}

.subscribe-form input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid var(--primary-color);
    border-radius: 5px 0 0 5px;
    font-size: 1rem;
}

.subscribe-form button {
    border-radius: 0 5px 5px 0;
    padding: 0 25px;
}

.subscribe-counter {
    font-size: 1.1rem;
    color: var(--secondary-color);
}

.subscribe-counter strong {
    color: var(--primary-color);
    font-size: 1.3rem;
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 60px 0 20px;
}

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

.footer-logo img {
    max-width: 140px;
    margin-bottom: 15px;
}

.footer-logo p,
.footer-nav h3,
.footer-contact h3,
.footer-social h3 {
    color: var(--white);
    margin-bottom: 20px;
}

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

.footer-nav ul li a {
    color: #b3b3b3;
    transition: color 0.3s ease;
}

.footer-nav ul li a:hover {
    color: var(--white);
}

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

.footer-contact svg {
    margin-right: 10px;
    color: var(--accent-color);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--primary-color);
}

.social-icons svg {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #b3b3b3;
}

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

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
}

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

.cookie-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.btn-cookie-accept,
.btn-cookie-settings,
.btn-cookie-decline {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

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

.btn-cookie-settings {
    background-color: var(--warning-color);
    color: var(--white);
}

.btn-cookie-decline {
    background-color: var(--error-color);
    color: var(--white);
}

.cookie-more {
    font-size: 0.9rem;
    text-decoration: underline;
}

/* About Page */
.about-hero,
.contact-hero {
    background: linear-gradient(to right, var(--dark-blue), var(--primary-color));
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.about-hero h2,
.contact-hero h2 {
    color: var(--white);
    margin-bottom: 15px;
}

.about-story {
    padding: 80px 0;
    background-color: var(--white);
}

.about-content {
    display: flex;
    gap: 40px;
    align-items: center;
}

.about-image {
    flex: 0 0 45%;
}

.about-image img {
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.about-text {
    flex: 1;
}

.about-mission {
    padding: 80px 0;
    background-color: var(--light-blue);
    text-align: center;
}

.mission-content h3 {
    margin-bottom: 20px;
}

.mission-content > p {
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 1.2rem;
}

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

.value-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease;
}

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

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

.value-card h4 {
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.about-team {
    padding: 80px 0;
    background-color: var(--background-color);
    text-align: center;
}

.about-team h3 {
    margin-bottom: 40px;
}

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

.team-member {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
}

.team-member img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.team-member h3 {
    margin: 20px 0 5px;
    font-size: 1.3rem;
}

.team-member p {
    padding: 0 20px;
    margin-bottom: 20px;
    color: var(--light-text);
}

.team-member p:first-of-type {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 10px;
}

.about-stats {
    padding: 80px 0;
    background-color: var(--primary-color);
    text-align: center;
    color: var(--white);
}

.about-stats h3 {
    color: var(--white);
    margin-bottom: 40px;
}

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

.stat-item {
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
}

/* Contact Page */
.contact-info {
    padding: 80px 0;
    background-color: var(--white);
}

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

.contact-details h3,
.contact-form h3 {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    margin-bottom: 25px;
}

.contact-icon {
    flex: 0 0 50px;
    height: 50px;
    background-color: var(--light-blue);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
    color: var(--primary-color);
}

.contact-text h4 {
    margin-bottom: 5px;
    font-size: 1.2rem;
}

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

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

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

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

.form-check {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.form-check input {
    margin-right: 10px;
}

.contact-map {
    padding: 80px 0;
    background-color: var(--background-color);
    text-align: center;
}

.contact-map h3 {
    margin-bottom: 30px;
}

.map-container {
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.map-container img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: var(--white);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--light-text);
}

.modal-icon {
    margin-bottom: 20px;
    color: var(--success-color);
}

.modal h3 {
    margin-bottom: 15px;
}

.modal p {
    margin-bottom: 25px;
}

/* Responsive Design */
@media screen and (max-width: 992px) {
    .about-content,
    .intro-content {
        flex-direction: column;
    }
    
    .about-image,
    .intro-content img {
        max-width: 100%;
        margin-bottom: 30px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        margin-top: 40px;
    }
}

@media screen and (max-width: 768px) {
    header .container {
        flex-direction: column;
    }
    
    nav ul {
        justify-content: center;
        margin-top: 15px;
    }
    
    nav ul li:first-child {
        margin-left: 0;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .posts-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    
    .subscribe-form form {
        flex-direction: column;
    }
    
    .subscribe-form input {
        border-radius: 5px;
        margin-bottom: 10px;
    }
    
    .subscribe-form button {
        border-radius: 5px;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
}

@media screen and (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    .logo {
        flex-direction: column;
        text-align: center;
    }
    
    .logo img {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .post-image img {
        height: 180px;
    }
}
