/* Base Styles */
:root {
    --primary-color: #e8846b;
    --primary-dark: #d06e56;
    --secondary-color: #ffbe88;
    --accent-color: #5f7991;
    --background-color: #fcf9f6;
    --text-color: #333333;
    --text-light: #666666;
    --text-lighter: #999999;
    --white: #ffffff;
    --black: #000000;
    --gray-light: #f5f5f5;
    --gray: #e0e0e0;
    --gray-dark: #cccccc;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 4px 16px rgba(0, 0, 0, 0.08);
    --radius: 8px;
    --radius-small: 4px;
    --radius-large: 16px;
    --transition: all 0.3s ease;
    --container-width: 1200px;
    --font-main: 'Nunito', 'Segoe UI', Roboto, -apple-system, BlinkMacSystemFont, sans-serif;
    --font-headings: 'Montserrat', 'Segoe UI', Roboto, -apple-system, BlinkMacSystemFont, sans-serif;
}

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

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

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

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
}

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

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

.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1rem;
}

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

.btn:hover {
    background-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

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

.btn-secondary:hover {
    background-color: #f9ac6a;
    color: var(--text-color);
}

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

.btn-tertiary:hover {
    background-color: var(--gray-light);
    color: var(--text-color);
    box-shadow: none;
}

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

/* Layout Components */
header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    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 a {
    display: flex;
    align-items: center;
    color: var(--text-color);
    text-decoration: none;
}

.logo img {
    width: 40px;
    height: 40px;
    margin-right: 0.5rem;
    border-radius: 50%;
}

.logo span {
    font-size: 1.25rem;
    font-weight: 700;
}

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

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

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

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

nav ul li a.active::after,
nav ul li a:hover::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    bottom: -4px;
    left: 0;
    transform: scaleX(1);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    height: 3px;
    width: 100%;
    background-color: var(--text-color);
    border-radius: 3px;
    transition: var(--transition);
}

footer {
    background-color: var(--white);
    color: var(--text-color);
    padding: 3rem 0 1rem;
    border-top: 1px solid var(--gray);
}

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

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-bottom: 0.5rem;
}

.footer-logo p {
    font-weight: 700;
    font-size: 1.25rem;
}

.footer-links h4,
.footer-legal h4,
.footer-social h4 {
    margin-bottom: 1rem;
    font-size: 1rem;
    color: var(--text-color);
}

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

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

.footer-links ul li a,
.footer-legal ul li a {
    color: var(--text-light);
    transition: var(--transition);
}

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

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

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

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--gray);
    color: var(--text-lighter);
    font-size: 0.875rem;
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

/* Hero Section */
.hero {
    padding: 4rem 0;
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background-color: var(--secondary-color);
    opacity: 0.2;
    border-radius: 0 0 0 100%;
    z-index: 1;
}

.hero .container {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
}

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

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

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

.hero-image {
    flex: 1;
    position: relative;
}

.hero-image img {
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-medium);
    transform: rotate(2deg);
}

.hero-image::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    opacity: 0.1;
    border-radius: var(--radius-large);
    transform: rotate(-2deg);
    z-index: -1;
}

/* Featured Posts Section */
.featured-posts {
    padding: 4rem 0;
    background-color: var(--background-color);
}

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

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

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

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

.post-image {
    height: 200px;
    overflow: hidden;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.post-card:hover .post-image img {
    transform: scale(1.05);
}

.post-content {
    padding: 1.5rem;
}

.post-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-lighter);
}

.post-card h2, 
.post-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

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

.read-more {
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

.read-more:after {
    content: '→';
    margin-left: 0.25rem;
    transition: transform 0.3s ease;
}

.read-more:hover:after {
    transform: translateX(4px);
}

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

/* About Preview Section */
.about-preview {
    padding: 4rem 0;
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.about-preview::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40%;
    height: 50%;
    background-color: var(--primary-color);
    opacity: 0.1;
    border-radius: 0 100% 0 0;
}

.about-preview .container {
    display: flex;
    align-items: center;
    gap: 3rem;
    position: relative;
}

.about-content {
    flex: 1;
}

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

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

.about-image {
    flex: 1;
}

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

/* Page Header */
.page-header {
    padding: 3rem 0;
    text-align: center;
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background-color: var(--secondary-color);
    opacity: 0.2;
    border-radius: 50%;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background-color: var(--primary-color);
    opacity: 0.1;
    border-radius: 50%;
}

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

.page-header p {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Blog Posts Section */
.blog-posts {
    padding: 4rem 0;
}

/* Team Section */
.team-section {
    padding: 4rem 0;
    background-color: var(--background-color);
}

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

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

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

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

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

.team-card h3 {
    margin-top: 1rem;
    margin-bottom: 0.25rem;
    padding: 0 1rem;
}

.team-card p {
    padding: 0 1rem 1.5rem;
    color: var(--text-light);
}

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

/* Values Section */
.values-section {
    padding: 4rem 0;
    background-color: var(--white);
}

.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 {
    padding: 2rem;
    background-color: var(--gray-light);
    border-radius: var(--radius);
    text-align: center;
    transition: var(--transition);
}

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

.value-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    background-color: rgba(232, 132, 107, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
}

/* About Mission Section */
.about-mission {
    padding: 4rem 0;
}

.about-mission .container {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.mission-content {
    flex: 1;
}

.mission-image {
    flex: 1;
}

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

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

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

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

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

.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 var(--gray);
    border-radius: var(--radius-small);
    font-family: var(--font-main);
    font-size: 1rem;
    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(232, 132, 107, 0.1);
}

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

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

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

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

.info-text h3 {
    margin-bottom: 0.25rem;
    font-size: 1.125rem;
}

.info-text p {
    color: var(--text-light);
}

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

.social-links h3 {
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

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

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

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

.map-container img {
    width: 100%;
    height: auto;
}

/* Newsletter Section */
.newsletter {
    padding: 4rem 0;
    background-color: var(--gray-light);
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

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

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

.newsletter-form {
    display: flex;
    gap: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray);
    border-radius: var(--radius-small);
    font-family: var(--font-main);
    font-size: 1rem;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(232, 132, 107, 0.1);
}

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

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

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

.modal-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    background-color: rgba(232, 132, 107, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
}

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

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

/* Cookie Banner */
.cookie-banner {
    display: none;
    position: fixed;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    background-color: var(--white);
    box-shadow: var(--shadow-medium);
    border-radius: var(--radius);
    z-index: 1000;
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-content {
    padding: 1.5rem;
}

.cookie-content h3 {
    margin-bottom: 0.5rem;
}

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

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

.cookie-content a {
    font-size: 0.875rem;
    text-decoration: underline;
}

/* Semi-transparent elements */
.post-card,
.team-card,
.value-card,
.contact-form-container,
.contact-info,
.cookie-banner {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}

.hero::before,
.about-preview::before,
.page-header::before,
.page-header::after,
.value-icon,
.info-icon,
.modal-icon {
    opacity: 0.7;
}

/* Responsive Styles */
@media (max-width: 992px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .hero .container,
    .about-preview .container,
    .about-mission .container {
        flex-direction: column;
        gap: 2rem;
    }
    
    .hero-content,
    .about-content,
    .mission-content {
        padding-right: 0;
        text-align: center;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background-color: var(--white);
        box-shadow: var(--shadow);
        padding: 1rem 0;
    }
    
    nav ul.active {
        display: flex;
    }
    
    nav ul li {
        margin: 0;
        padding: 0.75rem 2rem;
    }
    
    nav ul li a::after {
        display: none;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-logo {
        align-items: center;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .post-grid,
    .team-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }
}
