﻿@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@700;900&display=swap');

/* Banner Slider Container */
/* ================================
   BASE SLIDER
================================ */
.custom-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 7; /* Desktop default */
    overflow: hidden;
    border-radius: 20px;
    background: #fff; /* helps when image is contain */
}

    /* Slides */
    .custom-slider .slide {
        position: absolute;
        inset: 0;
        opacity: 0;
        transition: opacity 1.2s ease-in-out;
    }

        .custom-slider .slide.active {
            opacity: 1;
            z-index: 1;
        }

    /* Images */
    .custom-slider img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* Desktop/Laptop */
        object-position: center;
        display: block;
        border-radius: 20px;
    }

/* ================================
   LARGE DESKTOP (≥1400px)
================================ */
@media (min-width: 1400px) {
    .custom-slider {
        aspect-ratio: 14 / 6;
        max-height: 600px;
    }
}

/* ================================
   DESKTOP (1200px – 1399px)
================================ */
@media (max-width: 1399px) and (min-width: 1200px) {
    .custom-slider {
        aspect-ratio: 15 / 6.5;
        max-height: 520px;
    }
}

/* ================================
   LAPTOP (992px – 1199px)
================================ */
@media (max-width: 1199px) and (min-width: 992px) {
    .custom-slider {
        aspect-ratio: 17 / 7.5;
        max-height: 460px;
        border-radius: 18px;
    }

        .custom-slider img {
            border-radius: 18px;
            object-fit: cover;
        }
}

/* ================================
   TABLET (768px – 991px)
================================ */
@media (max-width: 991px) {
    .custom-slider {
        aspect-ratio: 20 / 9;
        max-height: 380px;
        border-radius: 16px;
    }

        .custom-slider img {
            border-radius: 16px;
            object-fit: contain; /* prevent text cut */
        }
}

/* ================================
   MOBILE (≤768px)
================================ */
@media (max-width: 768px) {
    .custom-slider {
        aspect-ratio: 5 / 3;
        border-radius: 12px;
        margin-top: -40px;
        margin-bottom: -78px;
        background: #fff;
    }

        .custom-slider img {
            object-fit: contain; /* FULL banner visible */
            object-position: center;
            border-radius: 12px;
        }
}

/* ================================
   SMALL MOBILE (≤480px)
================================ */
@media (max-width: 480px) {
    .custom-slider {
        aspect-ratio: 1 / 0.7;
        margin-bottom:-88px;
    }
}


/*for king kaitori */

/* Import the Orbitron font from Google Fonts */


/* Now your custom logo styles */
.logo-text {
    height:35px;
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    font-size: 40px;
    background: linear-gradient(90deg, #1e90ff, #ff4d4d, #c0c0c0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    text-decoration: none;
    letter-spacing: 2px;
    transition: transform 0.3s ease, filter 0.3s ease;
}

    .logo-text:hover {
        transform: scale(1.1);
        filter: brightness(1.2);
    }
/* --- TOPBAR --- */
.topbar {
    background: #000;
    padding: 6px 0;
}

.top-info {
    color: #fff;
    font-size: 14px;
}

.social-icons a {
    color: #ddd;
    transition: 0.3s;
}

    .social-icons a:hover {
        color: #fff;
    }

/* --- MAIN NAV --- */

/*Toyoto calculator page */
.section-box {
    background: #fff;
    border-radius: 10px;
    padding: 25px;
    border: 1px solid #e9e9e9;
    margin-bottom: 40px;
}

.label-box {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid #0d6efd;
}
/*index page erc calculator heading*/
.erc-heading {
    margin-top: 100px;
    font-size: 32px;
    font-weight: 800;
    text-align: center;
}

    .erc-heading a {
        color: #d90000; /* deep red */
        text-decoration: none;
        transition: 0.3s ease;
    }

        .erc-heading a:hover {
            color: #ff0000; /* brighter red on hover */
            text-decoration: underline;
        }
/*         for page footer css*/
/* =========================================================
   FOOTER – CLIENT STYLE (FINAL)
========================================================= */

.footer-client {
    background-color: #0f0f0f;
    color: #e5e5e5;
    font-family: 'Segoe UI', Arial, sans-serif;
    line-height: 1.6;
}

    /* Headings */
    .footer-client .footer-heading {
        font-size: 1.25rem;
        font-weight: 500;
        letter-spacing: 1px;
        text-transform: uppercase;
        margin-bottom: 18px;
        color: #ffffff;
    }

    /* Text */
    .footer-client p {
        font-size: 0.95rem;
        margin-bottom: 6px;
        color: #d0d0d0;
    }

    /* Links */
    .footer-client a {
        color: #cfcfcf;
        text-decoration: none;
        transition: color 0.25s ease;
    }

        .footer-client a:hover {
            color: #ffffff;
        }

/* Logo */
.footer-logo-box {
/*    background-color: #ffffff;*/
    padding: 15px;
/*    border-radius: 6px;*/
    max-width: 230px;
/*    box-shadow: 0 0 8px rgba(0,0,0,0.4);*/
}

    .footer-logo-box img {
        width: 100%;
        height: auto;
        display: block;
    }

/* Site map */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .footer-links li {
        margin-bottom: 6px;
    }

/* License */
.footer-license {
    border-top: 1px solid #333;
    margin-top: 30px;
    padding: 15px 0;
    font-size: 0.85rem;
    color: #b0b0b0;
    text-align: center;
}

/* Responsive */
@media (max-width: 991px) {
    .footer-logo-box {
        margin-bottom: 25px;
    }

    .footer-client .footer-heading {
        margin-top: 20px;
    }
}

@media (max-width: 575px) {
    .footer-client {
        text-align: center;
    }

    .footer-logo-box {
        margin: 0 auto 25px;
    }

    .footer-links li {
        display: inline-block;
        margin: 0 10px 8px;
    }
}

@media (min-width: 992px) {
    .footer-client .text-lg-center {
        text-align: center;
    }
}

/*---------------*/

/*specification index page design*/
/* CARD */
.admin-card {
    border-radius: 18px;
    border: none;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    background: #fff;
}

/* HEADER */
.admin-header {
    background: linear-gradient(135deg, #0d6efd, #0b5ed7);
    color: #fff;
    padding: 18px 24px;
    border-radius: 18px 18px 0 0;
}

/* TABLE WRAPPER */
.table-wrapper {
    max-height: 65vh;
    overflow: auto;
}

    /* CUSTOM SCROLLBAR */
    .table-wrapper::-webkit-scrollbar {
        width: 8px;
        height: 8px;
    }

    .table-wrapper::-webkit-scrollbar-thumb {
        background: #adb5bd;
        border-radius: 10px;
    }

        .table-wrapper::-webkit-scrollbar-thumb:hover {
            background: #6c757d;
        }

/* TABLE */
.admin-table {
    margin-bottom: 0;
    font-size: 14px;
    white-space: nowrap;
}

    .admin-table thead th {
        position: sticky;
        top: 0;
        background: #212529;
        color: #fff;
        z-index: 10;
        padding: 14px;
        font-weight: 600;
    }

    .admin-table tbody tr:hover {
        background: rgba(13,110,253,0.05);
    }

    .admin-table td {
        padding: 12px;
        vertical-align: middle;
    }

/* ACTION BUTTONS */
.btn-group .btn {
    border-radius: 6px !important;
}

/* PAGINATION */
.pagination .page-link {
    border-radius: 8px;
    margin: 0 3px;
}


/*accessories details page custom design*/
.accessories-list li {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 6px;
    
}

.card-header h4 {
    letter-spacing: 1px;
}

h5 {
    text-transform: uppercase;
    font-size: 15px;
}
/* Optional hover effect */
.hover-shadow:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}
/*logo footers*/
/* Keep your original style for desktop */
.whatsapp-badge {
    background-color: #25D366; /* WhatsApp green */
    color: #fff;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Mobile adjustments */
@media (max-width: 576px) {
    .whatsapp-badge {
        flex-wrap: wrap; /* allow text to wrap */
        justify-content: center; /* center horizontally */
        font-size: 9px; /* slightly smaller text on mobile */
        padding: 6px 10px; /* adjust padding */
        gap: 4px; /* reduce space between icon and text */
    }

        .whatsapp-badge i {
            font-size: 14px; /* smaller icon for mobile */
        }
}

    .whatsapp-badge i {
        color: #fff;
        font-size: 18px;
    }
.whatsapp-strip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    padding-bottom: 4px;
    border-bottom: 2px solid #25D366;
}

    .whatsapp-strip i {
        color: #25D366;
        font-size: 22px;
    }

    .whatsapp-strip a {
        color: #fff;
        text-decoration: none;
    }
/*    accosseries in specifications deatils page */
/* ==========================
   Heading Colors
=========================== */
.heading-comfort {
    color: #1abc9c; /* turquoise */
    font-weight: 700; /* bold */
}

.heading-safety {
    color: #e74c3c; /* red */
    font-weight: 700;
}

.heading-windows {
    color: #3498db; /* blue */
    font-weight: 700;
}

.heading-seat {
    color: #f39c12; /* orange */
    font-weight: 700;
}

.heading-sound {
    color: #9b59b6; /* purple */
    font-weight: 700;
}

.heading-others {
    color: #16a085; /* dark turquoise */
    font-weight: 700;
}

/* ==========================
   List Items / Data Bold
=========================== */
.accessories-list li {
    font-weight: 600; /* bold data text */
    color: #2c3e50; /* dark gray for readability */
    margin-bottom: 6px;
}

    /* Optional: hover effect for list items */
    .accessories-list li:hover {
        color: #0d6efd; /* Bootstrap primary blue */
        transition: 0.3s;
    }


/*    spcification details page specification datalist section*/
/* Tabs styling */
.tabs-product .nav-tabs .nav-link.active {
    background-color: #0d6efd; /* Bootstrap primary */
    color: #fff;
    border-radius: 0.3rem 0.3rem 0 0;
}

.tabs-product .nav-tabs .nav-link {
    border: 1px solid #dee2e6;
    border-bottom: none;
    color: #0d6efd;
    transition: 0.3s;
}

.tabs-product .nav-tabs .nav-link:hover {
    color: #fff;
    background-color: #0d6efd;
}

/* Tables */
.table-striped > tbody > tr:nth-of-type(odd) {
    background-color: #f8f9fa; /* subtle gray stripe */
}

.table-hover tbody tr:hover {
    background-color: #e9f5ff; /* light blue hover */
}

.table th {
    width: 40%;
    background-color: #f1f5f9; /* light gray header */
}
  

/*spcification create design*/

    .admin-section {
        background: #f8f9fa;
        border-radius: 14px;
        padding: 22px;
        margin-bottom: 28px;
        box-shadow: 0 4px 14px rgba(0,0,0,.05);
    }

    .admin-section-title {
        font-size: 1.15rem;
        font-weight: 700;
        color: #0d6efd;
        margin-bottom: 18px;
        border-bottom: 2px solid #e5e7eb;
        padding-bottom: 8px;
    }

        .admin-section-title i {
            margin-right: 8px;
        }

    .form-label {
        font-weight: 600;
    }

    .form-control,
    .form-select {
        border-radius: 8px;
    }

    .image-box {
        border: 2px dashed #ced4da;
        padding: 15px;
        border-radius: 12px;
        background: #fff;
        transition: .3s;
    }

        .image-box:hover {
            border-color: #0d6efd;
            background: #f0f7ff;
        }

    .save-btn {
        padding: 12px 35px;
        font-weight: 600;
    }

/*    share button code input specification details page */
.share-container {
    position: relative;
    display: inline-block;
}

.social-apps {
    position: absolute;
    top: 40px;
    left: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: #fff;
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    z-index: 10;
}

    .social-apps.hidden {
        display: none;
    }

.social {
    text-decoration: none;
    padding: 6px 12px;
    color: white;
    border-radius: 4px;
    font-weight: bold;
}

    .social.whatsapp {
        background-color: #25D366;
    }

    .social.facebook {
        background-color: #3b5998;
    }

    .social.instagram {
        background-color: #C13584;
    }

    .social.x {
        background-color: #1DA1F2;
    }

    .social.wechat {
        background-color: #07C160;
    }
.social-apps.hidden {
    display: none;
}



/*    video about page*/
/* =========================
   ABOUT VIDEO – PREMIUM
========================= */

.about-video-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 22px 55px rgba(0,0,0,0.28);
}

/* Video sizing */
.about-video-player {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

/* Soft cinematic overlay */
.about-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( 180deg, rgba(0,0,0,0.05), rgba(0,0,0,0.35) );
    pointer-events: none;
}

/* Tablet */
@media (max-width: 991px) {
    .about-video-player {
        height: 320px;
    }
}

/* Mobile */
@media (max-width: 575px) {
    .about-video-player {
        height: 230px;
        border-radius: 14px;
    }
}

/*---------------------------------*/

/*form product datalist card*/
/* =========================
   CAR LISTING CARD
========================= */

.car-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
    transition: transform .35s ease, box-shadow .35s ease;
    height: 100%;
}

    .car-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 18px 45px rgba(0,0,0,0.18);
    }

/* IMAGE */
.car-card-image {
    position: relative;
    overflow: hidden;
}

    .car-card-image img {
        width: 100%;
        height: 210px;
        object-fit: cover;
        transition: transform .6s ease;
    }

.car-card:hover img {
    transform: scale(1.08);
}

/* BADGES */
.car-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 2;
}

.badge {
    padding: 6px 10px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 6px;
    text-transform: uppercase;
}

.badge-new {
    background: #28a745;
    color: #fff;
}

.badge-discount {
    background: #ffc107;
    color: #000;
}

.badge-sold {
    background: #dc3545;
    color: #fff;
}

/* BODY */
.car-card-body {
    padding: 14px 16px 18px;
}

/* PRICE */
.car-price {
    font-size: 14px;
    color: #333;
    display: flex; /* flex layout */
    justify-content: space-between; /* left = label, right = price */
    align-items: center; /* vertical alignment */
    padding: 6px 10px; /* optional padding for spacing */
    border-top: 1px solid #eee; /* subtle top border */
    margin-bottom: 10px; /* spacing below price */
    font-weight: 600; /* make text bold */
    background: #f9f9f9; /* optional light background for highlight */
    border-radius: 6px; /* rounded corners for nicer look */
}

    .car-price span {
        color: #e63946;
        font-size: 18px;
        font-weight: 800;
    }

    .car-price .price-label {
        /* nothing needed, left-aligned by flex */
    }

    .car-price .price-value {
        color: #d9534f; /* bootstrap danger red */
        font-weight: 700;
        text-align: right; /* ensures it’s right-aligned if stretched */
    }
/* TITLE */
.car-title {
    font-size: 16px;
    font-weight: 700;
    color: #111;
    margin-bottom: 10px;
}

/* META */
.car-meta {
    margin-top: 12px;
    font-size: 13px;
    color: #666;
}

/* TOP ROW: Fuel */
.meta-top {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    padding-bottom: 6px;
    margin-bottom: 8px;
    border-bottom: 1px solid #eee; /* subtle separator */
}

/* BOTTOM ROW */
.meta-bottom {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px; /* space between items and line */
}

/* Divider between mileage & engine */
.meta-divider {
    width: 1px;
    background: #ccc;
    height: 16px;
    align-self: center;
}

/* Left & Right meta items */
.meta-left, .meta-right {
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

/* ICONS */
.car-meta i {
    color: #0d6efd;
    font-size: 13px;
}

/*-------------------------------*/

/*for images in details page gallery slider*/
.thumb-gallery-wrapper {
    background: #fff;
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.thumb-gallery-detail img {
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.25s ease;
}

    .thumb-gallery-detail img:hover {
        transform: scale(1.02);
    }

.thumb-gallery-thumbs img {
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s ease;
}

    .thumb-gallery-thumbs .active img,
    .thumb-gallery-thumbs img:hover {
        border-color: #0d6efd; /* Bootstrap primary */
        transform: scale(1.05);
    }

/*    this is for question and answers section*/

body {
    font-family: 'Inter', sans-serif;
}

.faq-wrapper {
    background: #f5f7fa;
    padding: 80px 15px;
}

.faq-container {
    max-width: 1000px;
    margin: auto;
}

.faq-heading {
    text-align: center;
    font-weight: 700;
    font-size: 2.3rem;
}

    .faq-heading i {
        color: #0d6efd;
    }

.faq-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
}

.faq-search {
    position: relative;
    margin-bottom: 30px;
}

    .faq-search input {
        width: 100%;
        padding: 14px 45px;
        border-radius: 30px;
        border: 1px solid #ddd;
    }

    .faq-search i {
        position: absolute;
        left: 18px;
        top: 50%;
        transform: translateY(-50%);
        color: #888;
    }

.faq-category {
    font-weight: 700;
    color: #0d6efd;
    margin: 30px 0 10px;
    font-size: 1.1rem;
}

.faq-item {
    background: #fff;
    border-radius: 12px;
    margin-bottom: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,.08);
}

.faq-question {
    padding: 18px 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
}

    .faq-question i:first-child {
        color: #0d6efd;
    }

.toggle {
    margin-left: auto;
    transition: .3s;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 22px;
    color: #555;
    line-height: 1.7;
    transition: all .35s ease;
}

.faq-item.active .faq-answer {
    padding: 15px 22px 22px;
    max-height: 400px;
}

.faq-item.active .toggle {
    transform: rotate(180deg);
}

/*-------------------------------------------------*/
/*this is index page css */

.minimal-accordion .accordion-button {
    background: transparent;
    color: #222;
    font-size: 1rem;
    padding: 0.75rem 0;
    border: none;
    box-shadow: none;
    transition: color 0.3s;
}

    .minimal-accordion .accordion-button:hover {
        color: #0d6efd;
    }

    .minimal-accordion .accordion-button:focus {
        box-shadow: none;
    }

.minimal-accordion .accordion-body {
    font-size: 0.95rem;
    color: #555;
}

.minimal-accordion .accordion-item {
    border: none;
}

    .minimal-accordion .accordion-item + .accordion-item {
        margin-top: 0.25rem;
    }

.accordion-header span {
    font-size: 1.25rem;
}

/*Accosserios datalist design*/
/* Card Styling */
.card {
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,.08);
    transition: box-shadow 0.2s ease;
}

.card:hover {
    box-shadow: 0 12px 28px rgba(0,0,0,.15);
}

/* Table Styling */
table.table {
    border-radius: 10px;
    overflow: hidden;
}

    table.table th, table.table td {
        vertical-align: middle;
    }

    table.table th {
        font-weight: 600;
        text-transform: uppercase;
        font-size: 0.875rem;
    }

    table.table td {
        font-size: 0.875rem;
    }

/* Action Buttons */
.btn-action {
    margin: 0 2px;
}

/* Pagination */
.pagination .page-link {
    border-radius: 6px;
    margin: 0 2px;
}

/* Search */
.search-bar .form-control {
    border-radius: 6px 0 0 6px;
}

.search-bar .btn {
    border-radius: 0 6px 6px 0;
}

@media (max-width: 768px) {
    table.table thead {
        display: none;
    }

    table.table tbody tr {
        display: block;
        margin-bottom: 15px;
        border-bottom: 1px solid #dee2e6;
    }

    table.table tbody td {
        display: flex;
        justify-content: space-between;
        padding: 8px 12px;
        font-size: 0.85rem;
    }

        table.table tbody td::before {
            content: attr(data-label);
            font-weight: 600;
        }

    .text-center {
        text-align: left !important;
    }
}

