/* Base Styles */
:root {
    --primary-color: #b5446e;
    --primary-light: #e680a4;
    --primary-dark: #86284f;
    --secondary-color: #44b5a6;
    --secondary-light: #7dd8cc;
    --secondary-dark: #2c7d71;
    --dark-color: #333333;
    --light-color: #ffffff;
    --grey-light: #f4f4f4;
    --grey-medium: #e0e0e0;
    --grey-dark: #767676;
    --text-color: #333333;
    --text-light: #767676;
    --success-color: #4CAF50;
    --warning-color: #FFC107;
    --error-color: #f44336;
    --font-primary: 'Open Sans', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --font-secondary: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --border-radius: 4px;
    --transition-speed: 0.3s;
    --box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    --container-width: 1200px;
    --font-size-increase: 1.2;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

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

body.font-increased {
    font-size: calc(1rem * var(--font-size-increase));
}

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

h1 {
    font-size: 2.75rem;
}

h2 {
    font-size: 2.25rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

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

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

p {
    margin-bottom: 1.5rem;
}

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

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

button {
    cursor: pointer;
}

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

/* Buttons */
.btn-primary, 
.btn-secondary, 
.btn-tertiary {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: var(--border-radius);
    transition: all var(--transition-speed);
    font-weight: 600;
    text-align: center;
    border: none;
    cursor: pointer;
    line-height: 1;
}

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

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

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

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

.btn-tertiary {
    background-color: transparent;
    color: var(--dark-color);
    border: 1px solid var(--grey-medium);
}

.btn-tertiary:hover {
    background-color: var(--grey-light);
}

/* Header & Navigation */
header {
    background-color: var(--light-color);
    box-shadow: var(--box-shadow);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

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

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

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

nav ul li {
    margin: 0 1rem;
}

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

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

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

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

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

#font-increase {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: 1px solid var(--grey-medium);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    color: var(--text-color);
    transition: all var(--transition-speed);
}

#font-increase:hover {
    background-color: var(--grey-light);
}

#font-increase svg {
    width: 18px;
    height: 18px;
}

/* Hero Section */
.hero {
    background-color: var(--primary-light);
    background-image: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-dark) 100%);
    color: var(--light-color);
    padding: 6rem 0;
    text-align: center;
    margin-bottom: 4rem;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--light-color);
}

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

/* Featured Posts Section */
.featured-posts {
    padding: 4rem 0;
}

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

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

.post-card {
    background-color: var(--light-color);
    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: 200px;
    object-fit: cover;
}

.post-content {
    padding: 1.5rem;
}

.post-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

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

.read-more {
    display: inline-block;
    font-weight: 600;
    position: relative;
}

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

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

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

/* Testimonials Section */
.testimonials {
    background-color: var(--grey-light);
    padding: 4rem 0;
    margin-top: 2rem;
}

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

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    margin-bottom: 2rem;
    text-align: center;
}

.testimonial p {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.client {
    font-weight: 600;
    color: var(--primary-color);
}

.feedback-button {
    text-align: center;
    margin-top: 2rem;
}

/* Blog Page */
.page-header {
    background-color: var(--secondary-light);
    background-image: linear-gradient(135deg, var(--secondary-light) 0%, var(--secondary-dark) 100%);
    color: var(--light-color);
    padding: 4rem 0;
    text-align: center;
    margin-bottom: 4rem;
}

.page-header h1 {
    color: var(--light-color);
    margin-bottom: 1rem;
}

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

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

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

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

.blog-content {
    padding: 1.5rem;
}

.blog-meta {
    display: flex;
    margin-bottom: 1rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.blog-meta .date {
    margin-right: 1rem;
}

.blog-meta .category {
    color: var(--primary-color);
}

.blog-content h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.blog-content p {
    margin-bottom: 1rem;
}

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

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

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

.post-date {
    margin-right: 1rem;
}

.post-category {
    color: var(--primary-color);
}

.post-author {
    display: flex;
    align-items: center;
    margin-top: 1.5rem;
}

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

.author-info {
    line-height: 1.4;
}

.author-name {
    font-weight: 600;
}

.author-title {
    color: var(--text-light);
    font-size: 0.9rem;
}

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

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

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

.post-intro {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 2rem;
    font-weight: 600;
}

.post-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
}

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

.post-content h4 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

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

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

.post-image {
    margin: 2rem 0;
    border-radius: var(--border-radius);
    overflow: hidden;
}

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

.image-caption {
    text-align: center;
    font-style: italic;
    color: var(--text-light);
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

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

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

.tag {
    display: inline-block;
    background-color: var(--grey-light);
    color: var(--text-color);
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
    margin: 0 0.5rem 0.5rem 0;
    font-size: 0.9rem;
    transition: background-color var(--transition-speed);
}

.tag:hover {
    background-color: var(--grey-medium);
    color: var(--text-color);
}

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

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

.share-buttons {
    display: flex;
}

.share-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--grey-light);
    margin-right: 0.75rem;
    color: var(--text-color);
    transition: all var(--transition-speed);
}

.share-button:hover {
    background-color: var(--primary-color);
    color: var(--light-color);
}

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

.author-bio .author-avatar {
    width: 100px;
    height: 100px;
    margin-right: 2rem;
}

.author-bio .author-info {
    flex: 1;
}

.author-bio h3 {
    margin-bottom: 0.5rem;
}

.author-bio .author-name {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    display: block;
}

.author-bio .author-description {
    margin-bottom: 0;
}

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

.related-posts h3 {
    margin-bottom: 2rem;
    text-align: center;
}

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

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

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

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

.related-post h4 {
    font-size: 1.1rem;
    padding: 1rem 1rem 0.5rem;
    margin-bottom: 0.5rem;
}

.related-post .read-more {
    padding: 0 1rem 1rem;
    display: block;
}

.post-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
}

.nav-link {
    display: flex;
    align-items: center;
    font-weight: 600;
}

.nav-link svg {
    width: 20px;
    height: 20px;
    transition: transform var(--transition-speed);
}

.nav-previous .nav-link svg {
    margin-right: 0.5rem;
}

.nav-next .nav-link svg {
    margin-left: 0.5rem;
}

.nav-previous .nav-link:hover svg {
    transform: translateX(-5px);
}

.nav-next .nav-link:hover svg {
    transform: translateX(5px);
}

/* About Page */
.about-story {
    padding: 2rem 0 4rem;
}

.about-content {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 3rem;
    align-items: center;
}

.about-text h2 {
    margin-bottom: 1.5rem;
}

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

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

.section-subtitle {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-light);
    font-size: 1.2rem;
}

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

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

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

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

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

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

.values-section {
    padding: 4rem 0;
}

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

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

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

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

.value-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.value-card p {
    margin-bottom: 0;
}

.cta-section {
    background-color: var(--primary-light);
    background-image: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-dark) 100%);
    color: var(--light-color);
    padding: 4rem 0;
    text-align: center;
}

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

.cta-section p {
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

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

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

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

.contact-info p {
    margin-bottom: 2rem;
}

.contact-details {
    margin-bottom: 2rem;
}

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

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

.contact-text h3 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-text p {
    margin-bottom: 0;
}

.social-connect h3 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

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

.social-icons a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--grey-light);
    color: var(--text-color);
    transition: all var(--transition-speed);
}

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

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--grey-medium);
    border-radius: var(--border-radius);
    font-family: var(--font-primary);
    font-size: 1rem;
}

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

.checkbox-group {
    display: flex;
    align-items: flex-start;
}

.checkbox-group input {
    width: auto;
    margin-right: 0.5rem;
    margin-top: 0.25rem;
}

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

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

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

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

/* Footer */
footer {
    background-color: var(--dark-color);
    color: var(--light-color);
    padding: 4rem 0 2rem;
}

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

.footer-logo img {
    height: 50px;
    width: auto;
    margin-bottom: 1rem;
}

.footer-logo p {
    margin-bottom: 0;
    color: var(--grey-medium);
}

.footer-links h3,
.footer-contact h3 {
    color: var(--light-color);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

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

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

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

.footer-links ul li a:hover {
    color: var(--light-color);
}

.footer-contact p {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: var(--grey-medium);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-bottom .social-icons {
    margin-bottom: 1.5rem;
}

.footer-bottom p {
    margin-bottom: 0;
    color: var(--grey-medium);
    text-align: center;
    font-size: 0.9rem;
}

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

.cookie-banner.active {
    display: block;
}

.cookie-content {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 1.5rem;
}

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

.cookie-policy {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* 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.active {
    display: flex;
}

.modal-content {
    background-color: var(--light-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    max-width: 500px;
    width: 90%;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
}

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

.thank-you-content svg {
    margin: 0 auto 1.5rem;
}

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

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

/* Responsive Styles */
@media (max-width: 1024px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero {
        padding: 5rem 0;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.25rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    header .container {
        flex-direction: column;
    }
    
    .logo {
        margin-bottom: 1rem;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 0.5rem;
    }
    
    .accessibility {
        margin-top: 1rem;
    }
    
    .hero {
        padding: 4rem 0;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .posts-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .author-bio {
        flex-direction: column;
        text-align: center;
    }
    
    .author-bio .author-avatar {
        margin-right: 0;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .post-navigation {
        flex-direction: column;
        gap: 1rem;
    }
    
    .value-card {
        padding: 1.5rem;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}
