/* CSS Custom Properties for Dynamic Theming */
:root {
    /* Agricultural Brand colors - 79 Series Sandy Taupe theme */
    --brand-forest: #9d8b7e;
    --brand-olive: #a89885;
    --brand-sage: #c4b5a8;
    --brand-brown: #7d6b5d;
    --brand-sand: #d2b48c;
    --brand-earth: #8b7355;

    /* Theme colors */
    --primary-color: #9d8b7e;
    --primary-dark: #6b5d52;
    --primary-light: #b5a699;
    --secondary-color: #a89885;
    --accent-color: #8b7355;
    --gradient-start: #9d8b7e;
    --gradient-end: #a89885;
    
    /* Mesh gradient colors - sandy taupe theme */
    --mesh-1: #f7f5f3;
    --mesh-2: #ede9e5;
    --mesh-3: #f0ebe7;
    --mesh-4: #d4cbc2;
    --mesh-5: #c4b5a8;

    /* Background colors - warm earth tones */
    --bg-primary: #fffefd;
    --bg-secondary: #faf8f6;
    --bg-tertiary: #f5f2ef;

    /* Text colors - warm neutrals */
    --text-primary: #2b2520;
    --text-secondary: #4a423c;
    --text-muted: #6b5d52;
    
    /* Border and shadow - earth tones */
    --border-color: #d9d0c7;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    
    /* Typography - Agricultural/Rustic Feel */
    --font-primary: 'Libre Baskerville', 'Georgia', 'Times New Roman', serif; /* Traditional serif for agricultural feel */
    --font-secondary: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif; /* Clean sans-serif for body text */
    
    /* Spacing - More generous for agricultural feel */
    --section-padding: 100px;
    --container-padding: 30px;

    /* Agricultural design elements */
    --field-texture: linear-gradient(135deg, transparent 25%, rgba(157, 139, 126, 0.1) 25%, rgba(157, 139, 126, 0.1) 50%, transparent 50%, transparent 75%, rgba(157, 139, 126, 0.1) 75%);
    --wood-texture: repeating-linear-gradient(90deg, #9d8b7e 0px, #a89885 2px, #9d8b7e 4px);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-secondary);
    line-height: 1.6;
    color: var(--text-primary);
    font-size: 16px;
    background-color: var(--bg-primary);
    transition: background-color 0.3s ease, color 0.3s ease;
    overflow-x: hidden;
}

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

/* Navigation */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.main-nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid var(--border-color);
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
}

.brand-logo-icon {
    height: 40px;
    width: 40px;
    transition: all 0.3s ease;
}

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

.logo-text {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.main-nav.scrolled .logo-text {
    color: var(--brand-forest);
    text-shadow: none;
}

.footer-text-logo .logo-text {
    font-size: 1.3rem;
    color: var(--text-primary);
}

.footer-brand-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.footer-logo-icon {
    height: 50px;
    width: 50px;
}

.brand-logo {
    height: 35px;
    width: auto;
    transition: all 0.3s ease;
}

.brand-logo-fallback {
    height: 35px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    position: relative;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.main-nav.scrolled .nav-link {
    color: var(--text-secondary);
    text-shadow: none;
}

.nav-link:hover {
    color: white;
}

.main-nav.scrolled .nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: white;
    transition: width 0.3s ease;
}

.main-nav.scrolled .nav-link::after {
    background: var(--primary-color);
}

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

.nav-link.active {
    color: white;
}

.main-nav.scrolled .nav-link.active {
    color: var(--primary-color);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger {
    display: block;
    width: 20px;
    height: 2px;
    background: white;
    transition: all 0.3s ease;
    position: relative;
}

.main-nav.scrolled .hamburger {
    background: var(--text-primary);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 2px;
    background: white;
    transition: all 0.3s ease;
}

.main-nav.scrolled .hamburger::before,
.main-nav.scrolled .hamburger::after {
    background: var(--text-primary);
}

.hamburger::before {
    top: -6px;
}

.hamburger::after {
    bottom: -6px;
}

.mobile-menu-toggle.active .hamburger {
    background: transparent;
}

.mobile-menu-toggle.active .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}

.mobile-menu-toggle.active .hamburger::after {
    transform: rotate(-45deg);
    bottom: 0;
}

.dark-mode-toggle:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-xl);
}

.toggle-icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.dark-mode-toggle:hover .toggle-icon {
    transform: rotate(20deg);
}

/* Typography */
.hero-title {
    font-family: var(--font-primary);
    font-size: clamp(1.75rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    color: white;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6);
}

.title-line {
    display: block;
}

.gradient-text {
    color: white;
}

.section-title {
    font-family: var(--font-primary);
    font-size: clamp(1.5rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--text-primary);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--brand-forest), var(--brand-olive));
    border-radius: 2px;
}

h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

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

@keyframes gentleFloat {
    0%, 100% {
        transform: translateY(0px) translateX(0px);
        opacity: 0.6;
    }
    25% {
        transform: translateY(-8px) translateX(3px);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-12px) translateX(-2px);
        opacity: 0.7;
    }
    75% {
        transform: translateY(-5px) translateX(1px);
        opacity: 0.9;
    }
}

@keyframes pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.animate-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }
.delay-5 { animation-delay: 1s; }

/* Reveal on scroll - removed animation, always visible */
.reveal-on-scroll {
    opacity: 1;
    transform: translateY(0);
}

/* Hero Section - DJI Style Full Width Background */
.hero {
    position: relative;
    height: 60vh;
    min-height: 500px;
    display: flex;
    align-items: flex-start;
    padding-top: 120px;
    overflow: hidden;
}

.hero-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 60%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.25) 60%, transparent 100%);
    z-index: 1;
}

/* Hero Content Styling */
.hero .container {
    position: relative;
    z-index: 2;
    width: 100%;
    margin: 0;
    padding-left: 10%;
    padding-right: 5%;
}

.hero-content {
    max-width: 650px;
    text-align: left;
}

.hero-subtitle {
    font-size: clamp(0.9rem, 1.8vw, 1.1rem);
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 400;
    line-height: 1.6;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.6);
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(45, 80, 22, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.feature-icon {
    font-size: 1.2rem;
}

.feature-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--brand-forest);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 28px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    font-family: var(--font-secondary);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: white;
    color: #1a1a1a;
    border: 2px solid white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    background: rgba(255, 255, 255, 0.95);
}

.btn-glow {
    animation: pulse 2s infinite;
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-2px);
}

.btn-interactive:hover {
    transform: translateY(-3px) scale(1.05);
}

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

.btn-icon {
    font-size: 1.1rem;
    filter: none; /* Ensure emojis render properly */
}

.btn-primary .btn-icon {
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    opacity: 1;
}

/* Services Section */
.services {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
    position: relative;
    /* Subtle grid pattern - agricultural theme */
    background-image:
        linear-gradient(rgba(157, 139, 126, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(157, 139, 126, 0.03) 1px, transparent 1px);
    background-size: 32px 32px;
    background-position: 0 0, 0 0;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

/* Staggered Services Layout */
.service-staggered {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 5rem;
    padding: 2rem 0;
}

.service-staggered:last-child {
    margin-bottom: 2rem;
}

.service-staggered.reverse {
    flex-direction: row-reverse;
}

.service-content {
    flex: 1;
    max-width: 550px;
}

.service-content h3 {
    font-family: var(--font-primary);
    color: var(--brand-forest);
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.service-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.05rem;
}

.service-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.service-image-card {
    background: var(--bg-primary);
    border-radius: 12px;
    overflow: hidden;
    box-shadow:
        0 10px 30px rgba(157, 139, 126, 0.15),
        0 4px 10px rgba(157, 139, 126, 0.1);
    border: 2px solid var(--border-color);
    max-width: 500px;
    width: 100%;
}

.service-image-card img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 16 / 10;
}

.service-image-card.placeholder {
    aspect-ratio: 16 / 10;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--mesh-2), var(--mesh-4));
}

.placeholder-content {
    color: var(--brand-forest);
    opacity: 0.6;
}

/* Why Choose Section */
.why-choose {
    padding: var(--section-padding) 0;
    background: var(--bg-primary);
    position: relative;
    /* Subtle grid pattern - different size for variety */
    background-image:
        linear-gradient(rgba(157, 139, 126, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(157, 139, 126, 0.02) 1px, transparent 1px);
    background-size: 24px 24px;
    background-position: 0 0, 0 0;
}

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

.why-text h2 {
    text-align: left;
    font-family: var(--font-primary);
}

.benefits-list {
    list-style: none;
    margin-top: 2rem;
}

.benefits-list li {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
    line-height: 1.6;
}

.benefits-list li:last-child {
    border-bottom: none;
}

.benefits-list strong {
    color: var(--brand-forest);
    font-weight: 600;
}

.trent-photo {
    text-align: center;
    position: relative;
}

.trent-photo img {
    border-radius: 20px;
    max-width: 100%;
    height: auto;
    box-shadow: var(--shadow-xl);
    transition: all 0.3s ease;
}

/* Removed hover effect on team photo as it's not clickable */

.photo-caption {
    margin-top: 1.5rem;
    font-style: italic;
    color: var(--text-muted);
}

/* Media Gallery Section */
.media-gallery {
    padding: var(--section-padding) 0;
    background: var(--bg-primary);
    position: relative;
}

.gallery-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.media-item {
    background: var(--bg-secondary);
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid var(--border-color);
    border-bottom: 4px solid var(--brand-earth);
}

.media-placeholder {
    height: 200px;
    background: linear-gradient(135deg, var(--mesh-2), var(--mesh-4));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.media-placeholder span {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.media-placeholder p {
    color: var(--brand-forest);
    font-weight: 600;
    font-size: 1rem;
    margin: 0;
}

.media-info {
    padding: 1.5rem;
}

.media-info h3 {
    color: var(--brand-forest);
    font-family: var(--font-primary);
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
}

.media-info p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Testimonials Section */
.testimonials {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
    position: relative;
    /* Subtle grid pattern - larger size for this section */
    background-image:
        linear-gradient(rgba(157, 139, 126, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(157, 139, 126, 0.025) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: 0 0, 0 0;
}

.testimonials-simple {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.testimonial-simple {
    background: var(--bg-primary);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--border-color);
    border-left: 6px solid var(--brand-forest);
}

/* No hover effects on testimonial cards as they're not clickable */

/* Old website preview styles removed - no longer needed */

.team-placeholder {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--mesh-2), var(--mesh-4));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto;
    box-shadow: var(--shadow-md);
}

.team-placeholder span {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.team-placeholder p {
    color: var(--brand-forest);
    font-weight: 600;
    font-size: 1rem;
    margin: 0;
}

/* Removed hover effect on testimonial images as they're not clickable */

blockquote {
    font-style: italic;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    line-height: 1.7;
    position: relative;
}

blockquote::before {
    content: '"';
    font-size: 3rem;
    color: var(--primary-color);
    position: absolute;
    top: -10px;
    left: -10px;
    font-family: Georgia, serif;
}

cite {
    font-weight: 600;
    color: var(--brand-forest);
    font-style: normal;
}

/* Pricing Section */
.pricing {
    padding: var(--section-padding) 0;
    text-align: center;
    background: var(--bg-primary);
    position: relative;
    /* Subtle grid pattern - fine grid for pricing */
    background-image:
        linear-gradient(rgba(157, 139, 126, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(157, 139, 126, 0.015) 1px, transparent 1px);
    background-size: 20px 20px;
    background-position: 0 0, 0 0;
}

.pricing-text {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-secondary);
    line-height: 1.7;
}

.pricing-text strong {
    color: var(--brand-forest);
    font-weight: 700;
    font-size: 1.5em;
}

/* Contact CTA Section - Agricultural Theme */
.contact-cta {
    padding: var(--section-padding) 0;
    background: linear-gradient(135deg, var(--mesh-1) 0%, var(--mesh-3) 50%, var(--mesh-4) 100%);
    color: var(--text-primary);
    text-align: center;
    position: relative;
    overflow: hidden;
    border-top: 3px solid var(--brand-olive);
    border-bottom: 3px solid var(--brand-olive);
}

.contact-cta h2 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.contact-cta p {
    color: var(--text-secondary);
}

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

.contact-link {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 1.2rem 2.5rem;
    background: var(--bg-primary);
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 2px solid var(--border-color);
    box-shadow: var(--shadow-md);
}

.contact-link:hover {
    background: var(--brand-forest);
    color: white;
    border-color: var(--brand-forest);
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

/* Footer - Agricultural Theme */
.footer {
    background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-secondary) 100%);
    border-top: 4px solid var(--brand-earth);
    padding: 4rem 0 2rem;
    position: relative;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-logo {
    height: 30px;
    width: auto;
    margin-bottom: 0.5rem;
}

.footer-contact p {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

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

/* Mobile-First Responsive Design */
@media (max-width: 768px) {
    :root {
        --section-padding: 80px;
        --container-padding: 20px;
    }

    /* Hero Responsive */
    .hero {
        height: auto;
        min-height: 500px;
        padding-top: 100px;
        padding-bottom: 60px;
    }

    .hero .container {
        padding: 0 var(--container-padding);
    }

    .hero-content {
        max-width: 100%;
        margin-left: 0;
        text-align: center;
    }

    .hero-overlay {
        width: 100%;
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.4) 100%);
    }

    .hero-title {
        font-size: clamp(1.5rem, 7vw, 3rem);
    }

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

    .hero-features {
        gap: 1rem;
        justify-content: center;
    }

    .feature {
        padding: 0.5rem 1rem;
    }

    .feature-text {
        font-size: 0.8rem;
    }

    .cta-buttons {
        justify-content: center;
    }

    .btn {
        flex: 1;
        min-width: 140px;
        justify-content: center;
    }

    /* Staggered services responsive */
    .service-staggered {
        flex-direction: column;
        gap: 2rem;
        margin-bottom: 3rem;
    }

    .service-staggered.reverse {
        flex-direction: column;
    }

    .service-content {
        max-width: 100%;
        text-align: center;
    }

    .service-image-card {
        max-width: 100%;
    }

    .why-choose-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .why-text h2 {
        text-align: center;
    }

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

    .contact-info {
        flex-direction: column;
        align-items: center;
    }

    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .testimonials-simple {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .nav-container {
        height: 60px;
        padding: 0 15px;
    }
    
    .brand-logo {
        height: 30px;
    }
    
    .footer-logo {
        height: 25px;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        border-top: 1px solid var(--border-color);
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
    }

    .nav-menu.open {
        display: flex;
    }
    
    .nav-link {
        color: var(--text-primary);
        padding: 0.75rem 0;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-link:last-of-type {
        border-bottom: none;
    }

    .mobile-menu-toggle {
        display: block;
    }
}

@media (max-width: 480px) {
    .hero {
        padding-top: 90px;
        padding-bottom: 50px;
        min-height: 450px;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }

    .btn {
        width: 100%;
    }

    .media-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card,
    .testimonial-card {
        padding: 1.5rem;
    }

    .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
}

/* Performance Optimizations */
img {
    max-width: 100%;
    height: auto;
}

/* Focus states for accessibility */
.btn:focus,
.contact-link:focus,
.dark-mode-toggle:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
        --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
        --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
    }
}

/* ============================================
   BLOG STYLES
   ============================================ */

/* Blog Hero Section */
.blog-hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, var(--mesh-1) 0%, var(--mesh-3) 100%);
    text-align: center;
    position: relative;
    /* Subtle grid pattern */
    background-image:
        linear-gradient(rgba(157, 139, 126, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(157, 139, 126, 0.02) 1px, transparent 1px);
    background-size: 24px 24px;
    background-position: 0 0, 0 0;
}

.blog-hero-title {
    font-family: var(--font-primary);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.blog-hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Blog List Section */
.blog-section {
    padding: var(--section-padding) 0;
    background: var(--bg-primary);
    position: relative;
}

.blog-list {
    max-width: 900px;
    margin: 0 auto;
}

.blog-loading {
    text-align: center;
    padding: 3rem;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.blog-item {
    display: flex;
    gap: 1.5rem;
    padding: 2rem 0;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.blog-item:first-child {
    padding-top: 0;
}

.blog-item:last-child {
    border-bottom: none;
}

.blog-thumbnail-wrapper {
    flex-shrink: 0;
}

.blog-thumbnail {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 4px;
    border: 2px solid var(--border-color);
}

.blog-thumbnail.placeholder {
    background: linear-gradient(135deg, var(--mesh-2), var(--mesh-4));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-forest);
    font-size: 2rem;
    opacity: 0.6;
}

.blog-item-content {
    flex: 1;
    min-width: 0;
}

.blog-item-title {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.blog-item-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-item-title a:hover {
    color: var(--brand-forest);
}

.blog-item-meta {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.meta-separator {
    margin: 0 0.5rem;
}

.blog-item-excerpt {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.95rem;
    color: var(--brand-forest);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.blog-read-more:hover {
    gap: 0.5rem;
    color: var(--primary-dark);
}

/* Blog Pagination */
.blog-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.blog-pagination-btn {
    padding: 0.75rem 1.5rem;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.blog-pagination-btn:hover:not(:disabled) {
    background: var(--brand-forest);
    color: white;
    border-color: var(--brand-forest);
    transform: translateY(-2px);
}

.blog-pagination-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.blog-pagination-info {
    color: var(--text-muted);
    font-size: 0.95rem;
}

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

.blog-post-header {
    padding: 4rem 0 2rem;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
}

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

.back-to-blog:hover {
    gap: 0.75rem;
    color: var(--primary-dark);
}

.blog-post-title {
    font-family: var(--font-primary);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 1rem;
    max-width: 900px;
}

.blog-post-meta {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.post-date,
.post-author {
    font-weight: 500;
}

.blog-post-featured-image {
    width: 100%;
    max-height: 500px;
    overflow: hidden;
    background: var(--bg-tertiary);
}

.blog-post-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-post-content-wrapper {
    padding: 4rem 0;
    background: var(--bg-primary);
}

.blog-post-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

/* Blog Post Content Typography */
.blog-post-content h2 {
    font-family: var(--font-primary);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.blog-post-content h3 {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

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

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

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

.blog-post-content a {
    color: var(--brand-forest);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.blog-post-content a:hover {
    color: var(--primary-dark);
}

.blog-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 2rem 0;
    border: 2px solid var(--border-color);
}

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

.blog-post-content code {
    background: var(--bg-tertiary);
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-size: 0.95em;
    font-family: 'Courier New', monospace;
}

.blog-post-content pre {
    background: var(--bg-tertiary);
    padding: 1.5rem;
    border-radius: 6px;
    overflow-x: auto;
    margin: 2rem 0;
}

.blog-post-content pre code {
    background: none;
    padding: 0;
}

.blog-post-footer {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .blog-hero {
        padding: 120px 0 60px;
    }

    .blog-hero-title {
        font-size: 2rem;
    }

    .blog-hero-subtitle {
        font-size: 1rem;
    }

    .blog-item {
        flex-direction: column;
        gap: 1rem;
    }

    .blog-thumbnail {
        width: 100%;
        height: 200px;
    }

    .blog-item-title {
        font-size: 1.25rem;
    }

    .blog-post-header {
        padding: 3rem 0 1.5rem;
    }

    .blog-post-title {
        font-size: 1.75rem;
    }

    .blog-post-content {
        font-size: 1.05rem;
    }

    .blog-post-content h2 {
        font-size: 1.5rem;
    }

    .blog-post-content h3 {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .blog-hero {
        padding: 100px 0 50px;
    }

    .blog-item {
        padding: 1.5rem 0;
    }

    .blog-pagination {
        flex-direction: column;
        gap: 0.75rem;
    }

    .blog-pagination-btn {
        width: 100%;
        text-align: center;
    }
}