/* 
  Marble Brook Haven CSS Stylesheet
  Author: Marble Brook Haven Team
  Version: 1.0
  Last updated: 2023
*/

/* ===== Base Styles ===== */
:root {
    --primary-color: #6a5acd; /* Slate blue */
    --primary-dark: #4c3d99;
    --primary-light: #9c90e7;
    --secondary-color: #ff7f50; /* Coral */
    --text-color: #333333;
    --text-light: #666666;
    --background-color: #ffffff;
    --background-alt: #f8f8f8;
    --border-color: #eeeeee;
    --success-color: #4caf50;
    --error-color: #f44336;
    --warning-color: #ff9800;
    --info-color: #2196f3;
    --box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Open Sans', Helvetica, Arial, sans-serif;
}

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

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

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

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

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

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

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

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

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

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

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

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

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

.btn-secondary:hover {
    background-color: darken(var(--secondary-color), 10%);
}

section {
    padding: 5rem 0;
}

/* ===== Header & Navigation ===== */
header {
    background-color: var(--background-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

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

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

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

.logo span {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
}

nav ul {
    display: flex;
}

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

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

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

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

.mobile-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu span {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 2px 0;
    transition: var(--transition);
}

@media (max-width: 768px) {
    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background-color: var(--background-color);
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        padding: 1rem 0;
        z-index: 1000;
    }
    
    nav ul.active {
        display: flex;
    }
    
    nav ul li {
        margin: 0.5rem 1rem;
    }
    
    .mobile-menu {
        display: flex;
    }
    
    .mobile-menu.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
}

/* ===== Hero Section ===== */
.hero {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    color: white;
    padding: 5rem 0;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: white;
}

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

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

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

@media (max-width: 768px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        order: 2;
    }
    
    .hero-image {
        order: 1;
        justify-content: center;
        margin-bottom: 2rem;
    }
}

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

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

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

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

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

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

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

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

.post-content {
    padding: 1.5rem;
}

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

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

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

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

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

/* ===== Expert Interview Section ===== */
.expert-interview {
    background-color: var(--background-alt);
    padding: 5rem 0;
}

.interview-content {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 2rem;
}

.expert-info {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.expert-info img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
}

.expert-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-top: 0.25rem;
}

.interview-text p {
    margin-bottom: 1.5rem;
}

.interview-text strong {
    color: var(--primary-color);
}

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

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

.newsletter-content p {
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

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

.newsletter-form button {
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    background-color: var(--secondary-color);
    padding: 0 1.5rem;
}

.newsletter-form button:hover {
    background-color: darken(var(--secondary-color), 10%);
}

@media (max-width: 576px) {
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input {
        border-radius: var(--border-radius);
        margin-bottom: 1rem;
    }
    
    .newsletter-form button {
        border-radius: var(--border-radius);
    }
}

/* ===== Footer ===== */
footer {
    background-color: #1a1a1a;
    color: white;
    padding: 4rem 0 2rem;
}

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

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

.footer-logo h3 {
    color: white;
    margin-bottom: 0.5rem;
}

.footer-logo p {
    opacity: 0.7;
}

.footer-links h4 {
    color: white;
    margin-bottom: 1rem;
}

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

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

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

.footer-contact h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-contact p {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    opacity: 0.7;
}

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

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

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin: 0 0.5rem;
    transition: var(--transition);
}

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

.footer-social svg {
    fill: white;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright p {
    opacity: 0.7;
    font-size: 0.875rem;
}

/* ===== Page Header ===== */
.page-header {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

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

.page-header p {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

/* ===== Blog Page ===== */
.blog-content {
    padding: 4rem 0;
}

.blog-filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.search-bar {
    display: flex;
    flex: 1;
    max-width: 400px;
}

.search-bar input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-size: 1rem;
}

.search-bar button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    padding: 0 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.search-bar button:hover {
    background-color: var(--primary-dark);
}

.category-filter select {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    background-color: white;
    font-size: 1rem;
    cursor: pointer;
}

.blog-grid {
    display: grid;
    gap: 3rem;
    margin-bottom: 3rem;
}

.blog-post {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.post-thumbnail {
    overflow: hidden;
}

.post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-post:hover .post-thumbnail img {
    transform: scale(1.05);
}

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

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

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: var(--transition);
    font-weight: 600;
}

.pagination a {
    background-color: var(--background-alt);
    color: var(--text-color);
}

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

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

.pagination .dots {
    width: auto;
    padding: 0 0.5rem;
}

.pagination .next {
    width: auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

@media (max-width: 768px) {
    .blog-post {
        grid-template-columns: 1fr;
    }
    
    .post-thumbnail {
        height: 200px;
    }
}

/* ===== Subscribe Section ===== */
.subscribe {
    background-color: var(--background-alt);
    padding: 4rem 0;
    text-align: center;
}

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

.subscribe-content p {
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-light);
}

.subscribe-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

.subscribe-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-size: 1rem;
}

.subscribe-form button {
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

@media (max-width: 576px) {
    .subscribe-form {
        flex-direction: column;
    }
    
    .subscribe-form input {
        border-radius: var(--border-radius);
        margin-bottom: 1rem;
    }
    
    .subscribe-form button {
        border-radius: var(--border-radius);
    }
}

/* ===== Terminology Page ===== */
.terminology-content {
    padding: 4rem 0;
}

.terminology-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.terminology-search {
    max-width: 800px;
    margin: 0 auto 3rem;
}

.terminology-search input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.alphabet-nav {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 1rem;
    box-shadow: var(--box-shadow);
}

.alphabet-nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.alphabet-nav ul li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: var(--background-alt);
    color: var(--text-color);
    transition: var(--transition);
    font-weight: 600;
}

.alphabet-nav ul li a:hover {
    background-color: var(--primary-color);
    color: white;
}

.terminology-list {
    max-width: 800px;
    margin: 0 auto;
}

.term-section {
    margin-bottom: 3rem;
}

.term-section h2 {
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
    margin-bottom: 1.5rem;
}

.term-section dl {
    display: grid;
    gap: 1.5rem;
}

.term-section dt {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.term-section dd {
    margin-top: 0.25rem;
    color: var(--text-light);
}

.terminology-cta {
    margin-top: 4rem;
    background-color: var(--background-alt);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.cta-content {
    padding: 3rem;
    text-align: center;
}

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

.cta-content p {
    margin-bottom: 1.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-light);
}

/* ===== About Page ===== */
.about-story {
    padding: 5rem 0;
}

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

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

.team-section {
    padding: 5rem 0;
    background-color: var(--background-alt);
}

.team-section h2,
.team-intro {
    text-align: center;
}

.team-intro {
    max-width: 700px;
    margin: 0 auto 3rem;
    color: var(--text-light);
}

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

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

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

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

.team-member h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.25rem;
}

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

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

.social-links {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

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

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

.values-section {
    padding: 5rem 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(--background-alt);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
}

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

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

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

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

.cta-content p {
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

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

.cta-buttons .btn-outline {
    border-color: white;
    color: white;
}

.cta-buttons .btn-outline:hover {
    background-color: white;
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* ===== Contact Page ===== */
.contact-content {
    padding: 5rem 0;
}

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

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

.info-card {
    display: flex;
    align-items: flex-start;
    background-color: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

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

.info-content h3 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

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

.hours {
    font-size: 0.875rem;
    margin-top: 0.5rem;
    color: var(--text-light);
}

.social-connect {
    background-color: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
}

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

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

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

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

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

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

.contact-form-container p {
    margin-bottom: 2rem;
    color: var(--text-light);
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group.full-width {
    grid-column: span 2;
}

.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 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: inherit;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.checkbox-container input {
    width: auto;
    margin-top: 0.25rem;
}

.checkbox-container label {
    margin-bottom: 0;
    font-weight: 400;
}

.btn-submit {
    width: 100%;
    padding: 0.75rem;
    font-size: 1rem;
}

.map-section {
    padding: 5rem 0;
    background-color: var(--background-alt);
    text-align: center;
}

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

.map-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.map-placeholder img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
}

.map-overlay p {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.thank-you-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

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

.popup-icon {
    width: 70px;
    height: 70px;
    background-color: var(--success-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
}

.close-popup {
    margin-top: 1.5rem;
}

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

@media (max-width: 576px) {
    .contact-form {
        grid-template-columns: 1fr;
    }
    
    .form-group.full-width {
        grid-column: 1;
    }
}

/* ===== Cookie Banner ===== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: white;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    z-index: 1000;
    display: none;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cookie-content p {
    margin-bottom: 0;
}

.cookie-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.cookie-buttons .btn {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-accept {
    background-color: var(--success-color);
}

.btn-accept:hover {
    background-color: darken(var(--success-color), 10%);
}

.btn-customize {
    background-color: var(--info-color);
}

.btn-customize:hover {
    background-color: darken(var(--info-color), 10%);
}

.btn-decline {
    background-color: var(--error-color);
}

.btn-decline:hover {
    background-color: darken(var(--error-color), 10%);
}

.cookie-buttons a {
    font-size: 0.875rem;
    margin-left: 0.5rem;
}

@media (min-width: 768px) {
    .cookie-content {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
    
    .cookie-content p {
        margin-right: 1rem;
        flex: 1;
    }
}

/* ===== Icon Styles ===== */
.icon-location:before {
    content: '📍';
    margin-right: 0.5rem;
}

.icon-phone:before {
    content: '📞';
    margin-right: 0.5rem;
}

.icon-email:before {
    content: '✉️';
    margin-right: 0.5rem;
}

/* ===== Post Pages ===== */
.post-header {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    color: white;
    text-align: center;
}

.post-header h1 {
    color: white;
    margin-bottom: 1rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.post-meta-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.post-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.post-meta-item svg {
    width: 18px;
    height: 18px;
}

.post-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
}

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

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

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

.post-content p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.post-content img {
    border-radius: var(--border-radius);
    margin: 2rem 0;
    box-shadow: var(--box-shadow);
}

.post-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 1.5rem;
    margin: 2rem 0;
    color: var(--text-light);
    font-style: italic;
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 3rem 0;
}

.post-tag {
    background-color: var(--background-alt);
    color: var(--text-color);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    transition: var(--transition);
}

.post-tag:hover {
    background-color: var(--primary-color);
    color: white;
}

.post-author {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background-color: var(--background-alt);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin: 3rem 0;
}

.author-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
}

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

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

.author-bio p {
    color: var(--text-light);
    margin-bottom: 0;
}

.related-posts {
    margin-top: 4rem;
}

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

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