/* Base Styles and Typography */
:root {
    --primary-color: #4a6d8c;
    --secondary-color: #d9a566;
    --accent-color: #c25b56;
    --light-color: #f5f5f5;
    --dark-color: #333333;
    --text-color: #444444;
    --gray-light: #e0e0e0;
    --gray-medium: #a0a0a0;
    --gray-dark: #666666;
    --success-color: #4CAF50;
    --warning-color: #FF9800;
    --error-color: #F44336;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --border-radius: 6px;
    --container-max-width: 1200px;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Source Sans Pro', Arial, sans-serif;
}

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

html {
    font-size: 62.5%; /* 10px = 1rem */
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
}

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

h1 {
    font-size: 4.2rem;
}

h2 {
    font-size: 3.2rem;
}

h3 {
    font-size: 2.4rem;
}

p {
    margin-bottom: 1.5rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    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: 2rem;
}

/* Container and Layout */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 6rem 0;
}

/* Header and Navigation */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: #fff;
    box-shadow: var(--box-shadow);
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

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

nav li {
    margin-left: 3rem;
}

nav a {
    font-size: 1.8rem;
    font-weight: 600;
    padding: 0.5rem 0;
    position: relative;
}

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

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

nav a.active {
    color: var(--secondary-color);
}

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

.btn:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

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

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

.btn-submit {
    width: 100%;
    padding: 1.5rem;
    font-size: 1.8rem;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    padding: 8rem 4rem;
    background-color: var(--light-color);
}

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

.hero-content h1 {
    font-size: 5rem;
    margin-bottom: 2rem;
    color: var(--dark-color);
}

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

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

/* Featured Posts Section */
.featured-posts {
    padding: 8rem 4rem;
    background-color: #fff;
}

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

.post-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 4rem;
}

.post-card {
    background-color: #fff;
    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 16px rgba(0, 0, 0, 0.15);
}

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

.post-content {
    padding: 2rem;
}

.post-content h3 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

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

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

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

.read-more:hover::after {
    margin-left: 1rem;
}

.view-all {
    text-align: center;
}

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

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

.newsletter p {
    font-size: 1.8rem;
    margin-bottom: 3rem;
    max-width: 60rem;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form {
    display: flex;
    max-width: 60rem;
    margin: 0 auto;
}

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

.newsletter-form .btn {
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

/* Blog Page Styles */
.blog-header {
    text-align: center;
    padding: 6rem 4rem 4rem;
    background-color: var(--light-color);
}

.blog-header h1 {
    margin-bottom: 1.5rem;
}

.blog-header p {
    font-size: 1.8rem;
    max-width: 70rem;
    margin-left: auto;
    margin-right: auto;
}

.blog-posts {
    padding: 6rem 4rem;
}

.blog-post {
    display: flex;
    margin-bottom: 6rem;
    background-color: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.post-image {
    flex: 0 0 40%;
}

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

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

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

.post-meta span {
    margin-right: 2rem;
}

.post-overview {
    background-color: var(--light-color);
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: var(--border-radius);
}

.post-overview h3 {
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.post-overview ul {
    margin-bottom: 0;
}

/* Single Post Styles */
.post-single {
    max-width: 85rem;
    margin: 0 auto;
    padding: 6rem 2rem;
}

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

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

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

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

.post-content p {
    margin-bottom: 2rem;
    font-size: 1.8rem;
    line-height: 1.8;
}

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

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

.post-footer {
    margin-top: 6rem;
    padding-top: 3rem;
    border-top: 1px solid var(--gray-light);
}

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

.tag-label {
    font-weight: 600;
    margin-right: 1rem;
}

.tag {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background-color: var(--light-color);
    border-radius: 3rem;
    margin-right: 1rem;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.tag:hover {
    background-color: var(--gray-light);
}

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

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

.share-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background-color: var(--light-color);
    margin-right: 1rem;
    color: var(--gray-dark);
}

.share-icon:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Related Posts */
.related-posts {
    margin-top: 6rem;
    padding-top: 4rem;
    border-top: 1px solid var(--gray-light);
}

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

.related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.related-post {
    display: flex;
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.related-post img {
    width: 12rem;
    height: 12rem;
    object-fit: cover;
}

.related-content {
    padding: 1.5rem;
    flex: 1;
}

.related-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.related-content p {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

/* Comments Section */
.comments-section {
    margin-top: 6rem;
    padding-top: 4rem;
    border-top: 1px solid var(--gray-light);
}

.comments-section h2 {
    margin-bottom: 3rem;
}

.comment-form {
    background-color: var(--light-color);
    padding: 3rem;
    border-radius: var(--border-radius);
    margin-bottom: 4rem;
}

.comment-form h3 {
    margin-bottom: 2rem;
}

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

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

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

.form-group textarea {
    resize: vertical;
}

.form-checkbox {
    display: flex;
    align-items: center;
}

.form-checkbox input {
    width: auto;
    margin-right: 1rem;
}

.form-checkbox label {
    margin-bottom: 0;
    font-weight: normal;
}

.comment {
    background-color: #fff;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-bottom: 2rem;
}

.comment-author {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.comment-author img {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    margin-right: 1.5rem;
}

.author-info h4 {
    margin-bottom: 0.3rem;
}

.comment-date {
    font-size: 1.4rem;
    color: var(--gray-medium);
}

.comment-content {
    margin-bottom: 1.5rem;
}

.reply-link {
    font-weight: 600;
    font-size: 1.4rem;
}

/* About Page Styles */
.about-header {
    display: flex;
    align-items: center;
    padding: 8rem 4rem;
    background-color: var(--light-color);
}

.about-content {
    flex: 1;
    padding-right: 6rem;
}

.about-content h1 {
    margin-bottom: 2rem;
}

.about-content p {
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

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

.our-story {
    padding: 8rem 4rem;
    max-width: 80rem;
    margin: 0 auto;
}

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

.our-story p {
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.team-section {
    padding: 8rem 4rem;
    background-color: var(--light-color);
}

.team-section h2 {
    text-align: center;
    margin-bottom: 4rem;
}

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

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

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

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

.team-member h3 {
    margin: 2rem 2rem 0.5rem;
}

.team-member p {
    padding: 0 2rem;
    margin-bottom: 1.5rem;
}

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

.social-links {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.6rem;
    height: 3.6rem;
    border-radius: 50%;
    background-color: var(--light-color);
    margin: 0 0.5rem;
    color: var(--gray-dark);
}

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

.values {
    padding: 8rem 4rem;
}

.values h2 {
    text-align: center;
    margin-bottom: 4rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
}

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

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

.value-icon {
    margin-bottom: 2rem;
    color: var(--primary-color);
}

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

.cta-section {
    background-color: var(--primary-color);
    color: white;
    padding: 8rem 4rem;
    text-align: center;
}

.cta-content h2 {
    color: white;
    margin-bottom: 2rem;
}

.cta-content p {
    font-size: 1.8rem;
    margin-bottom: 3rem;
    max-width: 70rem;
    margin-left: auto;
    margin-right: auto;
}

/* Contact Page Styles */
.contact-header {
    text-align: center;
    padding: 6rem 4rem;
    background-color: var(--light-color);
}

.contact-header h1 {
    margin-bottom: 2rem;
}

.contact-header p {
    font-size: 1.8rem;
    max-width: 70rem;
    margin-left: auto;
    margin-right: auto;
}

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

.contact-info {
    display: grid;
    gap: 2rem;
}

.info-card {
    display: flex;
    background-color: var(--light-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.info-card:hover {
    box-shadow: var(--box-shadow);
}

.info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 5rem;
    height: 5rem;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    margin-right: 2rem;
}

.info-content h3 {
    margin-bottom: 1rem;
}

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

.social-links-small a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.6rem;
    height: 3.6rem;
    border-radius: 50%;
    background-color: var(--gray-light);
    color: var(--gray-dark);
}

.social-links-small a:hover {
    background-color: var(--primary-color);
    color: white;
}

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

.contact-form-container h2 {
    margin-bottom: 3rem;
}

.map-section {
    padding: 6rem 4rem;
    background-color: var(--light-color);
    text-align: center;
}

.map-section h2 {
    margin-bottom: 3rem;
}

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

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

.faq-section {
    padding: 8rem 4rem;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 4rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.faq-item {
    background-color: var(--light-color);
    padding: 3rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--box-shadow);
}

.faq-item h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    overflow: auto;
}

.modal-content {
    background-color: white;
    margin: 15% auto;
    padding: 4rem;
    width: 50rem;
    max-width: 90%;
    border-radius: var(--border-radius);
    text-align: center;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 3rem;
    font-weight: 700;
    cursor: pointer;
}

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

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

.modal-btn {
    min-width: 20rem;
}

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

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

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

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

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

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

.footer-links a,
.footer-legal a {
    color: var(--gray-light);
}

.footer-links a:hover,
.footer-legal a:hover {
    color: white;
}

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

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

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

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

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

.cookie-content {
    max-width: 120rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cookie-content p {
    margin-bottom: 2rem;
    text-align: center;
    max-width: 80rem;
}

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

.btn-accept {
    padding: 1rem 2rem;
    background-color: var(--success-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 600;
}

.btn-customize {
    padding: 1rem 2rem;
    background-color: transparent;
    color: white;
    border: 1px solid white;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 600;
}

.btn-reject {
    padding: 1rem 2rem;
    background-color: var(--error-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 600;
}

.cookie-link {
    color: var(--secondary-color);
    font-size: 1.4rem;
}

.cookie-link:hover {
    text-decoration: underline;
}

/* Post Overview Box in Blog List */
.post-overview-box {
    background-color: var(--light-color);
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: var(--border-radius);
}

.post-overview-box h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.post-overview-box ul {
    margin-bottom: 0;
}

.post-overview-box li {
    margin-bottom: 0.8rem;
}

.post-overview-box li:last-child {
    margin-bottom: 0;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    html {
        font-size: 60%;
    }
    
    .post-grid,
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    html {
        font-size: 58%;
    }
    
    .hero,
    .about-header {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content,
    .about-content {
        padding-right: 0;
        margin-bottom: 4rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .blog-post {
        flex-direction: column;
    }
    
    .post-image {
        flex: 0 0 30rem;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 2rem;
    }
    
    .logo {
        margin-bottom: 2rem;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav li {
        margin: 0 1.5rem 1rem;
    }
    
    .post-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input {
        border-radius: var(--border-radius);
        margin-bottom: 1.5rem;
    }
    
    .newsletter-form .btn {
        border-radius: var(--border-radius);
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        width: 90%;
        padding: 3rem;
    }
    
    .cookie-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 30rem;
    }
    
    .btn-accept,
    .btn-customize,
    .btn-reject {
        width: 100%;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 55%;
    }
    
    h1 {
        font-size: 3.6rem;
    }
    
    h2 {
        font-size: 2.8rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .related-post {
        flex-direction: column;
    }
    
    .related-post img {
        width: 100%;
        height: 20rem;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
}
