/* power-energy.css — page-scoped styles for power-energy.html
 * (inspection showcase, applications section). */

.inspection-showcase {
    padding: 80px 0;
    background: linear-gradient(135deg, #0a0b0f 0%, #1a1b1f 100%);
    position: relative;
    overflow: hidden;
}

.inspection-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.inspection-header {
    text-align: center;
    margin-bottom: 60px;
}

.inspection-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

/* Image Section */
.inspection-visual {
    position: relative;
}

.inspection-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 255, 255, 0.15);
    background: linear-gradient(135deg, #00ffff10, #00ffff05);
    padding: 20px;
    animation: float 6s ease-in-out infinite;
}

.inspection-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
}

.inspection-badge {
    position: absolute;
    top: 30px;
    right: 30px;
    background: rgba(0, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 15px 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.3);
}

.badge-number {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: #0a0b0f;
    margin-bottom: 5px;
}

.badge-text {
    display: block;
    font-size: 12px;
    color: #0a0b0f;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Features Grid */
.inspection-features {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(0, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(0, 255, 255, 0.05);
    border-color: rgba(0, 255, 255, 0.3);
    transform: translateY(-2px);
}

.feature-icon-wrapper {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent), #00cccc);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon-wrapper i {
    color: #0a0b0f;
    font-size: 18px;
}

.feature-content h4 {
    color: var(--text);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.feature-content p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.5;
}

/* Stats Bar */
.inspection-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 25px;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.1), rgba(0, 255, 255, 0.05));
    border-radius: 16px;
    border: 1px solid rgba(0, 255, 255, 0.2);
}

.stat-item {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 5px;
}

.stat-label {
    display: block;
    font-size: 13px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Applications Section Redesign */
.applications-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #0a0b0f 0%, #1a1b1f 100%);
    position: relative;
}

.applications-header {
    text-align: center;
    margin-bottom: 60px;
}

.applications-content {
    display: grid;
    grid-template-columns: 1.3fr 0.85fr;
    gap: 60px;
    align-items: center;
}

/* Services List Styling */
.applications-services {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.app-service-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(100, 255, 218, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
}

.app-service-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, transparent, var(--accent), transparent);
    border-radius: 3px 0 0 3px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.app-service-item:hover {
    background: rgba(100, 255, 218, 0.05);
    border-color: rgba(100, 255, 218, 0.3);
    transform: translateX(5px);
}

.app-service-item:hover::before {
    opacity: 1;
}

.app-service-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent), #00cccc);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.app-service-icon i {
    color: #0a0b0f;
    font-size: 22px;
}

.app-service-content h3 {
    color: var(--text);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.app-service-content p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* Image Section Styling */
.applications-visual {
    position: relative;
    max-width: 450px;
    margin-left: auto;
}

.app-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #0a0b0f, #1a1b1f);
    min-height: 650px;
    display: flex;
    align-items: flex-start;
}

.app-promo-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    transform: scale(1.0);
    transform-origin: center center;
}

.app-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.9));
    padding: 30px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.app-image-wrapper:hover .app-image-overlay {
    transform: translateY(0);
}

.overlay-content {
    color: white;
}

.overlay-badge {
    display: inline-block;
    padding: 5px 12px;
    background: var(--accent);
    color: #0a0b0f;
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
    margin-bottom: 10px;
}

.overlay-content h4 {
    font-size: 20px;
    margin-bottom: 8px;
    color: white;
}

.overlay-content p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* Decorative Elements */
.app-image-wrapper::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--accent), transparent, var(--accent));
    border-radius: 20px;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.app-image-wrapper:hover::before {
    opacity: 0.5;
    animation: rotate 3s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .applications-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .applications-visual {
        max-width: 520px;
        margin: 0 auto;
    }
}

@media (max-width: 1024px) {
    .inspection-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .inspection-visual {
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .applications-section {
        padding: 60px 0;
    }

    .app-service-item {
        padding: 20px;
        gap: 15px;
    }

    .app-service-icon {
        width: 40px;
        height: 40px;
    }

    .app-service-icon i {
        font-size: 18px;
    }

    .app-service-content h3 {
        font-size: 16px;
    }

    .app-image-overlay {
        transform: translateY(0);
        background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.7));
        padding: 20px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .inspection-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .inspection-badge {
        top: 20px;
        right: 20px;
        padding: 10px 15px;
    }

    .badge-number {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .app-service-item {
        flex-direction: column;
        text-align: center;
    }

    .app-service-icon {
        margin: 0 auto;
    }
}

/* Animation */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
