/* Base Styles */
:root {
    --primary-color: #4a6fa5;
    --secondary-color: #e09f3e;
    --accent-color: #9e2a2b;
    --dark-color: #333333;
    --light-color: #f8f9fa;
    --grey-color: #6c757d;
    --light-grey: #e9ecef;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Playfair Display', serif;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

.custom-list {
    padding-left: 1.5rem;
}

.custom-list li {
    position: relative;
    padding-left: 0.5rem;
    margin-bottom: 0.5rem;
}

.custom-list li::before {
    content: "•";
    color: var(--secondary-color);
    font-size: 1.2em;
    position: absolute;
    left: -1rem;
    top: 0;
}

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

.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    text-align: center;
}

.btn:hover {
    background-color: #3a5a80;
    color: white;
    transform: translateY(-2px);
}

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

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

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-container {
    display: flex;
    align-items: center;
}

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

nav ul {
    display: flex;
    gap: 1.5rem;
}

nav ul li a {
    color: var(--dark-color);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

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

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

.spell-check {
    margin-left: 1rem;
}

#spell-check-btn {
    background-color: var(--light-grey);
    color: var(--dark-color);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}

#spell-check-btn:hover {
    background-color: var(--grey-color);
    color: white;
}

/* Hero Section */
.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5rem 5%;
    background-color: #f5f7fa;
}

.hero-content {
    flex: 1;
    padding-right: 2rem;
}

.hero-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.hero h1 {
    font-family: var(--font-secondary);
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    color: var(--grey-color);
    margin-bottom: 2rem;
}

/* Featured Posts */
.featured-posts {
    padding: 5rem 5%;
}

.featured-posts h2 {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    margin-bottom: 2.5rem;
    text-align: center;
    position: relative;
}

.featured-posts h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

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

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

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

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

.post-card h3 {
    font-family: var(--font-secondary);
    padding: 1.5rem 1.5rem 0.5rem;
    font-size: 1.3rem;
}

.post-card p {
    padding: 0 1.5rem 1.5rem;
    color: var(--grey-color);
}

.read-more {
    display: block;
    padding: 0 1.5rem 1.5rem;
    color: var(--primary-color);
    font-weight: 500;
}

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

.newsletter h2 {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

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

.newsletter-form {
    display: flex;
    justify-content: center;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 0.8rem 1rem;
    border: none;
    border-radius: 4px 0 0 4px;
    font-family: var(--font-primary);
}

.newsletter-form .btn {
    border-radius: 0 4px 4px 0;
    background-color: var(--secondary-color);
}

.newsletter-form .btn:hover {
    background-color: #c78c35;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    padding: 0 5% 3rem;
}

.footer-content h3 {
    font-family: var(--font-secondary);
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-content h3::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background-color: var(--secondary-color);
    bottom: -8px;
    left: 0;
}

.footer-content p,
.footer-content a {
    color: #b0b0b0;
    margin-bottom: 0.5rem;
    display: block;
}

.footer-content a:hover {
    color: var(--secondary-color);
}

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

.footer-contact p {
    display: flex;
    align-items: center;
}

.footer-contact p i {
    margin-right: 0.5rem;
    color: var(--secondary-color);
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

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

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

.footer-bottom {
    background-color: #1a1a1a;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-bottom p,
.footer-bottom a {
    color: #b0b0b0;
}

.legal-links {
    display: flex;
    gap: 1.5rem;
}

/* Blog Page */
.blog-header {
    text-align: center;
    padding: 5rem 5% 3rem;
    background-color: #f5f7fa;
}

.blog-header h1 {
    font-family: var(--font-secondary);
    font-size: 3rem;
    margin-bottom: 1rem;
}

.blog-posts {
    padding: 3rem 5%;
}

.post {
    display: flex;
    margin-bottom: 3rem;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.post-image {
    flex: 0 0 300px;
}

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

.post-content {
    flex: 1;
    padding: 2rem;
}

.post-content h2 {
    font-family: var(--font-secondary);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.post-meta {
    display: flex;
    gap: 1.5rem;
    color: var(--grey-color);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

/* About Page */
.about-header {
    text-align: center;
    padding: 5rem 5% 3rem;
    background-color: #f5f7fa;
}

.about-header h1 {
    font-family: var(--font-secondary);
    font-size: 3rem;
    margin-bottom: 1rem;
}

.our-mission {
    display: flex;
    align-items: center;
    padding: 5rem 5%;
    gap: 3rem;
}

.mission-content {
    flex: 1;
}

.mission-content h2 {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.mission-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.our-team {
    padding: 5rem 5%;
    background-color: #f5f7fa;
}

.our-team h2 {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
}

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

.team-member {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

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

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

.team-member h3 {
    font-family: var(--font-secondary);
    margin: 1.5rem 0 0.5rem;
}

.team-member p {
    padding: 0 1.5rem 1.5rem;
    color: var(--grey-color);
}

.our-values {
    padding: 5rem 5%;
}

.our-values h2 {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
}

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

.value-card {
    background-color: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

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

.value-icon {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.value-card h3 {
    font-family: var(--font-secondary);
    margin-bottom: 1rem;
}

.testimonials {
    padding: 5rem 5%;
    background-color: #f5f7fa;
}

.testimonials h2 {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
}

.testimonial-slider {
    display: flex;
    overflow-x: auto;
    gap: 2rem;
    padding-bottom: 2rem;
    scrollbar-width: none;
}

.testimonial-slider::-webkit-scrollbar {
    display: none;
}

.testimonial {
    flex: 0 0 350px;
    background-color: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: var(--box-shadow);
}

.testimonial p {
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

/* Contact Page */
.contact-header {
    text-align: center;
    padding: 5rem 5% 3rem;
    background-color: #f5f7fa;
}

.contact-header h1 {
    font-family: var(--font-secondary);
    font-size: 3rem;
    margin-bottom: 1rem;
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    padding: 5rem 5%;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.info-card {
    background-color: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

.info-card:hover {
    transform: translateY(-10px);
}

.info-icon {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.info-card h3 {
    font-family: var(--font-secondary);
    margin-bottom: 1rem;
}

.contact-form-container {
    flex: 1;
    min-width: 300px;
    background-color: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: var(--box-shadow);
}

.contact-form-container h2 {
    font-family: var(--font-secondary);
    font-size: 2rem;
    margin-bottom: 2rem;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--light-grey);
    border-radius: 4px;
    font-family: var(--font-primary);
}

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

.map-section {
    padding: 3rem 5%;
    text-align: center;
}

.map-section h2 {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

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

.map-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.faq-section {
    padding: 5rem 5%;
    background-color: #f5f7fa;
}

.faq-section h2 {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: white;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--box-shadow);
}

.faq-item h3 {
    font-family: var(--font-secondary);
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Blog Post Page */
.post-page {
    padding: 5rem 5%;
    display: flex;
    gap: 3rem;
}

.blog-post {
    flex: 2;
}

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

.post-header h1 {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.post-featured-image {
    margin-bottom: 2rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.post-content {
    line-height: 1.8;
}

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

.post-content h2 {
    font-family: var(--font-secondary);
    font-size: 2rem;
    margin: 2.5rem 0 1.5rem;
}

.post-content h3 {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
}

.post-content blockquote {
    border-left: 4px solid var(--secondary-color);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
}

.post-content cite {
    display: block;
    text-align: right;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: var(--grey-color);
}

.image-container {
    margin: 2rem 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.caption {
    padding: 1rem;
    background-color: #f5f7fa;
    font-size: 0.9rem;
    color: var(--grey-color);
    text-align: center;
}

.post-tags {
    display: flex;
    gap: 1rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #f5f7fa;
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--grey-color);
    transition: var(--transition);
}

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

.post-navigation {
    display: flex;
    justify-content: space-between;
    margin: 3rem 0;
    padding: 1.5rem 0;
    border-top: 1px solid var(--light-grey);
    border-bottom: 1px solid var(--light-grey);
}

.post-comments {
    margin-top: 3rem;
}

.post-comments h3 {
    font-family: var(--font-secondary);
    font-size: 2rem;
    margin-bottom: 2rem;
}

.comment-form .form-group {
    margin-bottom: 1.5rem;
}

.comment-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--light-grey);
    border-radius: 4px;
    font-family: var(--font-primary);
}

.post-sidebar {
    flex: 1;
}

.author-bio {
    background-color: white;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--box-shadow);
    text-align: center;
}

.author-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    object-fit: cover;
}

.author-bio h3 {
    font-family: var(--font-secondary);
    margin-bottom: 1rem;
}

.related-posts,
.newsletter-sidebar {
    background-color: white;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--box-shadow);
}

.related-posts h3,
.newsletter-sidebar h3 {
    font-family: var(--font-secondary);
    margin-bottom: 1.5rem;
}

.sidebar-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sidebar-form input {
    padding: 0.8rem;
    border: 1px solid var(--light-grey);
    border-radius: 4px;
    font-family: var(--font-primary);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1000px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: none;
}

.cookie-content {
    padding: 2rem;
}

.cookie-content h3 {
    font-family: var(--font-secondary);
    margin-bottom: 1rem;
}

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

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

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

.modal-content {
    background-color: white;
    border-radius: 8px;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    position: relative;
    text-align: center;
}

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

.modal h2 {
    font-family: var(--font-secondary);
    margin-bottom: 1rem;
}

.modal p {
    margin-bottom: 2rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero,
    .our-mission {
        flex-direction: column;
        gap: 3rem;
    }
    
    .hero-content,
    .mission-content {
        padding-right: 0;
    }
    
    .post-page {
        flex-direction: column;
    }
    
    .post {
        flex-direction: column;
    }
    
    .post-image {
        flex: none;
        height: 250px;
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero h1,
    .blog-header h1,
    .about-header h1,
    .contact-header h1 {
        font-size: 2.5rem;
    }
    
    .newsletter-form {
        flex-direction: column;
        gap: 1rem;
    }
    
    .newsletter-form input,
    .newsletter-form .btn {
        border-radius: 4px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .legal-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    nav ul {
        gap: 1rem;
    }
    
    .posts-grid,
    .team-grid,
    .values-grid,
    .contact-info {
        grid-template-columns: 1fr;
    }
}

/* Icons */
.icon-location, .icon-phone, .icon-email {
    font-family: 'Material Icons';
    font-size: 1.2rem;
    margin-right: 0.5rem;
}

.icon-location::before {
    content: '📍';
}

.icon-phone::before {
    content: '📞';
}

.icon-email::before {
    content: '✉️';
}

/* Add Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;700&family=Poppins:wght@300;400;500;600&display=swap');
