/* Adullam Mission House - Main Stylesheet */

:root {
    --terracotta: #A65D37;
    --terracotta-dark: #8B4D2E;
    --brown-deep: #5C4033;
    --sage-green: #7A9A6B;
    --olive-green: #5C7A4E;
    --cream: #FBF9F6;
    --warm-white: #FFFCF8;
    --stone: #E8DDD4;
    --stone-light: #F3EDE7;
    --text-dark: #3D3229;
    --text-muted: #6B5D52;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
    background-color: var(--warm-white);
    color: var(--text-dark);
    line-height: 1.7;
    font-weight: 300;
}

h1, h2, h3, h4 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    line-height: 1.3;
}

/* Cave Atmosphere Effects */
.cave-vignette {
    position: fixed;
    inset: 0;
    pointer-events: none;
    box-shadow: inset 0 0 150px rgba(92, 64, 51, 0.12);
    z-index: 9999;
}

/* Vine/Leaf Decorations */
.vine-decoration {
    position: absolute;
    pointer-events: none;
    z-index: 2;
}

.vine-left {
    left: 0;
    top: 60px;
    width: 80px;
    height: 120px;
    opacity: 0.32;
}

.vine-right {
    right: 0;
    top: 60px;
    width: 80px;
    height: 120px;
    opacity: 0.32;
    transform: scaleX(-1);
}

.vine-decoration svg {
    width: 100%;
    height: 100%;
}

/* Additional vine positions */
.vine-bottom-left {
    left: 0;
    bottom: 0;
    width: 150px;
    height: 200px;
    opacity: 0.28;
    transform: rotate(180deg);
}

.vine-header-left {
    left: 0;
    top: 80px;
    width: 80px;
    height: 150px;
    opacity: 0.32;
}

.vine-header-right {
    right: 0;
    top: 80px;
    width: 80px;
    height: 150px;
    opacity: 0.32;
    transform: scaleX(-1);
}

.vine-bottom-right {
    right: 0;
    bottom: 0;
    width: 150px;
    height: 200px;
    opacity: 0.28;
    transform: rotate(180deg) scaleX(-1);
}

.vine-top-right-small {
    right: 0;
    top: 0;
    width: 100px;
    height: 180px;
    opacity: 0.28;
    transform: scaleX(-1);
}

.vine-mid-left {
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 100px;
    height: 250px;
    opacity: 0.25;
}

.vine-mid-right {
    right: 0;
    top: 50%;
    transform: translateY(-50%) scaleX(-1);
    width: 100px;
    height: 250px;
    opacity: 0.25;
}

/* Eucalyptus Decorations - Detailed Center Elements */
.eucalyptus-decoration {
    position: absolute;
    pointer-events: none;
    z-index: 1;
}

.eucalyptus-decoration svg {
    width: 100%;
    height: 100%;
}

.eucalyptus-header-left {
    left: 50%;
    transform: translateX(-320px);
    top: 0;
    width: 120px;
    height: 80px;
    opacity: 0.40;
}

.eucalyptus-header-right {
    left: 50%;
    transform: translateX(200px) scaleX(-1);
    top: 0;
    width: 120px;
    height: 80px;
    opacity: 0.40;
}

.eucalyptus-spray-left {
    left: 10%;
    top: 50%;
    transform: translateY(-50%);
    width: 200px;
    height: 280px;
    opacity: 0.35;
}

.eucalyptus-spray-right {
    right: 10%;
    top: 50%;
    transform: translateY(-50%) scaleX(-1);
    width: 200px;
    height: 280px;
    opacity: 0.35;
}

.eucalyptus-background-center {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 300px;
    opacity: 0.18;
}

.eucalyptus-divider-center {
    left: 50%;
    transform: translateX(-50%);
    width: 350px;
    height: 60px;
    opacity: 0.38;
}

.eucalyptus-accent-top {
    top: 20px;
    width: 150px;
    height: 100px;
    opacity: 0.35;
}

.eucalyptus-accent-bottom {
    bottom: 20px;
    width: 150px;
    height: 100px;
    opacity: 0.35;
}

@media (max-width: 768px) {
    .eucalyptus-header-left,
    .eucalyptus-header-right {
        display: none;
    }
    .eucalyptus-spray-left,
    .eucalyptus-spray-right {
        width: 120px;
        height: 180px;
        opacity: 0.25;
    }
    .eucalyptus-background-center {
        width: 250px;
        height: 200px;
        opacity: 0.12;
    }
}

/* Organic Section Divider */
.section-divider {
    position: relative;
    height: 80px;
    margin-top: -80px;
    overflow: hidden;
}

.section-divider svg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.section-divider path {
    fill: var(--cream);
}

.section-divider.to-warm-white path {
    fill: var(--warm-white);
}

.section-divider.to-stone-light path {
    fill: var(--stone-light);
}

.section-divider.to-olive-tint path {
    fill: #E5EDE0;
}

.section-divider.to-cream path {
    fill: var(--cream);
}

/* Light Flicker Animation */
@keyframes torchFlicker {
    0%, 100% { opacity: 0.02; }
    25% { opacity: 0.04; }
    50% { opacity: 0.03; }
    75% { opacity: 0.05; }
}

.torch-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 30%, rgba(166, 93, 55, 0.08) 0%, transparent 60%);
    animation: torchFlicker 10s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(251, 249, 246, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 2rem;
    border-bottom: 1px solid var(--stone);
}

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

.nav-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.7rem;
    color: var(--terracotta);
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--terracotta);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--terracotta);
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu span {
    width: 25px;
    height: 2px;
    background: var(--terracotta);
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 2rem;
    background: linear-gradient(180deg, var(--warm-white) 0%, var(--stone-light) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(122, 154, 107, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(166, 93, 55, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Logo */
.hero-logo {
    width: 400px;
    max-width: 80%;
    margin: 0 auto 2rem;
    filter: drop-shadow(0 4px 20px rgba(0,0,0,0.08));
}

.hero-logo img {
    width: 100%;
    height: auto;
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    color: var(--terracotta);
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.hero-tagline {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    color: var(--olive-green);
    font-style: italic;
    margin-bottom: 2rem;
    font-weight: 400;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.cta-button {
    display: inline-block;
    background: var(--terracotta);
    color: var(--warm-white);
    padding: 1rem 2.5rem;
    text-decoration: none;
    font-size: 0.95rem;
    letter-spacing: 1px;
    border-radius: 2px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(166, 93, 55, 0.25);
}

.cta-button:hover {
    background: var(--terracotta-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(166, 93, 55, 0.35);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator svg {
    width: 24px;
    height: 24px;
    stroke: var(--terracotta);
    opacity: 0.6;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* Sections */
section {
    padding: 6rem 2rem;
}

.section-container {
    max-width: 1100px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--terracotta);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--sage-green);
}

.section-intro {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 1.5rem auto 0;
}

/* About Section */
.about {
    background: var(--cream);
    position: relative;
    overflow: hidden;
}

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

.about-text p {
    font-size: 1.05rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.about-image {
    position: relative;
}

.about-image-frame {
    background: linear-gradient(135deg, var(--sage-green) 0%, var(--olive-green) 100%);
    border-radius: 4px;
    padding: 2rem;
    position: relative;
}

.about-image-frame::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    right: 15px;
    bottom: 15px;
    border: 2px solid var(--terracotta);
    border-radius: 4px;
    z-index: -1;
}

.about-quote {
    color: var(--warm-white);
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-style: italic;
    line-height: 1.6;
}

.about-quote cite {
    display: block;
    margin-top: 1rem;
    font-size: 1rem;
    font-style: normal;
    opacity: 0.9;
}

/* Mission & Vision */
.mission-vision {
    background: linear-gradient(180deg, #EDF2EA 0%, #E5EDE0 100%);
    position: relative;
    overflow: hidden;
}

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

.mv-card {
    background: var(--cream);
    padding: 3rem;
    border-radius: 4px;
    border-left: 4px solid var(--terracotta);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 20px rgba(92, 64, 51, 0.12),
                0 2px 8px rgba(0, 0, 0, 0.06);
}

.mv-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.mv-card:nth-child(2) {
    border-left-color: var(--sage-green);
}

.mv-card h3 {
    font-size: 1.6rem;
    color: var(--brown-deep);
    margin-bottom: 1.5rem;
}

.mv-card p {
    color: var(--text-dark);
    font-size: 1rem;
}

/* Core Values */
.values {
    background: var(--stone-light);
    position: relative;
}

.values::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 5 L55 30 L30 55 L5 30 Z' fill='none' stroke='%23A65D37' stroke-width='0.5' opacity='0.05'/%3E%3C/svg%3E");
    opacity: 0.5;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.value-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: var(--warm-white);
    border-radius: 4px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.1);
}

.value-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--stone-light) 0%, var(--stone) 100%);
    border-radius: 50%;
}

.value-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--terracotta);
    fill: none;
    stroke-width: 1.5;
}

.value-card h3 {
    font-size: 1.3rem;
    color: var(--brown-deep);
    margin-bottom: 0.8rem;
}

.value-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Programs */
.programs {
    background: linear-gradient(180deg, #E5EDE0 0%, #EDF2EA 100%);
    position: relative;
    overflow: hidden;
}

.programs-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.program-card {
    background: linear-gradient(135deg, var(--terracotta) 0%, var(--terracotta-dark) 100%);
    padding: 3rem;
    border-radius: 4px;
    color: var(--warm-white);
    position: relative;
    overflow: hidden;
}

.program-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
}

.program-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.program-card p {
    font-size: 1.05rem;
    opacity: 0.95;
    line-height: 1.8;
    position: relative;
}

.program-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature {
    display: flex;
    gap: 1.2rem;
    padding: 1.5rem;
    background: var(--cream);
    border-radius: 4px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(92, 64, 51, 0.10),
                0 2px 6px rgba(0, 0, 0, 0.05);
}

.feature:hover {
    background: var(--stone-light);
    transform: translateX(10px);
}

.feature-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--warm-white);
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--sage-green);
    fill: none;
    stroke-width: 1.5;
}

.feature h4 {
    font-size: 1.2rem;
    color: var(--brown-deep);
    margin-bottom: 0.3rem;
}

.feature p {
    font-size: 0.95rem;
    color: var(--text-dark);
}

/* Blog Section */
.blog {
    background: var(--cream);
    position: relative;
    overflow: hidden;
}

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

.blog-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.blog-card {
    background: var(--warm-white);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    transition: all 0.3s ease;
    cursor: pointer;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.blog-image {
    height: 200px;
    background: linear-gradient(135deg, var(--stone) 0%, var(--stone-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.blog-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 30% 70%, rgba(122, 154, 107, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(166, 93, 55, 0.15) 0%, transparent 50%);
}

.blog-image svg {
    width: 48px;
    height: 48px;
    stroke: var(--terracotta);
    opacity: 0.4;
}

.blog-content {
    padding: 1.5rem;
}

.blog-date {
    font-size: 0.85rem;
    color: var(--sage-green);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.blog-card h3 {
    font-size: 1.3rem;
    color: var(--brown-deep);
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.blog-card > .blog-content > p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.blog-link {
    color: var(--terracotta);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.blog-link:hover {
    gap: 0.8rem;
}

.blog-link svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
}

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

.cta-button.outline {
    background: transparent;
    color: var(--terracotta);
    border: 2px solid var(--terracotta);
    box-shadow: none;
}

.cta-button.outline:hover {
    background: var(--terracotta);
    color: var(--warm-white);
}

/* Contact / CTA Section */
.contact {
    background: linear-gradient(135deg, var(--brown-deep) 0%, var(--terracotta-dark) 100%);
    color: var(--warm-white);
    text-align: center;
}

.contact h2 {
    color: var(--warm-white);
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 1rem;
}

.contact h2::after {
    background: var(--sage-green);
}

.contact > .section-container > p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 1.5rem auto 2.5rem;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1rem;
    opacity: 0.9;
}

.contact-item svg {
    width: 20px;
    height: 20px;
    stroke: var(--sage-green);
    fill: none;
    stroke-width: 1.5;
}

.cta-button.light {
    background: var(--warm-white);
    color: var(--terracotta);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.cta-button.light:hover {
    background: var(--cream);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* Contact Form */
.contact-form {
    max-width: 500px;
    margin: 2rem auto 0;
}

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

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

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-dark);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--text-muted);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(122, 154, 107, 0.4);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form button {
    width: 100%;
    border: none;
    cursor: pointer;
}

.contact-form button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 4px;
    text-align: center;
    display: none;
}

.form-message.success {
    display: block;
    background: rgba(122, 154, 107, 0.2);
    color: var(--warm-white);
}

.form-message.error {
    display: block;
    background: rgba(220, 53, 69, 0.2);
    color: var(--warm-white);
}

/* Responsive */
@media (max-width: 992px) {
    .about-content,
    .programs-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-image {
        order: -1;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu {
        display: flex;
    }

    .hero {
        padding: 8rem 1.5rem 4rem;
    }

    section {
        padding: 4rem 1.5rem;
    }

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

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

    .form-row {
        grid-template-columns: 1fr;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(251, 249, 246, 0.98);
        padding: 1rem 2rem;
        border-bottom: 1px solid var(--stone);
        gap: 1rem;
    }

    .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);
    }

    /* Reduce vignette on mobile */
    .cave-vignette {
        box-shadow: inset 0 0 80px rgba(92, 64, 51, 0.08);
    }

    /* Smaller section dividers on mobile */
    .section-divider {
        height: 50px;
        margin-top: -50px;
    }
}

/* Fade in animation for scroll */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Blog Page Styles */
.blog-hero {
    padding-top: 120px;
    padding-bottom: 3rem;
    background: linear-gradient(180deg, var(--warm-white) 0%, var(--cream) 100%);
    text-align: center;
}

.blog-hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--terracotta);
    margin-bottom: 1rem;
}

.blog-hero p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.blog-listing {
    background: var(--cream);
    padding: 4rem 2rem;
}

.blog-listing .blog-grid {
    max-width: 1100px;
    margin: 0 auto;
}

/* Blog Post Page Styles */
.blog-post-hero,
.article-header {
    padding-top: 120px;
    padding-bottom: 3rem;
    background: #F3EDE7;
    text-align: center;
    position: relative;
}

.blog-post-hero .blog-date,
.article-header .article-meta {
    color: var(--sage-green);
    font-weight: 500;
    margin-bottom: 1rem;
    display: block;
}

.blog-post-hero h1,
.article-header h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--terracotta);
    max-width: 800px;
    margin: 0 auto;
}

.blog-post-content {
    background: var(--cream);
    padding: 4rem 2rem;
    max-width: 750px;
    margin: 0 auto;
}

.article-content {
    padding: 4rem 2rem;
    max-width: 750px;
    margin: 0 auto;
}

.blog-post-content article {
    max-width: 750px;
    margin: 0 auto;
    background: var(--warm-white);
    padding: 3rem;
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

.blog-post-content h2,
.article-content h2 {
    font-size: 1.8rem;
    color: var(--terracotta);
    margin: 2rem 0 1rem;
}

.blog-post-content h2:first-child,
.article-content h2:first-child {
    margin-top: 0;
}

.blog-post-content p,
.article-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.blog-post-content blockquote,
.article-content blockquote {
    background: var(--stone-light);
    border-left: 4px solid var(--sage-green);
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--text-dark);
}

.blog-post-content blockquote cite,
.article-content blockquote cite {
    display: block;
    margin-top: 0.5rem;
    font-style: normal;
    font-weight: 500;
    color: var(--text-muted);
}

.back-to-blog,
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--terracotta);
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 2rem;
    transition: gap 0.3s ease;
}

.back-to-blog:hover,
.back-link:hover {
    gap: 0.8rem;
}

.back-to-blog svg,
.back-link svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
}

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

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: var(--warm-white);
    border-radius: 8px;
    max-width: 900px;
    width: 95%;
    max-height: 90vh;
    position: relative;
    overflow: hidden;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-muted);
    cursor: pointer;
    z-index: 10001;
    line-height: 1;
    transition: color 0.3s ease;
}

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

.modal-content .calendly-inline-widget {
    min-height: 700px;
}

@media (max-width: 768px) {
    .modal-content {
        width: 100%;
        height: 100%;
        max-height: 100%;
        border-radius: 0;
    }

    .modal-content .calendly-inline-widget {
        min-height: 100vh;
    }
}
