/* =========================================================
   DUROMECH — services.css
   Styles for all service detail pages
========================================================= */

/* ── Page Hero ── */
#service-hero {
    background: linear-gradient(135deg, #1C1917 55%, #2a1610);
    min-height: auto;
    display: block;
    padding-top: 7rem;
    padding-bottom: 3.5rem;
    position: relative;
    overflow: hidden;
}

/* ── Inline nav for other services ── */
.service-nav {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 2rem;
}
.service-nav-link {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .55rem 1.25rem;
    border-radius: 9999px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    color: rgba(255,255,255,.65);
    font-size: .85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all .25s;
}
.service-nav-link:hover {
    background: rgba(249,115,22,.15);
    border-color: rgba(249,115,22,.4);
    color: #FB923C;
}
.service-nav-link.active {
    background: linear-gradient(135deg, #F97316, #EA580C);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 16px rgba(234,88,12,.3);
}

/* ── Feature card ── */
.feature-card {
    background: #fff;
    border: 1px solid #E7E5E4;
    border-radius: 1.5rem;
    padding: 2rem;
    transition: transform .3s, box-shadow .3s, border-color .3s;
}
.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(0,0,0,.07);
    border-color: #FB923C;
}
.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 1rem;
    background: linear-gradient(135deg, #FFF7ED, #FED7AA);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    transition: background .3s, transform .3s;
}
.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, #F97316, #EA580C);
    transform: scale(1.08) rotate(-5deg);
}
.feature-card:hover .feature-icon i {
    color: #fff !important;
}

/* ── FAQ section ── */
.faq-item {
    background: #fff;
    border: 1px solid #E7E5E4;
    border-radius: 1rem;
    overflow: hidden;
    transition: border-color .3s;
}
.faq-item:hover { border-color: #FED7AA; }
.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #1C1917;
    text-align: left;
}
.faq-question:hover { color: #EA580C; }
.faq-chevron {
    transition: transform .3s;
    flex-shrink: 0;
    color: #A8A29E;
}
.faq-item.open .faq-chevron { transform: rotate(180deg); color: #EA580C; }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease, padding .35s ease;
    padding: 0 1.5rem;
    color: #57534E;
    line-height: 1.8;
}
.faq-item.open .faq-answer {
    max-height: 300px;
    padding: 0 1.5rem 1.25rem;
}

/* ── Process step (numbered) ── */
.svc-step {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}
.svc-step-num {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #F97316, #EA580C);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(234,88,12,.3);
}

/* ── Stat info bar ── */
.info-stat {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: #FFF7ED;
    border: 1px solid #FED7AA;
    border-radius: 1rem;
}

/* ── Light navbar override (same as about) ── */
#navbar { background: rgba(255,255,255,0.96); backdrop-filter: blur(20px); box-shadow: 0 2px 40px rgba(0,0,0,.08); }
#navbar::before { display: none; }
#navbar .logo-word-duro { color: #1C1917; }
#navbar .logo-word-mech { color: #EA580C; }
#navbar .logo-sup       { color: #EA580C; }
#navbar .ham-line       { background: #44403C; }
#navbar .nav-link       { color: #44403C; }
#navbar .phone-link     { color: #44403C; }
#navbar .phone-icon-wrap { background: #FFF7ED; }

/* ═══════════════════════════════════════════════════════════════
   MOBILE FIXES — services.css
═══════════════════════════════════════════════════════════════ */
@media (max-width: 640px) {
    #service-hero { min-height: 34vh; padding-top: 4.5rem; }
    #service-hero h1 { font-size: clamp(1.6rem, 7vw, 2.5rem) !important; }
    .service-nav { overflow-x: auto; -webkit-overflow-scrolling: touch; display: flex; gap: .5rem; flex-wrap: nowrap; padding-bottom: .5rem; }
    .service-nav-link { white-space: nowrap; font-size: .8rem !important; padding: .5rem .85rem !important; flex-shrink: 0; }
    .feature-card { padding: 1.25rem !important; }
    .feature-icon { width: 48px !important; height: 48px !important; }
    .faq-question { font-size: .92rem !important; padding: .85rem 1rem !important; }
}
