/* ==========================================================================
   EgyServ Corporate Logistics - Services Details Pages Stylesheet
   Modern Corporate & Premium Logistics Identity
   File: wwwroot/css/services.css
   ========================================================================== */

/* 1. Services Hero & Breadcrumb Banner */
.service-hero-banner {
    position: relative;
    background: linear-gradient(135deg, #07172c 0%, #0a2540 50%, #0d3b66 100%);
    padding: 70px 0 60px;
    color: #ffffff;
    overflow: hidden;
}

.service-hero-banner::before {
    content: '';
    position: absolute;
    top: -150px;
    inset-inline-start: -150px;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 136, 255, 0.2) 0%, rgba(0,0,0,0) 70%);
    pointer-events: none;
}

.service-hero-banner::after {
    content: '';
    position: absolute;
    bottom: -150px;
    inset-inline-end: -150px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 119, 0, 0.16) 0%, rgba(0,0,0,0) 70%);
    pointer-events: none;
}

.service-hero-content {
    position: relative;
    z-index: 2;
    text-align: start;
}

/* Breadcrumbs */
.service-hero-banner .breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 20px;
    font-size: 0.92rem;
    font-weight: 600;
}

.service-hero-banner .breadcrumb-item a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.25s ease;
}

.service-hero-banner .breadcrumb-item a:hover {
    color: #38bdf8;
}

.service-hero-banner .breadcrumb-item.active {
    color: #ffffff;
}

.service-hero-banner .breadcrumb-item + .breadcrumb-item::before {
    color: #64748b;
    padding: 0 10px;
}

/* Hero Badge & Titles */
.service-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #38bdf8;
    font-size: 0.88rem;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.service-hero-title {
    font-size: 2.65rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.3;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.service-hero-subtitle {
    font-size: 1.1rem;
    color: #cbd5e1;
    line-height: 1.7;
    max-width: 720px;
    margin: 0;
}

/* 2. Main Service Details Section */
.service-details-section {
    padding: 40px 0 80px;
    background: #f8fafc;
}

/* Main Card Container */
.service-main-card {
    background: #ffffff;
    border-radius: 26px;
    border: 1.5px solid #e2e8f0;
    padding: 35px;
    box-shadow: 0 12px 35px -6px rgba(10, 37, 64, 0.08);
    transition: box-shadow 0.3s ease;
}

.service-main-card:hover {
    box-shadow: 0 18px 45px -6px rgba(10, 37, 64, 0.12);
}

/* Featured Main Image */
.service-featured-img-wrap {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    margin-bottom: 35px;
    box-shadow: 0 12px 30px rgba(10, 37, 64, 0.12);
    background: #0f172a;
}

.service-featured-img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.service-featured-img-wrap:hover .service-featured-img {
    transform: scale(1.03);
}

.service-img-glass-badge {
    position: absolute;
    bottom: 20px;
    inset-inline-start: 20px;
    background: rgba(10, 37, 64, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #ffffff;
    padding: 9px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.service-img-glass-badge i {
    color: #ff7700;
}

/* Content Typography */
.service-headline {
    font-size: 1.65rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: start;
}

.service-headline-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #0056b3, #0088ff);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
    box-shadow: 0 6px 16px rgba(0, 86, 179, 0.25);
}

.service-paragraph {
    font-size: 1.05rem;
    color: #334155;
    line-height: 1.85;
    margin-bottom: 20px;
    text-align: start;
}

/* Highlights Grid (3 Core Value Props) */
.service-highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 30px 0 35px;
}

.service-highlight-item {
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 18px;
    padding: 18px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    text-align: start;
}

.service-highlight-item:hover {
    border-color: #0056b3;
    background: #ffffff;
    box-shadow: 0 8px 22px rgba(0, 86, 179, 0.08);
    transform: translateY(-2px);
}

.service-highlight-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(0, 86, 179, 0.08);
    color: #0056b3;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.service-highlight-item:hover .service-highlight-icon {
    background: #0056b3;
    color: #ffffff;
}

.service-highlight-text strong {
    font-size: 0.95rem;
    font-weight: 800;
    color: #0f172a;
    display: block;
    line-height: 1.25;
}

.service-highlight-text span {
    font-size: 0.78rem;
    color: #64748b;
    font-weight: 500;
}

/* Secondary Gallery Images */
.service-gallery-wrap {
    margin: 30px 0 25px;
}

.service-gallery-card {
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 8px 24px rgba(10, 37, 64, 0.08);
    background: #0f172a;
    border: 1px solid #e2e8f0;
    margin-bottom: 20px;
}

.service-gallery-img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.service-gallery-card:hover .service-gallery-img {
    transform: scale(1.06);
}

/* In-Page CTA Box */
.service-cta-box {
    background: linear-gradient(135deg, #f0f7ff 0%, #e0efff 100%);
    border: 1.5px solid #bfdbfe;
    border-radius: 22px;
    padding: 26px 30px;
    margin-top: 35px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    text-align: start;
}

.service-cta-info h4 {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 6px;
}

.service-cta-info p {
    font-size: 0.95rem;
    color: #475569;
    margin: 0;
}

.service-cta-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-service-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 50px;
    background: linear-gradient(135deg, #0056b3, #0088ff);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none !important;
    transition: all 0.25s ease;
    box-shadow: 0 6px 18px rgba(0, 86, 179, 0.25);
    border: none;
}

.btn-service-primary:hover {
    background: linear-gradient(135deg, #ff7700, #ffa133);
    box-shadow: 0 8px 22px rgba(255, 119, 0, 0.35);
    transform: translateY(-2px);
}

.btn-service-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 50px;
    background: #ffffff;
    color: #0056b3 !important;
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none !important;
    transition: all 0.25s ease;
    border: 1.5px solid #0056b3;
}

.btn-service-outline:hover {
    background: #0056b3;
    color: #ffffff !important;
    transform: translateY(-2px);
}

/* 3. Sidebar Widgets Styling */
.service-sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.sidebar-card {
    background: #ffffff;
    border-radius: 24px;
    border: 1.5px solid #e2e8f0;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(10, 37, 64, 0.06);
    transition: box-shadow 0.3s ease;
}

.sidebar-card:hover {
    box-shadow: 0 16px 40px rgba(10, 37, 64, 0.1);
}

/* Sidebar Services Navigation Menu */
.sidebar-menu-header {
    background: linear-gradient(135deg, #0a2540 0%, #0056b3 100%);
    color: #ffffff;
    padding: 20px 24px;
    font-size: 1.15rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: start;
}

.sidebar-menu-list {
    list-style: none;
    padding: 8px 0;
    margin: 0;
}

.sidebar-menu-item a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 22px;
    color: #334155;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none !important;
    transition: all 0.25s ease;
    border-bottom: 1px solid #f1f5f9;
}

.sidebar-menu-item:last-child a {
    border-bottom: none;
}

.sidebar-menu-item a .item-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sidebar-menu-item a .item-left i {
    font-size: 1.1rem;
    color: #64748b;
    width: 22px;
    text-align: center;
    transition: color 0.25s ease;
}

.sidebar-menu-item a .item-arrow {
    font-size: 0.85rem;
    color: #cbd5e1;
    transition: all 0.25s ease;
}

.sidebar-menu-item a:hover {
    background: #f8fafc;
    color: #0056b3;
    padding-inline-start: 26px;
}

.sidebar-menu-item a:hover .item-left i {
    color: #0056b3;
}

html[dir="rtl"] .sidebar-menu-item a:hover .item-arrow {
    color: #ff7700;
    transform: translateX(-4px);
}

html[dir="ltr"] .sidebar-menu-item a:hover .item-arrow {
    color: #ff7700;
    transform: translateX(4px);
}

/* Active Menu Item */
.sidebar-menu-item.active a {
    background: linear-gradient(135deg, rgba(0, 86, 179, 0.08), rgba(0, 136, 255, 0.08));
    color: #0056b3;
    font-weight: 800;
    border-inline-start: 4px solid #0056b3;
}

.sidebar-menu-item.active a .item-left i {
    color: #0056b3;
}

.sidebar-menu-item.active a .item-arrow {
    color: #0056b3;
}

/* Sidebar Features / Guarantees Widget */
.sidebar-features-body {
    padding: 24px;
    text-align: start;
}

.sidebar-features-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sidebar-feature-point {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #334155;
    background: #f8fafc;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.25s ease;
}

.sidebar-feature-point:hover {
    background: #ffffff;
    border-color: #0056b3;
}

html[dir="rtl"] .sidebar-feature-point:hover {
    transform: translateX(-4px);
}

html[dir="ltr"] .sidebar-feature-point:hover {
    transform: translateX(4px);
}

.sidebar-feature-point i {
    color: #10b981;
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* Sidebar Contact Card */
.sidebar-contact-card {
    background: linear-gradient(135deg, #07172c 0%, #0a2540 100%);
    border-radius: 24px;
    padding: 28px 24px;
    color: #ffffff;
    text-align: start;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.sidebar-contact-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid #10b981;
    color: #34d399;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 30px;
    margin-bottom: 16px;
}

.sidebar-contact-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 8px;
}

.sidebar-contact-desc {
    font-size: 0.9rem;
    color: #94a3b8;
    margin-bottom: 22px;
    line-height: 1.6;
}

.sidebar-hotline-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #ff7700, #ffa133);
    color: #ffffff !important;
    text-decoration: none !important;
    padding: 14px 20px;
    border-radius: 16px;
    font-weight: 800;
    font-size: 1.15rem;
    box-shadow: 0 8px 22px rgba(255, 119, 0, 0.4);
    margin-bottom: 18px;
    transition: all 0.25s ease;
}

.sidebar-hotline-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(255, 119, 0, 0.5);
    color: #ffffff !important;
}

.sidebar-contact-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sidebar-contact-link-item a {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #cbd5e1;
    font-size: 0.88rem;
    font-weight: 500;
    text-decoration: none !important;
    transition: color 0.25s ease;
}

.sidebar-contact-link-item a:hover {
    color: #38bdf8;
}

.sidebar-contact-link-item a i {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #38bdf8;
    font-size: 0.95rem;
    flex-shrink: 0;
}

/* 4. Responsive Queries */
@media (max-width: 991.98px) {
    .service-hero-title {
        font-size: 2.15rem;
    }

    .service-highlights-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .service-cta-box {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .service-cta-actions {
        justify-content: center;
    }

    .service-sidebar {
        margin-top: 40px;
    }
}

@media (max-width: 575.98px) {
    .service-hero-banner {
        padding: 50px 0 45px;
    }

    .service-hero-title {
        font-size: 1.8rem;
    }

    .service-main-card {
        padding: 22px 18px;
        border-radius: 20px;
    }

    .service-headline {
        font-size: 1.35rem;
    }

    .service-img-glass-badge {
        font-size: 0.85rem;
        padding: 6px 14px;
        bottom: 12px;
        inset-inline-start: 12px;
    }
}
