/* ============================================================
   D-CONCEPT — Service Pages Extension CSS
   Extends styles.css with custom components for service pages
   Mobile-first approach
   ============================================================ */

:root {
    --dc-primary: #D45831;
    --dc-primary-light: rgba(212, 88, 49, 0.08);
    --dc-primary-10: rgba(212, 88, 49, 0.1);
    --dc-dark: #101010;
    --dc-text: #696E73;
    --dc-bg: #F7F7F7;
    --dc-bg-2: #F6F4F3;
    --dc-white: #ffffff;
    --dc-line: #E9E9E9;
    --dc-radius: 16px;
}

/* --- Page Hero Banner --- */
.dc-page-hero {
    position: relative;
    overflow: hidden;
    min-height: 340px;
    display: flex;
    align-items: center;
}
.dc-page-hero .hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.dc-page-hero .hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.dc-page-hero .hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(16, 16, 16, 0.88) 0%, rgba(16, 16, 16, 0.6) 100%);
    z-index: 1;
}
.dc-page-hero .hero-content {
    position: relative;
    z-index: 2;
    padding: 60px 0 40px;
    width: 100%;
}
.dc-page-hero .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 100px;
    background: var(--dc-primary);
    color: var(--dc-white);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    margin-bottom: 16px;
}
.dc-page-hero .hero-title {
    color: var(--dc-white);
    margin-bottom: 16px;
}
.dc-page-hero .hero-desc {
    color: rgba(255, 255, 255, 0.75);
    max-width: 600px;
    margin-bottom: 24px;
}
.dc-page-hero .hero-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.dc-page-hero .hero-breadcrumb a {
    color: var(--dc-primary);
    font-weight: 500;
    font-size: 14px;
}
.dc-page-hero .hero-breadcrumb span {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}
.dc-page-hero .hero-breadcrumb .current {
    color: rgba(255, 255, 255, 0.8);
}
@media (min-width: 992px) {
    .dc-page-hero {
        min-height: 420px;
    }
    .dc-page-hero .hero-content {
        padding: 80px 0 60px;
    }
}

/* --- Spec Cards (stats/numbers) --- */
.dc-spec-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.dc-spec-card {
    background: var(--dc-white);
    border: 1px solid var(--dc-line);
    border-radius: 12px;
    padding: 24px 20px;
    text-align: center;
    transition: all 0.3s ease;
}
.dc-spec-card:hover {
    border-color: var(--dc-primary);
    box-shadow: 0 8px 30px rgba(212, 88, 49, 0.1);
    transform: translateY(-4px);
}
.dc-spec-card .spec-value {
    display: block;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    color: var(--dc-primary);
    line-height: 1.2;
    margin-bottom: 4px;
}
.dc-spec-card .spec-label {
    font-size: 14px;
    color: var(--dc-text);
    font-weight: 500;
}
@media (min-width: 576px) {
    .dc-spec-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
    }
}
@media (min-width: 1200px) {
    .dc-spec-card {
        padding: 32px 24px;
    }
}

/* --- Feature/Highlight Chips --- */
.dc-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.dc-highlight-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 100px;
    background: var(--dc-primary-light);
    color: var(--dc-primary);
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}
.dc-highlight-chip:hover {
    background: var(--dc-primary);
    color: var(--dc-white);
}
.dc-highlight-chip .icon {
    font-size: 14px;
}

/* --- Material Cards (image + text) --- */
.dc-material-card {
    border-radius: var(--dc-radius);
    overflow: hidden;
    background: var(--dc-white);
    border: 1px solid var(--dc-line);
    transition: all 0.4s ease;
}
.dc-material-card:hover {
    border-color: var(--dc-primary);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}
.dc-material-card .card-img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1.2;
}
.dc-material-card .card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.dc-material-card:hover .card-img img {
    transform: scale(1.08);
}
.dc-material-card .card-body {
    padding: 16px;
}
.dc-material-card .card-body h6 {
    font-weight: 600;
    margin-bottom: 4px;
}
.dc-material-card .card-body p {
    font-size: 14px;
    color: var(--dc-text);
    line-height: 22px;
}

/* --- Application/Service Icon Cards --- */
.dc-icon-card {
    background: var(--dc-white);
    border: 1px solid var(--dc-line);
    border-radius: var(--dc-radius);
    padding: 24px 20px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: 100%;
}
.dc-icon-card:hover {
    border-color: var(--dc-primary);
    box-shadow: 0 8px 30px rgba(212, 88, 49, 0.08);
    transform: translateY(-4px);
}
.dc-icon-card .ic-wrap {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: var(--dc-primary-light);
    color: var(--dc-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}
.dc-icon-card:hover .ic-wrap {
    background: var(--dc-primary);
    color: var(--dc-white);
}
.dc-icon-card .card-title {
    font-weight: 600;
    font-size: 18px;
    line-height: 26px;
}
.dc-icon-card .card-desc {
    font-size: 14px;
    line-height: 22px;
    color: var(--dc-text);
}
@media (min-width: 992px) {
    .dc-icon-card {
        padding: 32px 28px;
    }
    .dc-icon-card .ic-wrap {
        width: 64px;
        height: 64px;
        font-size: 28px;
    }
}

/* --- Process Timeline --- */
.dc-timeline {
    display: grid;
    gap: 0;
    position: relative;
}
.dc-timeline-step {
    display: flex;
    gap: 20px;
    padding-bottom: 32px;
    position: relative;
}
.dc-timeline-step:last-child {
    padding-bottom: 0;
}
.dc-timeline-step::before {
    content: "";
    position: absolute;
    left: 23px;
    top: 48px;
    bottom: 0;
    width: 2px;
    background: var(--dc-line);
}
.dc-timeline-step:last-child::before {
    display: none;
}
.dc-timeline-step .step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--dc-primary-light);
    color: var(--dc-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    border: 2px solid var(--dc-primary);
    transition: all 0.3s ease;
}
.dc-timeline-step:hover .step-number {
    background: var(--dc-primary);
    color: var(--dc-white);
}
.dc-timeline-step .step-content {
    flex: 1;
    padding-top: 4px;
}
.dc-timeline-step .step-content h6 {
    font-weight: 600;
    margin-bottom: 6px;
}
.dc-timeline-step .step-content p {
    font-size: 14px;
    line-height: 22px;
    color: var(--dc-text);
}
@media (min-width: 768px) {
    .dc-timeline {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    .dc-timeline-step {
        padding-bottom: 0;
    }
    .dc-timeline-step::before {
        display: none;
    }
    .dc-timeline-step .step-number {
        width: 56px;
        height: 56px;
        font-size: 20px;
    }
}

/* --- CTA Section --- */
.dc-cta-section {
    background: var(--dc-dark);
    border-radius: var(--dc-radius);
    padding: 40px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.dc-cta-section::before {
    content: "";
    position: absolute;
    top: -80px;
    right: -80px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: var(--dc-primary);
    opacity: 0.15;
    pointer-events: none;
}
.dc-cta-section::after {
    content: "";
    position: absolute;
    bottom: -60px;
    left: -60px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: var(--dc-primary);
    opacity: 0.1;
    pointer-events: none;
}
.dc-cta-section .cta-badge {
    display: inline-flex;
    padding: 6px 20px;
    border-radius: 100px;
    background: var(--dc-primary);
    color: var(--dc-white);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
}
.dc-cta-section h3 {
    color: var(--dc-white);
    margin-bottom: 12px;
}
.dc-cta-section p {
    color: rgba(255, 255, 255, 0.65);
    max-width: 500px;
    margin: 0 auto 28px;
}
.dc-cta-section .cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    position: relative;
    z-index: 1;
}
@media (min-width: 992px) {
    .dc-cta-section {
        padding: 64px 48px;
        border-radius: 20px;
    }
}

/* --- Support Info Card (simple icon + text inline) --- */
.dc-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 0;
}
.dc-info-item:not(:last-child) {
    border-bottom: 1px solid var(--dc-line);
}
.dc-info-item .info-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--dc-primary-light);
    color: var(--dc-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}
.dc-info-item .info-text h6 {
    font-weight: 600;
    margin-bottom: 2px;
}
.dc-info-item .info-text p {
    font-size: 14px;
    color: var(--dc-text);
    line-height: 22px;
}

/* --- Advantages / Check List --- */
.dc-check-list {
    display: grid;
    gap: 12px;
}
.dc-check-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 10px;
    background: var(--dc-primary-light);
    transition: all 0.3s ease;
}
.dc-check-item:hover {
    background: var(--dc-primary);
    color: var(--dc-white);
}
.dc-check-item .check-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--dc-primary);
    color: var(--dc-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}
.dc-check-item:hover .check-icon {
    background: var(--dc-white);
    color: var(--dc-primary);
}
.dc-check-item span {
    font-weight: 500;
    font-size: 15px;
}
@media (min-width: 576px) {
    .dc-check-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --- Service Page Sub-heading --- */
.dc-sub-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--dc-primary);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.dc-sub-label::before {
    content: "";
    width: 24px;
    height: 2px;
    background: var(--dc-primary);
    border-radius: 2px;
}

/* --- Alternating Image+Text Rows --- */
.dc-split-row {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.dc-split-row .split-image {
    border-radius: var(--dc-radius);
    overflow: hidden;
}
.dc-split-row .split-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 280px;
}
@media (min-width: 992px) {
    .dc-split-row {
        flex-direction: row;
        align-items: center;
        gap: 60px;
    }
    .dc-split-row > * {
        width: 50%;
    }
    .dc-split-row.reverse {
        flex-direction: row-reverse;
    }
    .dc-split-row .split-image img {
        min-height: 400px;
    }
}

/* ============================================================
   Parallax Section
   ============================================================ */
.dc-parallax-section {
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}
.dc-parallax-section .parallax-bg {
    position: absolute;
    top: -20%;
    left: 0;
    width: 100%;
    height: 140%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 0;
}
.dc-parallax-section .parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 25, 47, 0.88);
    z-index: 1;
}
.dc-parallax-section > .container {
    position: relative;
    z-index: 2;
}
.dc-parallax-section .sect-heading .s-title,
.dc-parallax-section .sect-heading .dc-sub-label {
    color: #fff;
}
.dc-parallax-section .sect-heading .s-desc {
    color: rgba(255, 255, 255, 0.7);
}
.dc-parallax-section .dc-icon-card {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.dc-parallax-section .dc-icon-card:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
}
.dc-parallax-section .dc-icon-card .card-title {
    color: #fff;
}
.dc-parallax-section .dc-icon-card .card-desc {
    color: rgba(255, 255, 255, 0.65);
}
.dc-parallax-section .dc-icon-card .ic-wrap {
    background: rgba(212, 88, 49, 0.2);
}
.dc-parallax-section .dc-icon-card .ic-wrap i {
    color: var(--dc-primary);
}
.dc-parallax-section .dc-sub-label::before {
    background: #fff;
}

/* --- Icon Card with Background Image (parallax sections) --- */
.dc-icon-card.has-img {
    position: relative;
    overflow: hidden;
}
.dc-icon-card.has-img .card-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.4s ease, transform 0.6s ease;
    z-index: 0;
    pointer-events: none;
}
.dc-icon-card.has-img:hover .card-img {
    opacity: 0.55;
    transform: scale(1.06);
}
.dc-icon-card.has-img::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 75%;
    background: linear-gradient(to top, rgba(10, 20, 40, 0.92) 0%, rgba(10, 20, 40, 0.7) 40%, rgba(10, 20, 40, 0.0) 100%);
    z-index: 1;
    pointer-events: none;
    border-radius: 0 0 var(--dc-radius) var(--dc-radius);
}
.dc-icon-card.has-img .ic-wrap,
.dc-icon-card.has-img .card-title,
.dc-icon-card.has-img .card-desc {
    position: relative;
    z-index: 2;
}

/* ============================================================
   Gallery & Filter (Réalisations page)
   ============================================================ */
.dc-filter-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}
.dc-filter-bar .tf-btn {
    height: 40px;
    padding-left: 20px;
    padding-right: 20px;
    font-size: 14px;
}
.dc-gallery-item {
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.dc-gallery-card {
    border-radius: var(--dc-radius);
    overflow: hidden;
}
.dc-gallery-card .img-style {
    overflow: hidden;
}
.dc-gallery-card .img-style img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.dc-gallery-card:hover .img-style img {
    transform: scale(1.05);
}
.dc-gallery-info {
    padding: 16px 4px;
}
.dc-gallery-info .dc-gallery-cat {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: var(--dc-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}
.dc-gallery-info h6 {
    margin-bottom: 4px;
}
.dc-gallery-info p {
    font-size: 14px;
    line-height: 20px;
}

/* ============================================================
   Contact Page — Info List & Social Links
   ============================================================ */
.dc-info-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.dc-social-links {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}
.dc-social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--dc-primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dc-primary);
    font-size: 18px;
    transition: all 0.3s ease;
}
.dc-social-link:hover {
    background: var(--dc-primary);
    color: #fff;
    transform: translateY(-3px);
}

@supports (-webkit-touch-callout: none) {
    .dc-parallax-section .parallax-bg {
        background-attachment: scroll;
    }
}
@media (max-width: 767px) {
    .dc-parallax-section {
        padding: 60px 0;
    }
    .dc-parallax-section .parallax-bg {
        background-attachment: scroll;
    }
    .dc-filter-bar {
        gap: 8px;
    }
    .dc-filter-bar .tf-btn {
        height: 36px;
        padding-left: 14px;
        padding-right: 14px;
        font-size: 12px;
    }
    .dc-gallery-card .img-style img {
        height: 200px;
    }
}
