/* Base Styles & Variables */
:root {
    --primary-color: #6a4c93;
    --secondary-color: #1a936f;
    --accent-color: #ff7b00;
    --light-accent: #ffc857;
    --dark-color: #333333;
    --light-color: #f8f9fa;
    --mid-color: #e9ecef;
    --text-color: #333333;
    --border-radius: 8px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --container-width: 1200px;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Source Sans Pro', Arial, sans-serif;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
    font-size: 16px;
}

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

h2 {
    font-size: 2.5rem;
    font-weight: 700;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.3rem;
}

p {
    margin-bottom: 1.5rem;
}

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

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

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

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

/* Container */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

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

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

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

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

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

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

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

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

nav ul li a.active::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary:hover {
    background-color: #583a7e;
    color: white;
    transform: translateY(-2px);
}

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: var(--primary-color);
    padding: 11px 23px;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid var(--primary-color);
    cursor: pointer;
}

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

/* Hero Section */
.hero {
    background-color: #f3f0f7;
    background-image: linear-gradient(135deg, #f3f0f7 0%, #e6f7f1 100%);
    padding: 100px 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

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

/* Features Section */
.features {
    padding: 80px 0;
    background-color: white;
}

.features h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

.feature-card {
    background-color: var(--light-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    box-shadow: var(--box-shadow);
    text-align: center;
}

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

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

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

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

.feature-card p {
    color: #666;
}

/* Recent Posts Section */
.recent-posts {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.recent-posts h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

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

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

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

.post-content {
    padding: 1.5rem;
}

.post-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

.post-card p {
    color: #666;
    margin-bottom: 1rem;
}

.read-more {
    font-weight: 600;
    color: var(--secondary-color);
    display: inline-block;
}

.read-more:hover {
    color: var(--primary-color);
}

.center-btn {
    text-align: center;
}

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

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

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

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

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

.newsletter-form button {
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    background-color: var(--accent-color);
}

.newsletter-form button:hover {
    background-color: #e56e00;
}

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

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

.footer-about {
    grid-column: span 1;
}

.footer-logo {
    max-width: 120px;
    margin-bottom: 1rem;
}

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

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 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-color);
}

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

.footer-contact svg {
    margin-right: 0.5rem;
}

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

.social-links {
    display: flex;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-left: 1rem;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--accent-color);
    transform: translateY(-3px);
}

/* Blog Posts Page */
.page-header {
    background-color: #f3f0f7;
    padding: 60px 0;
    text-align: center;
}

.page-header h2 {
    margin-bottom: 0.5rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2.5rem;
    margin: 4rem 0;
}

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

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

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

.blog-content {
    padding: 1.75rem;
}

.post-date {
    display: block;
    color: #777;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.blog-card h3 {
    margin-bottom: 1rem;
    transition: var(--transition);
}

.blog-card:hover h3 {
    color: var(--primary-color);
}

.blog-card p {
    margin-bottom: 1.25rem;
}

/* About Us Page */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin: 4rem 0;
}

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

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

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

.mission-card .icon {
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
    display: flex;
    justify-content: center;
}

.mission-card .icon svg {
    width: 48px;
    height: 48px;
}

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

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

.team-member img {
    width: 100%;
    height: auto;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 1rem;
    box-shadow: var(--box-shadow);
}

.team-member h3 {
    margin-bottom: 0.25rem;
}

.team-member p {
    color: #666;
}

.team-member p:first-of-type {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

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

.member-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--light-accent);
    color: var(--dark-color);
    transition: var(--transition);
}

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

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

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

.value-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.value-item h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--accent-color);
    border-radius: 3px;
}

.our-mission, .team, .values {
    padding: 4rem 0;
}

.our-mission h2, .team h2, .values h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.about-story {
    padding: 4rem 0;
    background-color: white;
}

.cta {
    background-color: var(--light-accent);
    padding: 60px 0;
    text-align: center;
}

.cta h2 {
    margin-bottom: 1rem;
    color: var(--dark-color);
}

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

/* Contact Page */
.contact-section {
    padding: 4rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin: 2rem 0;
}

.contact-info h2, .contact-form-container h2 {
    margin-bottom: 1.5rem;
}

.info-items {
    margin: 2rem 0;
}

.info-item {
    display: flex;
    margin-bottom: 1.5rem;
}

.info-icon {
    background-color: rgba(106, 76, 147, 0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: var(--primary-color);
}

.info-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.info-content p {
    margin-bottom: 0;
    color: #666;
}

.social-connect {
    margin-top: 2rem;
}

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

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(106, 76, 147, 0.1);
    color: var(--primary-color);
    transition: var(--transition);
}

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

.contact-form {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

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

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

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

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(106, 76, 147, 0.2);
}

.full-width {
    grid-column: 1 / -1;
}

.map-section {
    padding-bottom: 4rem;
}

.map-section h2 {
    text-align: center;
    margin-bottom: 2rem;
}

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

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

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

.modal-content {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

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

.close-modal:hover {
    color: var(--dark-color);
}

.modal-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.modal-content h2 {
    margin-bottom: 1rem;
}

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

.close-btn {
    margin-top: 1rem;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none;
}

.cookie-content {
    padding: 1.5rem;
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cookie-content p {
    margin-bottom: 1rem;
    text-align: center;
}

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

.btn-cookie {
    padding: 8px 16px;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 600;
    border: none;
    transition: var(--transition);
}

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

.accept:hover {
    background-color: #583a7e;
}

.customize {
    background-color: #f0f0f0;
    color: var(--dark-color);
}

.customize:hover {
    background-color: #e0e0e0;
}

.decline {
    background-color: transparent;
    color: var(--dark-color);
    border: 1px solid #ddd;
}

.decline:hover {
    background-color: #f8f8f8;
}

.cookie-policy-link {
    font-size: 0.9rem;
    color: var(--primary-color);
}

/* Blog Post Page */
.blog-post {
    padding: 4rem 0;
}

.post-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.post-header h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.post-meta {
    color: #777;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

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

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

.post-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.7;
}

.post-intro {
    font-size: 1.25rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.post-content h3 {
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.post-content h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

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

.post-content li {
    margin-bottom: 0.5rem;
}

blockquote {
    border-left: 4px solid var(--primary-color);
    padding: 1rem 1.5rem;
    margin: 2rem 0;
    background-color: rgba(106, 76, 147, 0.05);
    font-style: italic;
}

blockquote cite {
    display: block;
    margin-top: 1rem;
    font-style: normal;
    font-weight: 600;
    color: #666;
}

.example-box {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin: 2rem 0;
}

.example-box p {
    margin-bottom: 0.75rem;
}

.example-box p:last-child {
    margin-bottom: 0;
}

.post-tags {
    margin: 3rem 0 2rem;
}

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

.post-tags a {
    display: inline-block;
    background-color: #f0f0f0;
    color: #666;
    padding: 5px 10px;
    border-radius: 20px;
    margin-right: 0.5rem;
    font-size: 0.85rem;
    transition: var(--transition);
}

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

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

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

.post-share a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #f0f0f0;
    margin-right: 0.75rem;
    color: #555;
    transition: var(--transition);
}

.post-share a:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.post-author-bio {
    display: flex;
    background-color: #f9f9f9;
    padding: 2rem;
    border-radius: var(--border-radius);
    margin-bottom: 3rem;
}

.author-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-right: 2rem;
    object-fit: cover;
}

.author-info h3 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
    margin-bottom: 0.5rem;
}

.author-info h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.author-info p {
    margin-bottom: 0;
}

.related-posts {
    margin-bottom: 3rem;
}

.related-posts h3 {
    margin-bottom: 1.5rem;
}

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

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

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

/* Responsive Styles */
@media (max-width: 992px) {
    .container {
        padding: 0 15px;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .hero h2 {
        font-size: 2.5rem;
    }
    
    .about-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .post-header h2 {
        font-size: 2.4rem;
    }
    
    .post-author-bio {
        flex-direction: column;
        text-align: center;
    }
    
    .author-avatar {
        margin: 0 auto 1.5rem;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }
    
    .logo {
        margin-bottom: 1rem;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 0.5rem;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero h2 {
        font-size: 2.2rem;
    }
    
    .features-grid, .posts-grid, .mission-cards, .values-grid {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input {
        border-radius: var(--border-radius);
        margin-bottom: 1rem;
    }
    
    .newsletter-form button {
        border-radius: var(--border-radius);
        width: 100%;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .social-links {
        margin-top: 1rem;
        justify-content: center;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
    
    .post-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .post-content {
        font-size: 1rem;
    }
    
    .post-intro {
        font-size: 1.15rem;
    }
}
