/* --- CORE ENVIRONMENT VARIABLES & INITIALIZATION --- */
:root {
    --color-primary: #1E3A2B;      /* Pine/Forest Green */
    --color-secondary: #A3623B;    /* Cedar/Timber */
    --color-dark: #22252A;         /* Charcoal Slate */
    --color-light: #F6F4EF;        /* Sandstone/Birch */
    --color-white: #FFFFFF;
    --color-border: #E2DED6;
    --color-muted: #6B7280;
    
    --font-heading: 'Lora', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-dark);
    background-color: var(--color-white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-dark);
    line-height: 1.25;
}

h1 { font-size: clamp(2.2rem, 4.5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
    color: var(--color-secondary);
}

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

/* Accessibility Focus Ring */
:focus-visible {
    outline: 3px solid var(--color-secondary);
    outline-offset: 3px;
}

.skip-to-content {
    position: absolute;
    top: -100px;
    left: 10px;
    background: var(--color-secondary);
    color: var(--color-white);
    padding: 10px 15px;
    z-index: 9999;
    font-weight: bold;
    transition: top 0.2s ease;
}

.skip-to-content:focus {
    top: 10px;
}

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

/* Section Rhythm & Padding */
section {
    padding: 80px 0;
}

.section-tag {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-secondary);
    margin-bottom: 10px;
}

.section-tag.light-tag {
    color: #D4A373;
}

.section-header {
    margin-bottom: 50px;
}

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

/* --- HEADER & NAVIGATION --- */
.top-bar {
    background-color: var(--color-dark);
    color: var(--color-white);
    padding: 10px 0;
    font-size: 0.875rem;
}

.top-bar-inner {
    display: flex;
    justify-content: flex-end;
}

.contact-info {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.contact-info a, .contact-info span {
    color: #D1D5DB;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.contact-info a:hover {
    color: var(--color-secondary);
}

.main-navigation {
    background-color: var(--color-primary);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

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




/* --- ENHANCED BRAND LOGO STYLING --- */
.brand-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--color-white);
    text-decoration: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.brand-logo:hover {
    opacity: 0.95;
    transform: translateY(-1px);
}

/* Icon Emblem Box */
.logo-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(163, 98, 59, 0.2); /* Soft Cedar tint */
    border: 1px solid var(--color-secondary);
    border-radius: 6px;
    color: var(--color-secondary);
    font-size: 1.35rem;
    flex-shrink: 0;
    transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.brand-logo:hover .logo-icon-wrapper {
    background-color: var(--color-secondary);
    color: var(--color-white);
}

/* Text Container */
.logo-text-wrapper {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    color: var(--color-white);
    line-height: 1.1;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* "LLC" Accent Tag */
.logo-suffix {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    background-color: var(--color-secondary);
    color: var(--color-white);
    padding: 2px 6px;
    border-radius: 3px;
    line-height: 1;
    display: inline-block;
    vertical-align: middle;
}

/* Subtitle Styling */
.logo-subtitle {
    font-size: 0.72rem;
    font-weight: 500;
    color: #D4A373; /* Warm Cedar / Birch Highlight */
    letter-spacing: 0.6px;
    text-transform: uppercase;
    margin-top: 3px;
}

/* Mobile Breakpoint Adjustments */
@media (max-width: 480px) {
    .logo-icon-wrapper {
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
    }
    
    .logo-title {
        font-size: 1.2rem;
    }
    
    .logo-subtitle {
        font-size: 0.65rem;
    }
}























.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 25px;
}

.nav-menu a {
    color: var(--color-white);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 5px 0;
}

.nav-menu a:hover {
    color: #D4A373;
}

.btn-nav {
    background-color: var(--color-secondary);
    padding: 9px 20px !important;
    border-radius: 4px;
    color: var(--color-white) !important;
    transition: background-color 0.2s ease !important;
}

.btn-nav:hover {
    background-color: #8C5230 !important;
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 1.5rem;
    cursor: pointer;
}


/* --- GLOBAL SMOOTH SCROLLING & ACCESSIBILITY --- */
html {
    scroll-behavior: smooth;
}

/* Ensure smooth scrolling respects reduced motion user accessibility preferences */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

/* Offset anchor jump target positioning below fixed sticky navigation headers */
.service-detail-block,
[id] {
    scroll-margin-top: 100px; /* Adjust value to match your fixed main header height */
}


/* --- HERO SECTION STYLING --- */
.hero-section {
    padding: 140px 0 120px;
    position: relative;
    color: var(--color-white);
}

.hero-content {
    max-width: 850px;
}

.hero-content h1 {
    color: var(--color-white) !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    margin-bottom: 20px;
}

.hero-subtext {
    color: #F3F4F6 !important;
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 35px;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--color-secondary);
    color: var(--color-white);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.hero-actions {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

/* --- BUTTONS & CALL TO ACTIONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.25s ease;
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background-color: #8C5230;
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-white);
    border-color: var(--color-white);
}

.btn-outline:hover {
    background-color: var(--color-white);
    color: var(--color-dark);
    transform: translateY(-2px);
}

/* --- TRUST & CREDENTIALS BAR --- */
.trust-bar {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 40px 0;
    border-bottom: 4px solid var(--color-secondary);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, background 0.3s ease;
}

.trust-item:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-3px);
}

.trust-icon {
    font-size: 2.2rem;
    color: #D4A373;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    flex-shrink: 0;
}

.trust-icon i {
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.scroll-reveal.is-visible .trust-icon i {
    transform: rotate(360deg);
}

.trust-text {
    display: flex;
    flex-direction: column;
}

.trust-text strong {
    font-size: 1.15rem;
    color: var(--color-white);
}

.trust-text span {
    font-size: 0.85rem;
    color: #D1D5DB;
}

/* --- SECTION BACKGROUND ALTERNATIONS --- */
.intro-section {
    background-color: var(--color-light);
}

.intro-content-block {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.intro-content-block h2 {
    margin-bottom: 20px;
    color: var(--color-primary);
}

.lead-text {
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.7;
    color: var(--color-dark);
    margin-bottom: 20px;
}

.intro-content-block p {
    color: #4A5568;
    margin-bottom: 25px;
}

.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--color-secondary);
    font-size: 1.05rem;
}

.btn-link:hover {
    color: var(--color-primary);
}

/* --- SERVICES MATRIX SECTION --- */
.services-matrix-section {
    background-color: var(--color-white);
}

.ui-content-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ui-content-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.08);
}

.card-image-wrapper {
    position: relative;
    width: 100%;
    height: 220px; /* Fixed Height Rule */
    overflow: hidden;
    background-color: var(--color-dark);
}

.card-image-wrapper img {
    width: 100%;
    height: 220px;
    object-fit: cover; /* Keeps thumbnail ratio uniform */
    transition: transform 0.5s ease;
}

.ui-content-card:hover .card-image-wrapper img {
    transform: scale(1.06);
}

.card-body {
    padding: 25px;
    flex-grow: 1;
}

.card-title {
    margin-bottom: 12px;
    color: var(--color-primary);
}

.card-text {
    word-break: break-all;
    overflow-wrap: anywhere;
    color: #4A5568;
    font-size: 0.95rem;
}

.card-footer {
    padding: 15px 25px 25px;
    border-top: 1px solid var(--color-light);
}

.action-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--color-secondary);
    font-size: 0.95rem;
}

.action-link:hover {
    color: var(--color-primary);
}

/* --- CREW SHOWCASE SECTION --- */
.crew-showcase-section {
    background-color: var(--color-light);
}

.align-center {
    align-items: center;
}

.crew-img {
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    object-fit: cover;
    max-height: 450px;
    width: 100%;
}

.check-list {
    list-style: none;
    margin: 25px 0 35px;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 1rem;
    color: var(--color-dark);
}

.check-list li i {
    color: var(--color-primary);
    font-size: 1.2rem;
    margin-top: 2px;
}

/* --- SERVICE AREA SECTION --- */
.service-area-section {
    background-color: var(--color-white);
}

.service-area-card {
    background-color: var(--color-primary);
    color: var(--color-white);
    border-radius: 12px;
    padding: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.area-text h2 {
    color: var(--color-white) !important;
    margin-bottom: 15px;
}

.area-text p {
    color: #E5E7EB;
    margin-bottom: 25px;
}

.towns-grid {
    margin-top: 20px;
}

.towns-list {
    list-style: none;
}

.towns-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: #F3F4F6;
    font-weight: 500;
}

.towns-list li i {
    color: #D4A373;
}

.map-img {
    border-radius: 8px;
    object-fit: cover;
    max-height: 380px;
    width: 100%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
/* --- RESPONSIVE GOOGLE MAP CONTAINER --- */
.google-map-responsive-wrapper {
    position: relative;
    width: 100%;
    height: 380px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    border: 2px solid rgba(255, 255, 255, 0.15);
}

.google-map-responsive-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

@media (max-width: 600px) {
    .google-map-responsive-wrapper {
        height: 280px;
    }
}
/* --- CALL TO ACTION BANNER (REVISED WITH FADED BACKGROUND IMAGE) --- */
.cta-banner-section {
    position: relative;
    padding: 100px 0;
    color: var(--color-white);
    /* Heavily faded background image using linear-gradient overlay */
    background: linear-gradient(
        rgba(34, 37, 42, 0.88), 
        rgba(34, 37, 42, 0.94)
    ), url('https://images.unsplash.com/photo-1542314831-068cd1dbfeeb?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	    background-attachment: fixed;
}

.cta-content h2 {
    color: var(--color-white) !important;
    margin-bottom: 15px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.cta-content p {
    color: #E5E7EB;
    font-size: 1.15rem;
    max-width: 700px;
    margin: 0 auto 30px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* --- HARDWARE-ACCELERATED ANIMATIONS --- */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

.reveal-fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

.reveal-slide-up {
    animation: slideUpIn 0.8s ease-out forwards;
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    will-change: opacity, transform;
}

.scroll-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .scroll-reveal,
    .reveal-fade-in,
    .reveal-slide-up {
        animation: none !important;
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}
/* --- ACCORDION SYSTEM STYLING --- */
.accordion-wrapper {
    border: 1px solid var(--color-border);
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--color-white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    margin-top: 25px;
}

.accordion-item {
    border-bottom: 1px solid var(--color-border);
}

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

/* Reset default button styling and apply custom full-width trigger styling */
.accordion-trigger {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background-color: var(--color-light);
    border: none !important;
    outline: none;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-primary);
    text-align: left;
    cursor: pointer;
    transition: background-color 0.25s ease, color 0.25s ease;
    /* Reset OS default button appearances */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.accordion-trigger:hover,
.accordion-trigger:focus-visible {
    background-color: #EFECE4;
    color: var(--color-secondary);
}

.accordion-trigger span {
    display: flex;
    align-items: center;
    gap: 12px;
}

.accordion-trigger .icon-prefix {
    color: var(--color-secondary);
    font-size: 1.1rem;
}

.accordion-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(30, 58, 43, 0.08);
    border-radius: 50%;
    color: var(--color-primary);
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
}

.accordion-item.is-open .accordion-icon {
    background-color: var(--color-secondary);
    color: var(--color-white);
    transform: rotate(180deg);
}

/* Accordion Grid Transition Container */
.accordion-content {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: var(--color-white);
}

.accordion-content > .accordion-inner {
    overflow: hidden;
}

.accordion-item.is-open .accordion-content {
    grid-template-rows: 1fr;
}

.accordion-inner-body {
    padding: 20px 24px 25px;
    border-top: 1px solid var(--color-border);
    color: #4A5568;
    line-height: 1.7;
}

.accordion-inner-body p {
    margin-bottom: 0;
}
/* --- GRID MATRICES --- */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}




/* --- SUBPAGE HERO SECTION --- */
.subpage-hero {
    padding: 80px 0 60px;
    color: var(--color-white);
    border-bottom: 4px solid var(--color-secondary);
}

.subpage-hero h1 {
    color: var(--color-white) !important;
    font-size: clamp(2rem, 3.8vw, 3rem);
    margin-bottom: 12px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.subpage-hero-lead {
    color: #F3F4F6;
    font-size: 1.15rem;
    font-weight: 500;
}

/* Breadcrumbs */
.breadcrumb-nav {
    margin-bottom: 18px;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 10px;
    list-style: none;
    font-size: 0.9rem;
    color: #D1D5DB;
}

.breadcrumb-list a {
    color: #D1D5DB;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.breadcrumb-list a:hover {
    color: #D4A373;
}

.breadcrumb-separator {
    font-size: 0.75rem;
    color: #9CA3AF;
}

/* --- SUBPAGE LAYOUT GRID & STICKY SIDEBAR --- */
.about-main-section {
    padding: 70px 0;
    background-color: var(--color-white);
}

.page-layout-grid {
    display: grid;
    grid-template-columns: 2.2fr 1fr;
    gap: 50px;
    align-items: start;
}

.content-block {
    margin-bottom: 55px;
}

.content-block:last-child {
    margin-bottom: 0;
}

.content-block h2 {
    color: var(--color-primary);
    margin-bottom: 18px;
}

.lead-paragraph {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--color-dark);
    margin-bottom: 18px;
    line-height: 1.7;
}

.content-block p {
    color: #4A5568;
    margin-bottom: 18px;
    line-height: 1.75;
}

.story-image-block {
    margin: 30px 0;
}

.content-img {
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    width: 100%;
    object-fit: cover;
}

.image-caption {
    display: block;
    font-size: 0.85rem;
    color: var(--color-muted);
    margin-top: 8px;
    font-style: italic;
}

/* Values Grid */
.values-grid {
    margin-top: 30px;
}

.value-card {
    background: var(--color-light);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 25px;
}

.value-icon {
    font-size: 1.8rem;
    color: var(--color-secondary);
    margin-bottom: 12px;
}

.value-card h3 {
    font-size: 1.15rem;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.value-card p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Sticky Sidebar & Widgets */
.sidebar-wrapper {
    position: relative;
}

.sticky-sidebar {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-card {
    background: var(--color-light);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 28px;
}

.sidebar-card h3 {
    font-size: 1.2rem;
    color: var(--color-primary);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 2px solid var(--color-secondary);
    padding-bottom: 10px;
}

.sidebar-card h3 i {
    color: var(--color-secondary);
}

.sidebar-phone-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: var(--color-primary);
    color: var(--color-white) !important;
    padding: 12px 20px;
    border-radius: 4px;
    font-weight: 700;
    margin: 18px 0 10px;
    transition: background-color 0.2s ease;
}

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

.sidebar-email-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--color-dark);
    word-break: break-all;
    overflow-wrap: anywhere;
    margin-bottom: 15px;
}

.sidebar-meta p {
    font-size: 0.85rem;
    color: var(--color-muted);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-nav-list {
    list-style: none;
}

.sidebar-nav-list li {
    margin-bottom: 10px;
    border-bottom: 1px dashed var(--color-border);
    padding-bottom: 8px;
}

.sidebar-nav-list li:last-child {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.sidebar-nav-list a {
    color: var(--color-dark);
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.2s ease, transform 0.2s ease;
}

.sidebar-nav-list a i {
    font-size: 0.75rem;
    color: var(--color-secondary);
}

.sidebar-nav-list a:hover {
    color: var(--color-secondary);
    transform: translateX(4px);
}

/* Hiring Widget */
.hiring-callout-widget {
    background-color: var(--color-primary);
    color: var(--color-white);
    border: none;
}

.hiring-callout-widget h3 {
    color: var(--color-white) !important;
    border-bottom-color: #D4A373;
}

.hiring-callout-widget p {
    color: #E5E7EB;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.hiring-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: var(--color-secondary);
    color: var(--color-white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.btn-block {
    width: 100%;
}

/* Responsive Subpage Layout Rules */
@media (max-width: 992px) {
    .page-layout-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .sticky-sidebar {
        position: static;
    }
}




/* --- SERVICES SECTION BACKGROUND & OVERLAY --- */
.services-main-section {
    padding: 70px 0;
    position: relative;
    background: 
        linear-gradient(
            to left, 
            rgba(246, 244, 239, 0.90) 0%, 
            rgba(246, 244, 239, 0.82) 50%, 
            rgba(246, 244, 239, 0.96) 100%
        ),
        url('../img/bg-drawing-01.webp') center/cover no-repeat fixed;
    background-attachment: fixed; /* Parallax blueprint effect */
}
/* Ensure content cards pop clearly over the textured background */
.service-detail-block {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 50px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
    scroll-margin-top: 120px;
}
/* Make sticky sidebar cards stand out against the background texture */
.sidebar-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 28px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}
.service-detail-block:last-child {
    margin-bottom: 0;
}
.hiring-callout-widget {
    background-color: var(--color-primary);
    color: var(--color-white);
    border: none;
}
.service-detail-image img {
    width: 100%;
    height: 320px;
    object-fit: cover;
}

.service-detail-body {
    padding: 35px;
    position: relative;
}

.service-number {
    position: absolute;
    top: 20px;
    right: 35px;
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: rgba(163, 98, 59, 0.15); /* Soft Cedar Number Accent */
    line-height: 1;
}

.service-detail-body h2 {
    color: var(--color-primary);
    margin-bottom: 15px;
    padding-right: 60px;
}

.service-detail-body p {
    color: #4A5568;
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-action-bar {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--color-border);
}
/* Disable fixed background attachment on mobile touch devices for smooth scrolling performance */
@media (max-width: 992px) {
.services-main-section {
        background-attachment: scroll;
        /* Slightly higher opacity on mobile stacks to keep legibility high */
        background: 
            linear-gradient(
                to bottom, 
                rgba(246, 244, 239, 0.92) 0%, 
                rgba(246, 244, 239, 0.85) 100%
            ),
            url('https://images.unsplash.com/photo-1503387762-592deb58ef4e?auto=format&fit=crop&w=1200&q=80') center/cover no-repeat;
    }
}
@media (max-width: 600px) {
    .service-detail-body {
        padding: 25px 20px;
    }
    .service-detail-image img {
        height: 220px;
    }
    .service-number {
        display: none;
    }
    .service-detail-body h2 {
        padding-right: 0;
    }
}

/* --- GALLERY PAGE SPECIFIC STYLES --- */
.gallery-main-section {
    padding: 70px 0;
    background-color: var(--color-white);
}

.gallery-filter-bar {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 25px 0 35px;
}

.filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background-color: var(--color-light);
    color: var(--color-dark);
    border: 1px solid var(--color-border);
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

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

.filter-btn:hover,
.filter-btn.is-active {
    background-color: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

.filter-btn:hover i,
.filter-btn.is-active i {
    color: #D4A373;
}

/* Gallery Matrix Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.gallery-item {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.gallery-item.is-hidden {
    display: none !important;
}

.gallery-img-wrapper {
    position: relative;
    height: 240px;
    overflow: hidden;
    background-color: var(--color-dark);
}

.gallery-img-wrapper img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-img-wrapper img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(30, 58, 43, 0.75);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--color-white);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.overlay-icon {
    font-size: 1.8rem;
    color: #D4A373;
}

.overlay-text {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.gallery-item-info {
    padding: 18px 20px;
}

.gallery-item-info h3 {
    font-size: 1.1rem;
    color: var(--color-primary);
    margin-bottom: 6px;
}

.item-tag {
    font-size: 0.85rem;
    color: var(--color-muted);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Lightbox Modal System */
.lightbox-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.lightbox-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(17, 17, 17, 0.9);
    backdrop-filter: blur(4px);
}

.lightbox-container {
    position: relative;
    max-width: 1000px;
    width: 100%;
    background-color: var(--color-dark);
    border-radius: 8px;
    overflow: hidden;
    z-index: 2001;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.lightbox-modal.is-open .lightbox-container {
    transform: scale(1);
}

.lightbox-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.6);
    color: var(--color-white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.25rem;
    cursor: pointer;
    z-index: 2002;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}

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

.lightbox-media-wrapper {
    max-height: 75vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000;
}

.lightbox-media-wrapper img {
    max-height: 75vh;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.lightbox-caption {
    padding: 16px 24px;
    color: #E5E7EB;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    background-color: #181A1D;
    border-top: 1px solid #2D3139;
}

@media (max-width: 600px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .gallery-filter-bar {
        flex-direction: column;
    }
    .filter-btn {
        width: 100%;
        justify-content: center;
    }
}





/* --- FULL-WIDTH SEAMLESS MASONRY GALLERY --- */
.gallery-fullwidth-section {
    padding: 70px 0;
    background-color: var(--color-white);
}

.gallery-intro-header {
    max-width: 750px;
    margin: 0 auto 40px;
}

.seamless-masonry-grid {
    column-count: 3;
    column-gap: 8px; /* Micro gap between columns */
    width: 100%;
}

.masonry-tile {
    break-inside: avoid;
    margin-bottom: 8px; /* Micro gap beneath items */
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    background-color: var(--color-dark);
}

.masonry-tile a {
    display: block;
    position: relative;
}

.masonry-tile img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

.masonry-tile:hover img {
    transform: scale(1.05);
}

/* Glassmorphism Hover Overlay */
.tile-overlay {
    position: absolute;
    inset: 0;
    background: rgba(30, 58, 43, 0.65);
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 2.2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.masonry-tile:hover .tile-overlay {
    opacity: 1;
}

.tile-overlay i {
    color: #D4A373; /* Warm Cedar Accent */
}

/* Responsive Masonry Breakpoints */
@media (max-width: 992px) {
    .seamless-masonry-grid {
        column-count: 2;
        column-gap: 6px;
    }
    .masonry-tile {
        margin-bottom: 6px;
    }
}

@media (max-width: 600px) {
    .seamless-masonry-grid {
        column-count: 1;
    }
}

/* --- LIGHTBOX MODAL WITH FLIP CONTROLS --- */
.lightbox-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.lightbox-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(17, 17, 17, 0.92);
    backdrop-filter: blur(5px);
}

.lightbox-container {
    position: relative;
    max-width: 1050px;
    width: 100%;
    background-color: var(--color-dark);
    border-radius: 8px;
    overflow: hidden;
    z-index: 2001;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    transform: scale(0.95);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.lightbox-modal.is-open .lightbox-container {
    transform: scale(1);
}

.lightbox-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    background-color: #181A1D;
    border-bottom: 1px solid #2D3139;
}

.lightbox-counter {
    color: #9CA3AF;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.lightbox-close-btn {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}

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

.lightbox-stage {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000;
    min-height: 300px;
}

.lightbox-media-wrapper {
    max-height: 72vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.lightbox-media-wrapper img {
    max-height: 72vh;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.lightbox-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.15);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 1.25rem;
    cursor: pointer;
    z-index: 2002;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.lightbox-nav-btn:hover {
    background-color: var(--color-secondary);
    transform: translateY(-50%) scale(1.08);
}

.lightbox-nav-btn.prev-btn {
    left: 20px;
}

.lightbox-nav-btn.next-btn {
    right: 20px;
}

.lightbox-caption {
    padding: 16px 24px;
    color: #E5E7EB;
    font-size: 0.95rem;
    font-weight: 500;
    text-align: center;
    background-color: #181A1D;
    border-top: 1px solid #2D3139;
}

@media (max-width: 768px) {
    .masonry-gallery {
        column-count: 1;
    }
    .lightbox-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    .lightbox-nav-btn.prev-btn { left: 10px; }
    .lightbox-nav-btn.next-btn { right: 10px; }
}






/* --- CONTACT PAGE & FORM STYLES --- */
.contact-main-section {
    padding: 70px 0;
    background-color: var(--color-white);
}

.contact-form-card {
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 35px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    margin-bottom: 40px;
}

.custom-contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

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

.form-group label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-dark);
}

.form-group label .required {
    color: #DC2626;
}

.input-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 14px;
    color: var(--color-primary);
    font-size: 1rem;
    pointer-events: none;
}

.input-icon-wrapper input,
.input-icon-wrapper select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px 12px 42px;
    border: 1px solid #D1D5DB;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-dark);
    background-color: #FAFAFA;
    transition: border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.form-group textarea {
    padding-left: 14px; /* No icon offset on multiline textarea */
}

.input-icon-wrapper input:focus,
.input-icon-wrapper select:focus,
.form-group textarea:focus {
    border-color: var(--color-primary);
    background-color: var(--color-white);
    box-shadow: 0 0 0 3px rgba(30, 58, 43, 0.15);
    outline: none;
}

.recaptcha-group {
    margin-top: 5px;
}

.btn-submit {
    align-self: flex-start;
    padding: 14px 32px;
    font-size: 1.05rem;
    cursor: pointer;
}

/* Alert Notification Boxes */
.form-alert {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    border-radius: 6px;
    margin-bottom: 25px;
}

.form-alert .alert-icon {
    font-size: 1.6rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.form-alert h4 {
    margin-bottom: 4px;
    font-size: 1.1rem;
}

.alert-success {
    background-color: #ECFDF5;
    border: 1px solid #10B981;
    color: #065F46;
}

.alert-success .alert-icon { color: #10B981; }

.alert-danger {
    background-color: #FEF2F2;
    border: 1px solid #EF4444;
    color: #991B1B;
}

.alert-danger .alert-icon { color: #EF4444; }

/* Office Map Block */
.office-map-block {
    margin-top: 40px;
}

.office-map-block h3 {
    font-size: 1.3rem;
    color: var(--color-primary);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.map-embed-wrapper {
    margin-top: 20px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

@media (max-width: 600px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
    .contact-form-card {
        padding: 20px;
    }
    .btn-submit {
        width: 100%;
        justify-content: center;
    }
}






































/* --- FOOTER --- */
.site-footer {
    background-color: var(--color-dark);
    color: #D1D5DB;
    padding-top: 60px;
    border-top: 1px solid #2D3139;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-brand {
    color: var(--color-white);
    margin-bottom: 15px;
}

.footer-col h4 {
    color: var(--color-white);
    margin-bottom: 18px;
    font-size: 1.1rem;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: #D1D5DB;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--color-secondary);
}

.footer-col p {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-col p i {
    color: var(--color-secondary);
    margin-top: 4px;
}

/* --- FOOTER BOTTOM & ATTRIBUTION STYLING --- */
.footer-bottom {
    background-color: #181A1D;
    padding: 22px 0;
    font-size: 0.85rem;
    border-top: 1px solid #2D3139;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    color: #9CA3AF;
}

.footer-bottom-inner p {
    margin: 0;
}

.service-area-text {
    text-align: center;
    color: #9CA3AF;
}

.developer-attribution {
    font-weight: 500;
}

.nwd-link {
    color: #D4A373 !important; /* Warm Cedar Accent */
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease, text-decoration 0.2s ease;
}

.nwd-link:hover {
    color: var(--color-white) !important;
    text-decoration: underline;
}

@media (max-width: 992px) {
    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}
/* --- FOOTER LINK CONTRAST FIX --- */
.footer-col a {
    color: #D1D5DB !important; /* Forces light gray over default primary green */
    transition: color 0.2s ease;
}

.footer-col a:hover {
    color: #D4A373 !important; /* Warm Cedar highlight on hover */
}

.footer-links a {
    color: #D1D5DB !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: #D4A373 !important;
}

.footer-col p a {
    display: inline;
}

/* --- BACK TO TOP FLOATING BUTTON --- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background-color: var(--color-secondary);
    color: var(--color-white) !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    z-index: 999;
    cursor: pointer;
    text-decoration: none;
    
    /* Hidden by default with smooth scale + fade transitions */
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px) scale(0.9);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background-color 0.2s ease;
}

/* Active state triggered via JS when scrolling past 300px */
.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.back-to-top:hover,
.back-to-top:focus-visible {
    background-color: var(--color-primary);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

/* Position adjustment for small screen viewports */
@media (max-width: 600px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 42px;
        height: 42px;
        font-size: 1.1rem;
    }
}
























/* --- RESPONSIVE BREAKPOINTS --- */
@media (max-width: 992px) {
    section { padding: 60px 0; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .service-area-card { padding: 30px; }
}

@media (max-width: 600px) {
    section { padding: 45px 0; }
    .grid-4, .grid-3, .grid-2, .footer-grid, .towns-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-section { padding: 80px 0 60px; }
    
    .mobile-nav-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--color-primary);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    }

    .nav-menu.is-open {
        display: flex;
    }

    .top-bar-inner {
        justify-content: center;
    }

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

    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }

    .hero-actions, .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
    }
}