/* Base Styles */
:root {
    --primary-color: #3a86ff;
    --primary-dark: #2667cc;
    --secondary-color: #ff6b6b;
    --accent-color: #4ecdc4;
    --dark-color: #1e293b;
    --light-color: #f8f9fa;
    --text-color: #333;
    --text-light: #6c757d;
    --border-color: #e5e7eb;
    --success-color: #4caf50;
    --warning-color: #ff9800;
    --error-color: #f44336;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-heading: 'Montserrat', sans-serif;
    --transition-speed: 0.3s;
    --border-radius: 8px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-size: 1.6rem;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--light-color);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    margin-bottom: 1rem;
    line-height: 1.3;
    color: var(--dark-color);
    font-weight: 700;
}

h1 {
    font-size: 3.6rem;
}

h2 {
    font-size: 2.8rem;
    margin-top: 3rem;
}

h3 {
    font-size: 2.2rem;
    margin-top: 2rem;
}

p {
    margin-bottom: 1.6rem;
}

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

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

ul, ol {
    margin-bottom: 1.6rem;
    padding-left: 2rem;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Button Styles */
.btn-primary, .btn-secondary, .btn-outline {
    display: inline-block;
    padding: 1.2rem 2.4rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-speed);
    text-decoration: none;
    border: none;
    font-size: 1.6rem;
}

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

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

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

.btn-secondary:hover {
    background-color: #e64a4a;
    color: white;
}

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

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

/* Header Styles */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo img {
    height: 5rem;
    width: auto;
}

nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin-left: 2.5rem;
}

nav ul li a {
    color: var(--dark-color);
    font-weight: 600;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    transition: all var(--transition-speed);
}

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

nav ul li a.active {
    background-color: rgba(58, 134, 255, 0.1);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('images/4.jpg');
    background-size: cover;
    background-position: center;
    padding: 8rem 0;
    color: white;
    text-align: center;
}

.hero h1 {
    font-size: 4.2rem;
    margin-bottom: 2rem;
    color: white;
}

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

/* Featured Posts Section */
.featured-posts {
    padding: 6rem 0;
    background-color: white;
}

.featured-posts h2, .blog-posts h2 {
    text-align: center;
    margin-bottom: 4rem;
}

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

.post-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: transform var(--transition-speed);
}

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

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

.post-content {
    padding: 2rem;
}

.post-content h3 {
    font-size: 2rem;
    margin-top: 0;
    margin-bottom: 1rem;
}

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

.view-all {
    text-align: center;
    margin-top: 4rem;
}

/* Inspiration Block */
.inspiration-block {
    background-color: var(--gray-100);
    padding: 6rem 0;
}

.inspiration-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.quote {
    flex: 1;
    position: relative;
    padding: 3rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.quote svg {
    color: var(--primary-color);
    opacity: 0.2;
    position: absolute;
    top: 2rem;
    left: 2rem;
}

.quote p {
    font-size: 2rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.quote .author {
    display: block;
    text-align: right;
    font-weight: 700;
    color: var(--gray-700);
}

.inspiration-content img {
    flex: 1;
    border-radius: var(--border-radius);
    max-height: 400px;
    object-fit: cover;
}

/* Editor's Note */
.editors-note {
    padding: 6rem 0;
    background-color: white;
}

.editor-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.editor-content img {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
}

.editor-text {
    flex: 1;
}

.editor-text p {
    margin-bottom: 1.5rem;
}

.signature {
    display: block;
    font-style: italic;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 2rem;
}

/* Newsletter Section */
.newsletter {
    background-color: var(--primary-color);
    color: white;
    padding: 6rem 0;
    text-align: center;
}

.newsletter h2 {
    color: white;
    margin-bottom: 1.5rem;
}

.newsletter p {
    max-width: 600px;
    margin: 0 auto 3rem;
    font-size: 1.8rem;
}

.newsletter-form {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 1.2rem 1.5rem;
    border: none;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-size: 1.6rem;
}

.newsletter-form button {
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    background-color: var(--dark-color);
    color: white;
    border: none;
    padding: 0 2rem;
    cursor: pointer;
    transition: background-color var(--transition-speed);
}

.newsletter-form button:hover {
    background-color: var(--gray-800);
}

/* Footer Styles */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 6rem 0 2rem;
}

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

.footer-logo img {
    height: 5rem;
    width: auto;
    margin-bottom: 1.5rem;
}

.footer-logo p {
    color: var(--gray-400);
}

.footer-links h3, .footer-contact h3, .footer-social h3 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

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

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

.footer-links ul li a {
    color: var(--gray-400);
    transition: color var(--transition-speed);
}

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

.footer-contact p {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    color: var(--gray-400);
}

.footer-contact p svg {
    margin-right: 1rem;
    color: var(--primary-color);
}

.social-icons {
    display: flex;
    gap: 1.5rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: background-color var(--transition-speed);
}

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

.social-icons svg {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--gray-500);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--dark-color);
    color: white;
    padding: 2rem;
    z-index: 1000;
    display: none;
}

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

.cookie-content p {
    margin-bottom: 1.5rem;
}

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

.btn-cookie {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: background-color var(--transition-speed);
}

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

.btn-cookie.customize {
    background-color: var(--gray-600);
    color: white;
}

.btn-cookie.reject {
    background-color: transparent;
    border: 1px solid var(--gray-400);
    color: var(--gray-400);
}

.cookie-more {
    color: var(--gray-400);
    text-decoration: underline;
    font-size: 1.4rem;
}

/* Blog Page Styles */
.blog-hero, .contact-hero, .about-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('images/10.jpg');
    background-size: cover;
    background-position: center;
    padding: 6rem 0;
    text-align: center;
    color: white;
}

.blog-hero h1, .contact-hero h1, .about-hero h1 {
    color: white;
    margin-bottom: 1.5rem;
}

.blog-posts {
    padding: 6rem 0;
    background-color: white;
}

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

.post-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--gray-600);
    font-size: 1.4rem;
}

.post-meta .date, .post-meta .category, .post-meta .author {
    display: flex;
    align-items: center;
}

.category-tag {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background-color: var(--gray-200);
    color: var(--gray-700);
    border-radius: 2rem;
    margin-right: 1rem;
    margin-bottom: 1rem;
    transition: all var(--transition-speed);
}

.category-tag:hover {
    background-color: var(--primary-color);
    color: white;
}

.blog-categories {
    background-color: var(--gray-100);
    padding: 4rem 0;
}

.categories-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

/* Contact Page Styles */
.contact-content {
    padding: 6rem 0;
    background-color: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 4rem;
}

.contact-info {
    background-color: var(--gray-100);
    padding: 3rem;
    border-radius: var(--border-radius);
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2.5rem;
}

.info-item svg {
    margin-right: 1.5rem;
    color: var(--primary-color);
}

.info-item h3 {
    margin: 0 0 0.5rem;
    font-size: 1.8rem;
}

.contact-social {
    margin-top: 3rem;
}

.contact-form h2 {
    margin-top: 0;
    margin-bottom: 2.5rem;
}

.form-group {
    margin-bottom: 2rem;
}

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

.form-group input, .form-group textarea {
    width: 100%;
    padding: 1.2rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius);
    font-size: 1.6rem;
    transition: border-color var(--transition-speed);
}

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

.map-section {
    padding: 6rem 0;
    background-color: var(--gray-100);
}

.map-container {
    height: 400px;
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-top: 3rem;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.modal-content {
    background-color: white;
    padding: 3rem;
    border-radius: var(--border-radius);
    max-width: 500px;
    width: 90%;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 2.4rem;
    cursor: pointer;
    color: var(--gray-600);
}

.thank-you-message {
    text-align: center;
}

.thank-you-message svg {
    color: var(--success-color);
    margin-bottom: 2rem;
}

.thank-you-message h2 {
    margin-bottom: 1.5rem;
}

.thank-you-message p {
    margin-bottom: 2.5rem;
}

/* About Page Styles */
.about-mission {
    padding: 6rem 0;
    background-color: white;
}

.mission-content {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.mission-text {
    flex: 3;
}

.mission-image {
    flex: 2;
}

.mission-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.team-section {
    padding: 6rem 0;
    background-color: var(--gray-100);
}

.team-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
    font-size: 1.8rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 3rem;
}

.team-member {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    text-align: center;
    padding-bottom: 2rem;
}

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

.team-member h3 {
    margin: 1.5rem 0 0.5rem;
    font-size: 1.8rem;
}

.team-member p {
    color: var(--gray-600);
    padding: 0 1.5rem;
    margin-bottom: 1rem;
}

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

.member-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.member-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    background-color: var(--gray-100);
    border-radius: 50%;
    transition: background-color var(--transition-speed);
}

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

.member-social a:hover svg {
    color: white;
}

.member-social svg {
    color: var(--gray-700);
    transition: color var(--transition-speed);
}

.values-section {
    padding: 6rem 0;
    background-color: white;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.value-card {
    background-color: var(--gray-100);
    padding: 3rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: transform var(--transition-speed);
}

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

.value-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.value-card h3 {
    margin-bottom: 1.5rem;
}

.stats-section {
    padding: 6rem 0;
    background-color: var(--primary-color);
    color: white;
}

.stats-section h2 {
    color: white;
    text-align: center;
    margin-bottom: 4rem;
}

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

.stat-card {
    text-align: center;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 3rem;
    border-radius: var(--border-radius);
}

.stat-number {
    font-size: 4rem;
    font-weight: 700;
    display: block;
    margin-bottom: 1rem;
}

.cta-section {
    padding: 6rem 0;
    background-color: var(--gray-100);
    text-align: center;
}

.cta-section h2 {
    margin-bottom: 1.5rem;
}

.cta-section p {
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.8rem;
}

/* Single Post Styles */
.single-post {
    padding: 6rem 0;
    background-color: white;
}

.single-post .container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
}

.post-header {
    margin-bottom: 3rem;
}

.post-featured-image {
    margin-bottom: 3rem;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.post-featured-image img {
    width: 100%;
}

.post-content {
    margin-bottom: 3rem;
}

.post-content h2 {
    margin-top: 4rem;
}

.post-content h3 {
    margin-top: 3rem;
}

.post-content ul, .post-content ol {
    margin-left: 2rem;
}

.post-content img {
    margin: 3rem 0;
    border-radius: var(--border-radius);
}

.post-tags {
    margin: 3rem 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.post-tags span {
    margin-right: 1rem;
    font-weight: 600;
}

.post-tags a {
    display: inline-block;
    margin: 0.5rem;
    padding: 0.5rem 1.5rem;
    background-color: var(--gray-200);
    color: var(--gray-700);
    border-radius: 2rem;
    font-size: 1.4rem;
    transition: all var(--transition-speed);
}

.post-tags a:hover {
    background-color: var(--primary-color);
    color: white;
}

.post-share {
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
}

.post-share span {
    margin-right: 1.5rem;
    font-weight: 600;
}

.post-share a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    background-color: var(--gray-200);
    border-radius: 50%;
    margin-right: 1rem;
    transition: background-color var(--transition-speed);
}

.post-share a:hover {
    background-color: var(--primary-color);
}

.post-share a:hover svg {
    color: white;
}

.post-share svg {
    color: var(--gray-700);
    transition: color var(--transition-speed);
}

.post-author {
    display: flex;
    align-items: center;
    background-color: var(--gray-100);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin-bottom: 3rem;
}

.post-author img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-right: 2rem;
}

.author-info h3 {
    margin: 0 0 1rem;
}

.author-info p {
    margin: 0;
    color: var(--gray-600);
}

.post-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid var(--gray-300);
}

.nav-previous, .nav-next {
    max-width: 45%;
}

.nav-next {
    text-align: right;
}

.post-navigation a {
    color: var(--text-color);
}

.post-navigation span {
    display: block;
    color: var(--gray-600);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.post-navigation h4 {
    margin: 0;
    font-size: 1.6rem;
    color: var(--primary-color);
}

.post-sidebar {
    position: sticky;
    top: 10rem;
    align-self: start;
}

.sidebar-widget {
    margin-bottom: 4rem;
    background-color: var(--gray-100);
    padding: 2.5rem;
    border-radius: var(--border-radius);
}

.sidebar-widget h3 {
    margin-top: 0;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.related-posts {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.related-post {
    display: flex;
    align-items: center;
}

.related-post img {
    width: 80px;
    height: 80px;
    border-radius: var(--border-radius);
    object-fit: cover;
    margin-right: 1.5rem;
}

.related-post h4 {
    margin: 0 0 0.5rem;
    font-size: 1.6rem;
}

.related-post span {
    color: var(--gray-600);
    font-size: 1.3rem;
}

.category-list {
    list-style: none;
    padding: 0;
}

.category-list li {
    margin-bottom: 1rem;
}

.category-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background-color: white;
    border-radius: var(--border-radius);
    color: var(--text-color);
    transition: all var(--transition-speed);
}

.category-list a:hover {
    background-color: var(--primary-color);
    color: white;
}

.sidebar-newsletter {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-newsletter input {
    padding: 1.2rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius);
}

/* Responsive Styles */
@media (max-width: 992px) {
    html {
        font-size: 58%;
    }
    
    .mission-content, .editor-content, .inspiration-content {
        flex-direction: column;
    }
    
    .single-post .container {
        grid-template-columns: 1fr;
    }
    
    .post-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 3.2rem;
    }
    
    h2 {
        font-size: 2.4rem;
    }
    
    .posts-grid, .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .post-navigation {
        flex-direction: column;
        gap: 2rem;
    }
    
    .nav-previous, .nav-next {
        max-width: 100%;
    }
    
    .nav-next {
        text-align: left;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input {
        border-radius: var(--border-radius);
        margin-bottom: 1rem;
    }
    
    .newsletter-form button {
        border-radius: var(--border-radius);
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    header .container {
        flex-direction: column;
        padding: 1.5rem;
    }
    
    nav ul {
        margin-top: 1.5rem;
    }
    
    nav ul li {
        margin-left: 1rem;
        margin-right: 1rem;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero p {
        font-size: 1.8rem;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
}
