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

:root {
    --primary-color: #2c3e50;
    --secondary-color: #34495e;
    --accent-color: #e74c3c;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --gray: #6c757d;
    --border-color: #dee2e6;
    --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.nav-logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.5rem;
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--accent-color);
}

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

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

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: var(--transition);
}

main {
    margin-top: 80px;
    min-height: calc(100vh - 80px);
}

.hero {
    background: var(--gradient);
    color: var(--white);
    padding: 4rem 0;
    display: flex;
    align-items: center;
    min-height: 500px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    align-items: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background: var(--accent-color);
    color: var(--white);
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.cta-button:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
}

.hero-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.quote-section {
    background: var(--light-bg);
    padding: 3rem 0;
    text-align: center;
}

.daily-quote {
    max-width: 800px;
    margin: 0 auto;
    font-style: italic;
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.daily-quote cite {
    display: block;
    margin-top: 1rem;
    font-style: normal;
    font-weight: bold;
    color: var(--accent-color);
}

.features {
    padding: 4rem 0;
}

.features h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: var(--primary-color);
}

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

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

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

.feature-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.feature-card ul {
    text-align: left;
    padding-left: 1rem;
}

.latest-posts {
    background: var(--light-bg);
    padding: 4rem 0;
}

.latest-posts h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: var(--primary-color);
}

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

.post-preview {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.post-preview:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

.post-preview h3 {
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.post-preview h3 a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

.post-preview h3 a:hover {
    color: var(--accent-color);
}

.post-preview p {
    padding: 0 1.5rem 1.5rem;
    color: var(--gray);
}

.view-all-btn {
    display: block;
    width: fit-content;
    margin: 0 auto;
    background: var(--primary-color);
    color: var(--white);
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: var(--transition);
}

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

.page-header {
    background: var(--gradient);
    color: var(--white);
    padding: 3rem 0;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

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

.posts-grid {
    display: grid;
    gap: 3rem;
}

.post-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
}

.post-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

.post-content {
    padding: 2rem;
}

.post-content h2 a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

.post-content h2 a:hover {
    color: var(--accent-color);
}

.post-meta {
    color: var(--gray);
    margin-bottom: 1rem;
}

.read-more {
    display: inline-block;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: bold;
    margin-top: 1rem;
    transition: var(--transition);
}

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

.about-intro {
    padding: 4rem 0;
}

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

.about-content h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.about-content h3 {
    color: var(--secondary-color);
    margin: 2rem 0 1rem 0;
}

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

.about-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

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

.team-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

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

.team-member {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.team-member img {
    border-radius: 50%;
    margin-bottom: 1rem;
    box-shadow: var(--shadow);
}

.team-member h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

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

.values-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

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

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

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.value-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

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

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

.contact-info h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

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

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

.contact-item h3 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.contact-item a {
    color: var(--accent-color);
    text-decoration: none;
}

.business-hours h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.contact-form-wrapper {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 15px;
}

.contact-form-wrapper h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: var(--secondary-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.checkbox-group {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-right: 0.5rem;
}

.submit-btn {
    background: var(--accent-color);
    color: var(--white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.submit-btn:hover {
    background: #c0392b;
    transform: translateY(-2px);
}

.faq-section {
    background: var(--light-bg);
    padding: 4rem 0;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

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

.faq-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

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

.post-content {
    padding: 2rem 0;
}

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

.post-header h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.2;
}

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

.post-body .lead {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--secondary-color);
    margin-bottom: 2rem;
}

.post-body h2 {
    color: var(--primary-color);
    margin: 2.5rem 0 1.5rem 0;
    font-size: 1.8rem;
}

.post-body h3 {
    color: var(--secondary-color);
    margin: 2rem 0 1rem 0;
    font-size: 1.4rem;
}

.post-body p {
    margin-bottom: 1.5rem;
}

.post-body ul,
.post-body ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

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

.post-body blockquote {
    background: var(--light-bg);
    border-left: 4px solid var(--accent-color);
    padding: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    border-radius: 0 10px 10px 0;
}

.post-body blockquote cite {
    display: block;
    margin-top: 1rem;
    font-style: normal;
    font-weight: bold;
    color: var(--accent-color);
}

.inline-image {
    width: 100%;
    max-width: 600px;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    margin: 2rem 0;
    box-shadow: var(--shadow);
}

.post-navigation {
    max-width: 800px;
    margin: 3rem auto 0;
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.back-to-blog,
.prev-post,
.next-post {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: bold;
    transition: var(--transition);
}

.back-to-blog:hover,
.prev-post:hover,
.next-post:hover {
    color: var(--primary-color);
}

.post-nav-links {
    display: flex;
    gap: 2rem;
}

footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #bdc3c7;
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--white);
}

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--secondary-color);
    border-radius: 50%;
    transition: var(--transition);
}

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

.footer-bottom {
    text-align: center;
    padding: 2rem 0;
    margin-top: 2rem;
    border-top: 1px solid var(--secondary-color);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    z-index: 1000;
    transform: translateY(100%);
    transition: var(--transition);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: center;
}

.cookie-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

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

.cookie-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.cookie-btn.accept {
    background: var(--accent-color);
    color: var(--white);
}

.cookie-btn.customize {
    background: var(--secondary-color);
    color: var(--white);
}

.cookie-btn.decline {
    background: var(--gray);
    color: var(--white);
}

.cookie-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.cookie-link {
    color: var(--accent-color);
    text-decoration: none;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    display: block;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: var(--white);
    margin: 15% auto;
    padding: 2rem;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.close {
    color: var(--gray);
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 15px;
    top: 10px;
}

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

.modal-content h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.modal-btn {
    background: var(--accent-color);
    color: var(--white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: var(--transition);
    margin-top: 1rem;
}

.modal-btn:hover {
    background: #c0392b;
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .nav-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .posts-preview {
        grid-template-columns: 1fr;
    }

    .post-card {
        grid-template-columns: 1fr;
    }

    .post-card .post-image {
        height: 250px;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .cookie-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .cookie-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .post-navigation {
        flex-direction: column;
        gap: 1rem;
    }

    .post-nav-links {
        flex-direction: column;
        text-align: center;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .post-header h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 2rem 0;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .feature-card,
    .team-member,
    .value-card {
        padding: 1.5rem;
    }

    .post-body {
        font-size: 1rem;
    }

    .post-body .lead {
        font-size: 1.1rem;
    }
}
