/* =============================================================
   ELITE RIDES — Service Single Detail Pages
   Exact copy of html-light/service-single layout styles,
   adapted for Elite Rides dark/light theme system.
   ============================================================= */

/* ─── Page wrapper ─────────────────────────────────────────── */
.page-service-single {
    padding: 100px 0;
}

/* ─── Sidebar ──────────────────────────────────────────────── */
.service-sidebar {
    position: sticky;
    top: 20px;
    margin-right: 30px;
}

.service-catagery-list {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 30px;
    padding: 30px;
    margin-bottom: 50px;
}

.service-catagery-list h3 {
    font-size: 20px;
    font-weight: 600;
    text-transform: capitalize;
    margin-bottom: 30px;
    color: #fff;
}

.service-catagery-list ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.service-catagery-list ul li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
    padding-bottom: 20px;
}

.service-catagery-list ul li:last-child {
    border: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.service-catagery-list ul li a {
    display: block;
    position: relative;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    text-transform: capitalize;
    text-decoration: none !important;
    transition: all 0.3s ease-in-out;
    padding-right: 20px;
}

.service-catagery-list ul li:hover a,
.service-catagery-list ul li a.is-active {
    color: #0099ff;
}

.service-catagery-list ul li a::after {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translate(0, -50%);
    background-image: url('../html - light/images/arrow-orange.svg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 12px auto;
    width: 12px;
    height: 12px;
    transition: all 0.3s ease-in-out;
    filter: hue-rotate(180deg) brightness(1.8);
}

.service-catagery-list ul li:hover a::after {
    transform: translate(0, -50%) rotate(45deg);
}

/* ─── Sidebar CTA ──────────────────────────────────────────── */
.sidebar-cta-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 30px;
    text-align: center;
    padding: 40px 30px;
}

.cta-contact-item .icon-box {
    margin-bottom: 30px;
}

.cta-contact-item .icon-box img {
    max-width: 65px;
    margin: 0 auto;
}

.cta-contact-content {
    margin-bottom: 30px;
}

.cta-contact-content h2 {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #fff;
}

.cta-contact-content p {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
}

.cta-contact-btn .btn-default {
    display: inline-block;
    padding: 14px 28px;
    background: #0099ff;
    color: #fff !important;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none !important;
    transition: background 0.2s;
}

.cta-contact-btn .btn-default:hover {
    background: #007acc;
}

/* ─── Featured image ───────────────────────────────────────── */
.service-featured-image {
    margin-bottom: 30px;
}

.service-featured-image figure {
    display: block;
    border-radius: 30px;
    overflow: hidden;
    margin: 0;
}

.service-featured-image img {
    width: 100%;
    border-radius: 30px;
    display: block;
}

/* ─── Service entry (main content) ─────────────────────────── */
.service-entry {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 50px;
    margin-bottom: 50px;
}

.service-entry h2 {
    font-size: 44px;
    margin-bottom: 30px;
    color: #fff;
    font-weight: 800;
    line-height: 1.15;
}

.service-entry h3 {
    font-size: 20px;
    margin-bottom: 30px;
    color: #fff;
}

.service-entry p {
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.8;
    font-size: 15px;
}

.service-entry p:last-child {
    margin-bottom: 0;
}

.service-entry ul {
    list-style: none;
    margin: 0 0 30px;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.service-entry ul li {
    position: relative;
    width: calc(50% - 10px);
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    text-transform: capitalize;
    padding-left: 30px;
}

.service-entry ul li:before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 20px;
    color: #0099ff;
    display: inline-block;
    line-height: normal;
    position: absolute;
    top: 2px;
    left: 0;
}

/* ─── Service gallery ──────────────────────────────────────── */
.service-entry-gallery {
    margin-top: 30px;
}

.service-gallery a {
    cursor: none;
}

.service-gallery figure {
    border-radius: 30px;
    overflow: hidden;
    margin: 0;
}

.service-gallery img {
    width: 100%;
    aspect-ratio: 1 / 1.1;
    object-fit: cover;
    border-radius: 30px;
}

/* ─── Template CTA box ──────────────────────────────────────── */
.cta-box {
    background: #111827 url('../html - light/images/cta-box-bg.svg') no-repeat;
    background-position: center center;
    background-size: cover;
    padding: 100px 0;
    border-radius: 30px;
    overflow: hidden;
    margin: 0 auto 80px;
}

.cta-box.bg-section {
    max-width: 1500px;
}

.cta-box-content {
    width: 100%;
    max-width: 520px;
}

.cta-box-content .section-title p,
.cta-box-content .section-title h2 {
    color: #fff;
}

.cta-box-content .section-title p {
    margin: 16px 0 0;
    line-height: 1.8;
}

.cat-box-image {
    text-align: center;
}

.cat-box-image figure {
    margin: 0;
}

.cat-box-image img {
    max-width: 100%;
    height: auto;
}

.cta-box-btn {
    margin-top: 30px;
}

.cta-box-btn .btn-default {
    display: inline-block;
    font-size: 16px;
    font-weight: 700;
    line-height: 1em;
    text-transform: capitalize;
    background: #0099ff;
    color: #fff !important;
    border-radius: 100px;
    padding: 16px 25px;
    margin-right: 48px;
    border: none;
    transition: all 0.5s ease-in-out;
    position: relative;
    z-index: 1;
    text-decoration: none !important;
}

.cta-box-btn .btn-default::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #0099ff;
    background-image: url('../html - light/images/arrow-white.svg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 14px auto;
    transform: translate(48px, 0);
    transition: all 0.4s ease-in-out;
}

.cta-box-btn .btn-default:hover::before {
    background-color: #c8a84b;
    background-size: 14px auto;
    transform: translate(48px, 0) rotate(45deg);
}

/* ─── Rental conditions FAQ accordion ──────────────────────── */
.rental-conditions-faqs {
    margin-top: 0;
}

.rental-conditions-faqs .section-title {
    margin-bottom: 30px;
}

.rental-conditions-faqs .section-title h3 {
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #0099ff;
    margin-bottom: 14px;
}

.rental-conditions-faqs .section-title h2 {
    color: #fff;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.15;
}

.rental-condition-accordion .accordion-item {
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    margin-bottom: 25px;
    transition: all 0.3s ease-in-out;
    overflow: hidden;
    background: transparent;
}

.rental-condition-accordion .accordion-item:last-child {
    margin-bottom: 0;
}

.rental-condition-accordion .accordion-header {
    width: 100%;
    margin: 0;
}

.rental-condition-accordion .accordion-header .accordion-button {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    cursor: pointer;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.2em;
    background-color: #0099ff;
    color: #fff;
    padding: 20px 50px 20px 20px;
    transition: all 0.3s ease-in-out;
    box-shadow: none;
    border: 0;
    border-radius: 0;
    text-align: left;
}

.rental-condition-accordion .accordion-button:not(.collapsed) {
    background-color: #0099ff;
    color: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}

.rental-condition-accordion .accordion-header .accordion-button.collapsed {
    background-color: rgba(255, 255, 255, 0.06);
    color: #fff;
}

.rental-condition-accordion .accordion-item .accordion-button::after,
.rental-condition-accordion .accordion-item .accordion-button.collapsed::after {
    content: '\f068';
    font-family: "Font Awesome 6 Free";
    position: absolute;
    right: 20px;
    top: 50%;
    bottom: auto;
    transform: translate(0, -10px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 20px;
    width: 20px;
    height: 20px;
    padding: 5px;
    color: #fff;
    background-image: none;
    opacity: 1;
    line-height: 1;
}

.rental-condition-accordion .accordion-item .accordion-button.collapsed::after {
    content: '\f067';
    color: rgba(255, 255, 255, 0.7);
}

.rental-condition-accordion .accordion-item .accordion-body {
    width: 100%;
    background-color: #0099ff;
    padding: 20px 50px 20px 20px;
}

.rental-condition-accordion .accordion-item .accordion-body p {
    color: #fff;
    margin: 0;
    line-height: 1.7;
}

/* =============================================================
   LIGHT MODE OVERRIDES
   ============================================================= */
html.theme-light .svc-detail-page {
    background: #f5f6f8;
}

html.theme-light .service-catagery-list {
    background-color: #f5f5f7 !important;
    border-color: #e5e8ee !important;
}

html.theme-light .service-catagery-list h3 {
    color: #111 !important;
}

html.theme-light .service-catagery-list ul li {
    border-bottom-color: #e5e8ee !important;
}

html.theme-light .service-catagery-list ul li a {
    color: #333 !important;
}

html.theme-light .service-catagery-list ul li:hover a,
html.theme-light .service-catagery-list ul li a.is-active {
    color: #c8a84b !important;
}

html.theme-light .service-catagery-list ul li a::after {
    filter: none;
}

html.theme-light .sidebar-cta-box {
    background: #f5f5f7 !important;
    border-color: #e5e8ee !important;
}

html.theme-light .cta-contact-content h2 {
    color: #111 !important;
}

html.theme-light .cta-contact-content p {
    color: #555 !important;
}

html.theme-light .service-entry {
    border-bottom-color: #e5e8ee !important;
}

html.theme-light .service-entry h2,
html.theme-light .service-entry h3 {
    color: #111 !important;
    -webkit-text-fill-color: #111 !important;
}

html.theme-light .service-entry p {
    color: #444 !important;
}

html.theme-light .service-entry ul li {
    color: #222 !important;
}

html.theme-light .service-entry ul li:before {
    color: #c8a84b !important;
}

html.theme-light .rental-conditions-faqs .section-title h3 {
    color: #c8a84b !important;
}

html.theme-light .rental-conditions-faqs .section-title h2 {
    color: #111 !important;
    -webkit-text-fill-color: #111 !important;
}

html.theme-light .rental-condition-accordion .accordion-item {
    border-color: #e5e8ee !important;
}

html.theme-light .rental-condition-accordion .accordion-header .accordion-button.collapsed {
    background-color: #fff !important;
    color: #111 !important;
}

html.theme-light .rental-condition-accordion .accordion-item .accordion-button.collapsed::after {
    color: #333 !important;
}

html.theme-light .rental-condition-accordion .accordion-button:not(.collapsed) {
    background-color: #c8a84b !important;
    color: #fff !important;
}

html.theme-light .rental-condition-accordion .accordion-item .accordion-body {
    background-color: #c8a84b !important;
}

html.theme-light .svc-detail-hero {
    background: linear-gradient(165deg, #ffffff 0%, #eef2f7 100%) !important;
    border-bottom-color: #e3e5ea !important;
}

html.theme-light .svc-detail-h1 {
    color: #111 !important;
    -webkit-text-fill-color: #111 !important;
}

html.theme-light .svc-detail-lead,
html.theme-light .svc-detail-main p {
    color: #444 !important;
}

html.theme-light .svc-detail-main h2 {
    color: #111 !important;
}

html.theme-light .svc-breadcrumb {
    color: #5c6470 !important;
}

html.theme-light .svc-benefit-card {
    background: #fff !important;
    border-color: #e5e8ee !important;
}

html.theme-light .svc-benefit-card h3 {
    color: #111 !important;
}

html.theme-light .svc-benefit-card p {
    color: #555 !important;
}

html.theme-light .svc-ideal-pill {
    background: rgba(0, 119, 200, 0.08) !important;
    border-color: rgba(0, 119, 200, 0.2) !important;
    color: #222 !important;
}

html.theme-light .svc-list-check li {
    color: #444 !important;
}

html.theme-light .svc-related {
    border-top-color: #e3e5ea !important;
}

html.theme-light .svc-related-links a {
    background: #fff !important;
    border: 1px solid #e5e8ee !important;
    color: #0066b3 !important;
}

html.theme-light .cta-box {
    background: #f5f6f8 url('../html - light/images/cta-box-bg.svg') no-repeat !important;
    background-position: center center !important;
    background-size: cover !important;
}

html.theme-light .cta-box-content .section-title h2 {
    color: #111 !important;
    -webkit-text-fill-color: #111 !important;
}

html.theme-light .cta-box-content .section-title p {
    color: #444 !important;
}

html.theme-light .cta-box-btn .btn-default {
    background: #c8a84b !important;
    color: #fff !important;
}

html.theme-light .cta-box-btn .btn-default::before {
    background-color: #c8a84b !important;
}

html.theme-light .cta-box-btn .btn-default:hover::before {
    background-color: #0099ff !important;
}

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 991px) {
    .page-service-single {
        padding: 50px 0;
    }

    .service-sidebar {
        margin-right: 0;
        margin-bottom: 30px;
        position: static;
    }

    .service-catagery-list {
        padding: 20px;
        margin-bottom: 30px;
    }

    .service-catagery-list h3 {
        margin-bottom: 20px;
    }

    .service-catagery-list ul li {
        margin-bottom: 15px;
        padding-bottom: 15px;
    }

    .sidebar-cta-box {
        padding: 30px 20px;
    }

    .cta-contact-item .icon-box {
        margin-bottom: 20px;
    }

    .cta-contact-content {
        margin-bottom: 20px;
    }

    .cta-contact-content h2 {
        font-size: 32px;
        margin-bottom: 15px;
    }

    .service-entry {
        padding-bottom: 10px;
        margin-bottom: 30px;
    }

    .service-entry h2 {
        font-size: 36px;
        margin-bottom: 20px;
    }

    .service-entry p {
        margin-bottom: 20px;
    }

    .service-entry ul {
        margin-bottom: 20px;
    }

    .service-gallery {
        margin-bottom: 30px;
    }

    .service-gallery img {
        aspect-ratio: 1 / 0.85;
    }

    .cta-box {
        padding: 60px 0;
        margin-bottom: 50px;
    }

    .cta-box-content {
        max-width: 100%;
        margin-bottom: 30px;
    }

    .rental-condition-accordion .accordion-header .accordion-button {
        font-size: 16px;
    }

    .rental-condition-accordion .accordion-item .accordion-body {
        padding: 15px 20px;
    }
}

@media (max-width: 767px) {
    .service-catagery-list h3 {
        font-size: 18px;
    }

    .cta-contact-item .icon-box img {
        max-width: 55px;
    }

    .cta-contact-content h2 {
        font-size: 28px;
    }

    .service-entry h2 {
        font-size: 28px;
    }

    .service-entry h3 {
        font-size: 18px;
    }

    .service-entry ul {
        display: block;
    }

    .service-entry ul li {
        width: 100%;
        font-size: 16px;
        margin-bottom: 15px;
    }

    .service-entry ul li:last-child {
        margin-bottom: 0;
    }

    .service-entry ul li:before {
        font-size: 18px;
        top: 4px;
    }

    .cta-box {
        padding: 50px 0;
    }

    .cta-box-content .section-title h2 {
        font-size: 30px;
        line-height: 1.15;
    }

    .cta-box-btn {
        margin-top: 22px;
    }

    .cta-box-btn .btn-default {
        margin-right: 40px;
    }
}

/* ─── Old layout classes — kept for backward compat ────────── */
.svc-detail-page {
    background: #0a0a0f;
    min-height: 100vh;
}

.svc-detail-hero {
    position: relative;
    padding: 88px 20px 36px;
    background: linear-gradient(165deg, #0d1118 0%, #080810 45%, #0a1520 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.svc-detail-hero-inner {
    max-width: 920px;
    margin: 0 auto;
}

.svc-breadcrumb {
    font-size: 12px;
    color: #9aa0a8;
    margin-bottom: 14px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.svc-breadcrumb a {
    color: #7eb8ff;
    text-decoration: none;
}

.svc-breadcrumb a:hover {
    text-decoration: underline;
}

.svc-breadcrumb .sep {
    opacity: 0.5;
}

.svc-detail-h1 {
    font-size: clamp(26px, 4vw, 40px);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin: 0 0 14px;
    letter-spacing: -0.02em;
}

.svc-detail-lead {
    font-size: 16px;
    line-height: 1.7;
    color: #c8cdd4;
    margin: 0;
    max-width: 720px;
}

.svc-detail-main {
    max-width: 920px;
    margin: 0 auto;
    padding: 36px 20px 80px;
}

.svc-detail-main h2 {
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    margin: 32px 0 14px;
    letter-spacing: 0.02em;
}

.svc-detail-main h2:first-of-type {
    margin-top: 0;
}

.svc-detail-main p {
    font-size: 15px;
    line-height: 1.8;
    color: #b8bec8;
    margin: 0 0 16px;
}

.svc-benefit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
    margin: 24px 0 8px;
}

.svc-benefit-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 18px 16px;
}

.svc-benefit-card h3 {
    font-size: 15px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.svc-benefit-card h3 i {
    color: #0099ff;
    font-size: 16px;
}

.svc-benefit-card p {
    font-size: 13px;
    line-height: 1.65;
    color: #9aa3af;
    margin: 0;
}

.svc-list-check {
    list-style: none;
    padding: 0;
    margin: 16px 0 0;
}

.svc-list-check li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.6;
    color: #c8cdd4;
}

.svc-list-check li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #2ecc71;
    font-size: 12px;
    top: 3px;
}

.svc-ideal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
    margin-top: 16px;
}

.svc-ideal-pill {
    background: rgba(0, 153, 255, 0.1);
    border: 1px solid rgba(0, 153, 255, 0.25);
    color: #e8eef5;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
}

.svc-related {
    margin-top: 40px;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.svc-related h2 {
    margin-top: 0;
}

.svc-related-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.svc-related-links a {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    color: #7eb8ff !important;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
}

.svc-related-links a:hover {
    background: rgba(0, 153, 255, 0.15);
}

.svc-cta-bar {
    margin-top: 36px;
    padding: 22px 20px;
    background: linear-gradient(135deg, rgba(0, 153, 255, 0.15) 0%, rgba(200, 168, 75, 0.1) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    text-align: center;
}

.svc-cta-bar p {
    margin: 0 0 14px;
    color: #e8eef5;
    font-size: 15px;
}

.svc-cta-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.svc-cta-btns a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 14px;
    text-decoration: none !important;
}

.svc-cta-wa {
    background: #25d366;
    color: #fff !important;
}

.svc-cta-wa:hover {
    filter: brightness(0.95);
    color: #fff !important;
}

.svc-cta-phone {
    background: rgba(255, 255, 255, 0.12);
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
