/* css/pages/home.css — Full-Page Background Hero Slider */
.hero-section {
    position: relative;
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #06182B;
}

#hero-3d-canvas {
    display: none;
}

/* Fullscreen Slider Container */
.hero-slider--fullscreen {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    user-select: none;
    border: none;
    border-radius: 0;
    max-width: 100%;
    box-shadow: none;
}

.slider-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.slider-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1), transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(1.06);
    z-index: 1;
}

.slider-slide.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    z-index: 2;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Dark Navy Glass Gradient Overlay for High Contrast Text */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(6, 24, 43, 0.60) 0%, rgba(10, 37, 64, 0.45) 50%, rgba(6, 24, 43, 0.58) 100%);
    z-index: 2;
}

/* Foreground Hero Content */
.hero-container-full {
    position: relative;
    z-index: 3;
    width: 100%;
    padding-top: 140px;
    padding-bottom: 90px;
    display: flex;
    justify-content: center;
}

.hero-content--centered {
    max-width: 820px;
    text-align: center;
    color: #FFFFFF;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-badge-tag {
    display: inline-block;
    padding: 6px 18px;
    background: rgba(245, 107, 0, 0.22);
    border: 1px solid rgba(245, 107, 0, 0.5);
    color: #FF8A24;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    border-radius: 30px;
    margin-bottom: var(--space-4);
    backdrop-filter: blur(4px);
    text-transform: uppercase;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4.2vw, 3.1rem);
    font-weight: 800;
    color: #FFFFFF !important;
    line-height: 1.2;
    margin-bottom: var(--space-4);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: rgba(248, 249, 250, 0.95) !important;
    max-width: 720px;
    margin: 0 auto var(--space-8);
    line-height: 1.6;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.hero-actions {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    flex-wrap: wrap;
}

.btn--large {
    padding: 14px 32px;
    font-size: 1.05rem;
}

.btn--outline-light {
    background: rgba(255, 255, 255, 0.12);
    color: #FFFFFF !important;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(6px);
    transition: all 0.3s ease;
}

.btn--outline-light:hover {
    background: #FFFFFF;
    color: #0A2540 !important;
    border-color: #FFFFFF;
}

/* Floating Navigation Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(10, 37, 64, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 4;
    transition: all 0.3s ease;
    padding: 0;
}

.slider-arrow:hover {
    background: var(--orange, #F56B00);
    border-color: var(--orange, #F56B00);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 16px rgba(245, 107, 0, 0.5);
}

.slider-arrow--prev {
    left: 24px;
}

.slider-arrow--next {
    right: 24px;
}

@media (max-width: 768px) {
    .slider-arrow--prev { left: 10px; }
    .slider-arrow--next { right: 10px; }
    .slider-arrow { width: 38px; height: 38px; }
}

/* Floating Slide Caption Badge */
.slide-caption {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: rgba(10, 37, 64, 0.82);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 12px 20px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #FFFFFF;
    display: flex;
    flex-direction: column;
    gap: 3px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    z-index: 4;
    pointer-events: none;
    max-width: 380px;
}

@media (max-width: 768px) {
    .slide-caption {
        bottom: 16px;
        left: 16px;
        right: 16px;
        max-width: none;
        padding: 8px 14px;
    }
}

.slide-badge {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #FF8A24;
    text-transform: uppercase;
}

.slide-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #FFFFFF;
}

/* Slide Indicator Dots */
.slider-dots {
    position: absolute;
    bottom: 24px;
    right: 24px;
    display: flex;
    gap: 8px;
    z-index: 4;
    background: rgba(10, 37, 64, 0.7);
    backdrop-filter: blur(8px);
    padding: 8px 14px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
    .slider-dots {
        top: 90px;
        bottom: auto;
        right: 16px;
    }
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: var(--orange, #F56B00);
    width: 26px;
    border-radius: 12px;
}

.hero-image-badge {
    position: absolute;
    bottom: 16px;
    left: 16px;
    right: 16px;
    background: rgba(30, 30, 30, 0.90);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #FFFFFF;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(201, 147, 42, 0.4);
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.hero-image-badge .badge-dot {
    width: 10px;
    height: 10px;
    background: #25D366;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 8px #25D366;
}

.hero-image-badge strong {
    display: block;
    color: #FFFFFF;
    font-size: var(--fs-small);
    font-family: var(--font-heading);
    letter-spacing: var(--ls-wide);
}

.hero-image-badge small {
    display: block;
    color: var(--gold-light);
    font-size: var(--fs-xs);
}

@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: var(--space-8);
        padding-top: var(--space-24);
    }
    
    .hero-content {
        max-width: 100%;
        text-align: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-building-img {
        height: 380px;
    }
}

.trust-bar {
    background: var(--bg-secondary);
    border-top: 1px solid rgba(184, 134, 11, 0.12);
    border-bottom: 1px solid rgba(184, 134, 11, 0.12);
    padding: var(--space-6) 0;
}

.trust-bar__inner {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

@media (min-width: 768px) {
    .trust-bar__inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.trust-bar__title {
    font-family: var(--font-heading);
    color: var(--gold-dark);
    font-size: var(--fs-body-lg);
    margin: 0;
    white-space: nowrap;
}

.trust-list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    list-style: none;
    padding: 0;
    margin: 0;
}

.trust-list li {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--text-secondary);
    font-size: var(--fs-small);
}

.trust-list li svg {
    width: 16px;
    height: 16px;
    fill: var(--gold);
}

.business-models {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
}

@media (min-width: 768px) {
    .business-models {
        grid-template-columns: repeat(2, 1fr);
    }
}

.approach-timeline {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
    position: relative;
    margin-bottom: var(--space-8);
}

@media (min-width: 768px) {
    .approach-timeline {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--space-4);
    }
    
    .approach-timeline::before {
        content: '';
        position: absolute;
        top: 24px;
        left: 0;
        width: 100%;
        height: 2px;
        background: rgba(184, 134, 11, 0.15);
        z-index: 0;
    }
}

.timeline-step {
    position: relative;
    z-index: 1;
}

.timeline-number {
    width: 50px;
    height: 50px;
    background: var(--bg-surface);
    border: 2px solid var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    color: var(--gold);
    font-size: var(--fs-h3);
    font-weight: bold;
    margin-bottom: var(--space-4);
    box-shadow: var(--shadow-sm);
}

.hvac-teaser-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
    align-items: center;
}

@media (min-width: 768px) {
    .hvac-teaser-content {
        grid-template-columns: 1fr 1fr;
    }
}

.hvac-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    margin: var(--space-6) 0;
}

.hvac-feature {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3);
    background: var(--bg-surface);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--gold);
    box-shadow: var(--shadow-sm);
}

.hvac-feature svg {
    width: 24px;
    height: 24px;
    fill: var(--gold);
}

.featured-project-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
}

@media (min-width: 768px) {
    .featured-project-layout {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
}

.featured-project-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.plot-stats {
    background: var(--bg-surface);
    padding: var(--space-6);
    border-radius: var(--radius-md);
    margin: var(--space-6) 0;
    border: var(--border-subtle);
    box-shadow: var(--shadow-sm);
}

.plot-counter-display {
    font-family: var(--font-heading);
    font-size: var(--fs-h2);
    color: var(--gold-dark);
    margin-bottom: var(--space-2);
}

.plot-bar-container {
    height: 8px;
    background: var(--gray-100);
    border-radius: 4px;
    overflow: hidden;
    margin-top: var(--space-4);
}

.plot-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light));
    width: 0%;
    transition: width 1.5s ease-out;
}

/* Final CTA — stays dark for contrast */
.final-cta {
    background: var(--bg-dark);
    text-align: center;
    padding: var(--space-12) 0;
}

.final-cta h2 {
    color: var(--text-on-dark);
}

.final-cta p {
    color: rgba(245, 245, 240, 0.7);
}

.final-cta__actions {
    display: flex;
    justify-content: center;
    gap: var(--space-4);
    flex-wrap: wrap;
    margin-top: var(--space-8);
}
