/* Base Styles */
:root {
    --primary-color: #4a6fa0;
    --primary-dark: #345584;
    --primary-light: #7a98c2;
    --secondary-color: #e67e22;
    --secondary-dark: #c26518;
    --accent-color: #38b2ac;
    --text-color: #333333;
    --text-light: #666666;
    --text-lighter: #888888;
    --bg-color: #ffffff;
    --bg-light: #f9f9f9;
    --bg-dark: #f0f0f0;
    --border-color: #e1e1e1;
    --box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --radius: 8px;
    --radius-small: 4px;
    --container-width: 1200px;
    --font-main: 'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
    --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
}

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

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

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

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

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

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

ul, ol {
    list-style: none;
}

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

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    margin-top: 2rem;
}

h3 {
    font-size: 1.5rem;
    margin-top: 1.5rem;
}

p {
    margin-bottom: 1.2rem;
}

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

section {
    padding: 80px 0;
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    h3 {
        font-size: 1.25rem;
    }
}

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

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

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

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

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

.tertiary-btn {
    background-color: transparent;
    color: var(--text-light);
    border: 2px solid var(--border-color);
}

.tertiary-btn:hover {
    background-color: var(--bg-dark);
    border-color: var(--text-light);
}

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

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

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

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

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

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

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;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

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

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

@media (max-width: 768px) {
    nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    nav.active {
        display: block;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: white;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        padding: 20px;
    }
    
    nav.active ul {
        flex-direction: column;
    }
    
    nav.active ul li {
        margin: 0;
        padding: 10px 0;
        border-bottom: 1px solid var(--border-color);
    }
    
    nav.active ul li:last-child {
        border-bottom: none;
    }
}

/* Hero Section */
.hero {
    padding: 100px 0;
    background-color: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-content {
    flex: 1;
}

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

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

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

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

@media (max-width: 968px) {
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
}

/* Featured Posts Section */
.featured-posts {
    background-color: var(--bg-color);
}

.featured-posts h2 {
    text-align: center;
    margin-bottom: 40px;
}

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

.post-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.post-image {
    position: relative;
    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: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.post-content h3 {
    margin-top: 0;
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.post-content p {
    color: var(--text-light);
    margin-bottom: 15px;
    flex-grow: 1;
}

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

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

.read-more:hover:after {
    margin-left: 10px;
}

.view-all {
    text-align: center;
    margin-top: 40px;
}

/* Daily Inspiration Section */
.daily-inspiration {
    background-color: var(--primary-color);
    color: white;
    padding: 60px 0;
}

.daily-inspiration .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.inspiration-content {
    flex: 1;
}

.inspiration-content h2 {
    color: white;
    margin-top: 0;
}

.inspiration-content p {
    font-size: 1.25rem;
    font-style: italic;
}

.quote-author {
    font-size: 1rem;
    opacity: 0.8;
}

.email-signup {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: var(--radius);
}

.email-signup h3 {
    color: white;
    margin-top: 0;
}

.email-signup form {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.email-signup input {
    flex-grow: 1;
    padding: 12px 15px;
    border: none;
    border-radius: var(--radius-small);
    font-size: 1rem;
}

.email-signup .primary-btn {
    background-color: var(--secondary-color);
}

.email-signup .primary-btn:hover {
    background-color: var(--secondary-dark);
}

@media (max-width: 768px) {
    .daily-inspiration .container {
        flex-direction: column;
    }
    
    .email-signup form {
        flex-direction: column;
    }
    
    .email-signup input {
        margin-bottom: 10px;
    }
}

/* Benefits Section */
.benefits {
    background-color: var(--bg-light);
}

.benefits h2 {
    text-align: center;
    margin-bottom: 40px;
}

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

.benefit-card {
    background: white;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

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

.icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-light);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.benefit-card h3 {
    margin-top: 0;
}

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

/* Footer */
footer {
    background-color: #2c3e50;
    color: white;
    padding: 60px 0 30px;
}

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

.footer-logo img {
    height: 40px;
    width: auto;
    margin-bottom: 15px;
}

.footer-logo p {
    opacity: 0.8;
}

.footer-links h3 {
    color: white;
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-links ul li a:hover {
    color: white;
}

.footer-contact h3 {
    color: white;
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    opacity: 0.8;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

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

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

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
    font-size: 0.9rem;
}

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

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

.cookie-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 15px 0;
}

.cookie-more-info {
    font-size: 0.9rem;
    opacity: 0.8;
}

.cookie-more-info a {
    color: white;
    text-decoration: underline;
}

/* Blog Page Styles */
.page-header {
    background-color: var(--primary-color);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    color: white;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.blog-grid {
    margin-top: 40px;
}

.posts-filter {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 30px;
}

.search-box {
    position: relative;
    width: 300px;
}

.search-box input {
    width: 100%;
    padding: 12px 40px 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 1rem;
}

.search-box button {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
}

.post-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: var(--text-lighter);
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 40px;
}

.pagination a, .pagination span {
    display: inline-block;
    padding: 8px 15px;
    border-radius: var(--radius-small);
    background-color: white;
    box-shadow: var(--box-shadow);
    color: var(--text-color);
    font-weight: 600;
}

.pagination span.active {
    background-color: var(--primary-color);
    color: white;
}

.pagination a:hover {
    background-color: var(--bg-dark);
}

.pagination a.next:after {
    content: '→';
    margin-left: 5px;
}

/* Blog Post Page */
.blog-post {
    padding: 60px 0;
}

.post-header {
    margin-bottom: 30px;
}

.post-excerpt {
    font-size: 1.2rem;
    color: var(--text-light);
    border-left: 3px solid var(--primary-color);
    padding-left: 15px;
}

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

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

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

.post-content h2, .post-content h3 {
    margin-top: 40px;
}

.post-content ul, .post-content ol {
    margin: 0 0 20px 20px;
}

.post-content ul li, .post-content ol li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 5px;
}

.post-content ul {
    list-style-type: disc;
}

.post-content ol {
    list-style-type: decimal;
}

.tip-box, .quote-box {
    background-color: var(--bg-light);
    border-radius: var(--radius);
    padding: 25px;
    margin: 30px 0;
    position: relative;
}

.tip-box h3 {
    margin-top: 0;
    color: var(--primary-color);
}

.quote-box {
    background-color: #f8f4f0;
    border-left: 4px solid var(--secondary-color);
}

.quote-box p {
    font-style: italic;
    font-size: 1.1rem;
}

.quote-box span {
    display: block;
    margin-top: 10px;
    font-weight: 600;
    color: var(--text-color);
}

.author-box {
    display: flex;
    align-items: center;
    gap: 20px;
    background-color: var(--bg-light);
    border-radius: var(--radius);
    padding: 25px;
    margin-top: 40px;
}

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

.author-info h3 {
    margin-top: 0;
}

.post-navigation {
    margin-top: 50px;
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
}

.post-nav-links {
    display: flex;
    justify-content: space-between;
}

.nav-previous, .nav-next {
    max-width: 45%;
}

.nav-subtitle {
    display: block;
    font-size: 0.9rem;
    color: var(--text-lighter);
    margin-bottom: 5px;
}

.nav-title {
    font-weight: 600;
}

.nav-previous .nav-subtitle:before {
    content: '←';
    margin-right: 5px;
}

.nav-next {
    text-align: right;
}

.nav-next .nav-subtitle:after {
    content: '→';
    margin-left: 5px;
}

.related-posts {
    background-color: var(--bg-light);
    padding: 60px 0;
}

.related-posts h2 {
    text-align: center;
    margin-bottom: 30px;
}

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

/* About Page */
.about-story {
    padding-bottom: 40px;
}

.about-content {
    display: flex;
    gap: 40px;
    align-items: center;
}

.about-image {
    flex: 1;
}

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

.about-text {
    flex: 1;
}

.about-text h2 {
    margin-top: 0;
}

.mission-values {
    background-color: var(--bg-light);
}

.mission-values h2 {
    text-align: center;
    margin-bottom: 40px;
}

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

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

.team-section {
    padding: 80px 0;
}

.team-section h2 {
    text-align: center;
    margin-bottom: 40px;
}

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

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

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

.team-member img {
    width: 100%;
    height: auto;
    aspect-ratio: 1/1;
    object-fit: cover;
}

.team-member h3 {
    margin: 15px 0 5px;
}

.team-member p {
    color: var(--text-light);
    margin: 0 20px 20px;
}

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

.team-member .social-icons {
    justify-content: center;
    margin: 0 0 20px;
}

.team-member .social-icons a {
    background-color: var(--bg-light);
    color: var(--text-color);
}

@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
    }
}

/* Contact Page */
.contact-section {
    padding: 60px 0;
}

.contact-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info h2, .contact-form-container h2 {
    margin-top: 0;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.info-item .icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background-color: var(--primary-light);
    margin: 0;
}

.info-item h3 {
    margin: 0 0 5px;
}

.social-connect {
    margin-top: 30px;
}

.contact-form {
    background: white;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--box-shadow);
}

.form-group {
    margin-bottom: 20px;
}

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

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-small);
    font-size: 1rem;
    font-family: var(--font-main);
}

.form-group textarea {
    resize: vertical;
}

.location-map {
    background-color: var(--bg-light);
    padding: 60px 0;
}

.location-map h2 {
    text-align: center;
    margin-bottom: 30px;
}

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

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

/* 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;
    align-items: center;
    justify-content: center;
}

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

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

.modal-icon {
    width: 70px;
    height: 70px;
    background-color: #4caf50;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.modal h2 {
    margin-top: 0;
}

.close-btn {
    margin-top: 20px;
}

@media (max-width: 768px) {
    .contact-section .container {
        grid-template-columns: 1fr;
    }
}

/* Responsive Adjustments */
@media (max-width: 968px) {
    .posts-grid, .benefits-grid, .values-grid, .team-grid, .related-posts-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .daily-inspiration .container {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .posts-grid, .benefits-grid, .values-grid, .related-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .post-navigation {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav-previous, .nav-next {
        max-width: 100%;
    }
}
