/* ========================================
   CONSTRUCTION PAGE SPECIFIC STYLES
   Design Vision - Expert Construction Services
   ======================================== */

/* ========== ANIMATIONS ========== */
@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-shimmer {
    animation: shimmer 3s ease-in-out infinite;
}

/* ========== GRADIENT TEXT ========== */
.text-gradient-gold {
    background: linear-gradient(135deg, #C9A45B 0%, #E6C980 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========== PAGE HEADER ========== */
.page-header {
    position: relative;
    background: linear-gradient(135deg, #0F1A2A 0%, #1a2332 100%);
    padding: 8rem 0 6rem;
    overflow: hidden;
}

.page-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
}

.page-subtitle {
    font-weight: 300;
    line-height: 1.6;
}

/* ========== BREADCRUMBS ========== */
.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
}

.breadcrumbs a {
    transition: color 0.3s ease;
}

/* ========== SECTION PADDING ========== */
.section-padding {
    padding: 5rem 0;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 3rem 0;
    }
}

/* ========== SERVICE CARDS ========== */
.service-card {
    position: relative;
    padding: 2rem;
    background: white;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #C9A45B, #E6C980);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(201, 164, 91, 0.15);
    border-color: #C9A45B;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: inline-block;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

/* ========== STATS SECTION ========== */
.stats-section {
    background: linear-gradient(135deg, #0F1A2A 0%, #1a2332 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(201, 164, 91, 0.05) 0%, transparent 70%);
    animation: float 15s ease-in-out infinite;
}

.stat-item {
    text-align: center;
    padding: 2rem;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    color: #C9A45B;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ========== REVEAL ANIMATIONS ========== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease;
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease;
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* ========== SUBCATEGORY SECTIONS ========== */
.subcategory-section {
    scroll-margin-top: 100px;
    padding: 5rem 0;
}

.subcategory-section:nth-child(even) {
    background: #f8f9fa;
}

.subcategory-header {
    text-align: center;
    margin-bottom: 4rem;
}

.subcategory-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background: rgba(201, 164, 91, 0.1);
    border: 1px solid rgba(201, 164, 91, 0.3);
    border-radius: 50px;
    margin-bottom: 1.5rem;
}

.subcategory-badge span {
    color: #C9A45B;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ========== PROCESS TIMELINE ========== */
.process-timeline {
    position: relative;
    padding: 2rem 0;
}

.process-step {
    position: relative;
    padding-left: 4rem;
    margin-bottom: 3rem;
}

.process-step::before {
    content: '';
    position: absolute;
    left: 1.25rem;
    top: 3.5rem;
    width: 2px;
    height: calc(100% - 3.5rem);
    background: linear-gradient(180deg, #C9A45B, transparent);
}

.process-step:last-child::before {
    display: none;
}

.process-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, #C9A45B, #E6C980);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    box-shadow: 0 4px 15px rgba(201, 164, 91, 0.3);
    z-index: 1;
}

.process-content h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a2332;
    margin-bottom: 0.5rem;
}

.process-content p {
    color: #6b7280;
    line-height: 1.6;
}

/* ========== FEATURE GRID ========== */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-item {
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.feature-item:hover {
    border-color: #C9A45B;
    box-shadow: 0 8px 20px rgba(201, 164, 91, 0.1);
    transform: translateY(-4px);
}

.feature-icon {
    font-size: 2rem;
    color: #C9A45B;
    margin-bottom: 1rem;
}

.feature-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1a2332;
    margin-bottom: 0.5rem;
}

.feature-description {
    color: #6b7280;
    font-size: 0.875rem;
    line-height: 1.5;
}

/* ========== IMAGE OVERLAY ========== */
.image-overlay {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

.image-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(201, 164, 91, 0.3), rgba(26, 35, 50, 0.5));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.image-overlay:hover::after {
    opacity: 1;
}

.image-overlay img {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.image-overlay:hover img {
    transform: scale(1.05);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .stat-number {
        font-size: 2.5rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .service-icon {
        font-size: 2.5rem;
    }

    .process-step {
        padding-left: 3rem;
    }

    .process-number {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }
}