/*============================================================================*/
/* Overlay */
/*---MODAL SPECS-----*/
body.modal-open {
    overflow: hidden;
}

.specs-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: none;
    z-index: 9998;
    transition: opacity 0.3s ease;
}

.specs-modal-overlay.show {
    display: block;
    opacity: 1;
}

.specs-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 700px;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    display: none;
    z-index: 9999;
    transition: opacity 0.3s ease;
}

.specs-modal.show {
    display: block;
    opacity: 1;
}

.spec-header {
    color: #c30606;
    font-weight: bold;
}

.specs-scroll {
    max-height: 400px;
    overflow-y: auto;
}

.modal-close {
    background-color: #c30606;    /* red box */
    color: white;             /* white text */
    border: none;             /* remove default border */
    padding: 5px 12px;        /* adjust size */
    font-size: 16px;          /* adjust font size */
    font-weight: bold;        /* optional for emphasis */
    cursor: pointer;          /* pointer on hover */
    border-radius: 4px;       /* optional rounded corners */
    position: absolute;       /* place inside modal as needed */
    top: 15px;                /* adjust position */
    right: 15px;              /* adjust position */
    z-index: 1000;            /* ensure it’s above modal content */
}


/*============================================================================*/

/*------COLOR CHANGE ----- */

.color-circle {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: inline-block;
    margin: 5px;
}

.color-circle .checkmark {
    position: absolute;
    top: 50%;             /* center vertically */
    left: 50%;            /* center horizontally */
    transform: translate(-50%, -50%);  /* offset to center */
    background: transparent; /* transparent background */
    border-radius: 50%;
    font-size: 20px;      /* adjust size as needed */
    width: 20px;          /* make it bigger for visibility */
    height: 20px;
    line-height: 20px;    /* vertically center checkmark text */
    text-align: center;
    display: none;        /* hidden by default */
    pointer-events: none;
}

.color-circle.selected .checkmark {
    display: block;
}

/*============================================================================*/

/*--- GALLERY -- */

.image-gallery li {
    margin-bottom: 20px; /* Space between rows */
}

.thumb-info {
    display: block;
    position: relative;
    overflow: hidden;
}

.thumb-info img {
    width: 100%;
    height: auto;
    display: block;
}

.thumb-info-action {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    opacity: 0;
    background: rgba(0,0,0,0.4);
    transition: 0.3s;
}

.thumb-info:hover .thumb-info-action {
    opacity: 1;
}

.thumb-info-action-icon {
    color: #fff;
    font-size: 24px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/*============================================================================*/

/*--- ACCORDION CONTACTS -- */

.panel {
    border: none !important;
    box-shadow: none !important;
    margin-bottom: 10px;
}

.panel-heading {
    background: #c90000 !important;   /*  Red */
    border-radius: 6px;
    padding: 12px 18px;
}

.panel-title a {
    color: #ffffff !important;        /* White text */
    font-size: 16px;
    font-weight: 300;
    text-decoration: none;
    display: block;
}

.panel-title a:hover {
    color: #ffffff !important;
}

.panel-collapse {
    border: 1px solid #ddd;
    border-top: none;
    padding: 15px;
    border-radius: 0 0 6px 6px;
    background: #fff;
}


/*============================================================================*/

/*--- REVOLUTION SLIDER -- */

/* Base arrow */
.tp-leftarrow.custom,
.tp-rightarrow.custom {
    width: 64px;
    height: 64px;
    background: rgba(0,0,0,0.55);
    border-radius: 50%;
    transition: all 0.3s ease;
}

/* Arrow icons */
.tp-leftarrow.custom:before,
.tp-rightarrow.custom:before {
    font-family: "revicons";
    font-size: 28px;
    color: #fff;
    line-height: 64px;
    display: block;
    text-align: center;
}

/* Left arrow icon */
.tp-leftarrow.custom:before {
    content: "\e824";
}

/* Right arrow icon */
.tp-rightarrow.custom:before {
    content: "\e825";
}

/* Hover effect (Toyota style) */
.tp-leftarrow.custom:hover,
.tp-rightarrow.custom:hover {
    background: #e60012; /* Toyota red */
}

/* Ensure arrows always visible */
.tp-leftarrow,
.tp-rightarrow {
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 1000;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .tp-leftarrow.custom,
    .tp-rightarrow.custom {
        width: 48px;
        height: 48px;
    }

    .tp-leftarrow.custom:before,
    .tp-rightarrow.custom:before {
        font-size: 22px;
        line-height: 48px;
    }
}




/*============================================================================*/


/* ===============================
   ACCESSORIES
   =============================== */

.accessory-card {
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    background-color: #fff;
}

.accessory-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.accessory-info {
    padding: 10px;
    text-align: center;
}

.accessory-title {
    font-weight: bold;
    margin-bottom: 10px;
}

.modal-header {
    border-bottom: none;
}

.modal-header .close {
    font-size: 16px;
    font-weight: bold;
    background-color: red;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
}

/* ===============================
   SLIDE TEXT
   =============================== */

.image-wrapper {
    position: relative;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

.image-wrapper img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.5s ease-in-out; /* zoom in/out smoothly */
}

.image-wrapper.zoom img {
    transform: scale(1.2); /* zoom in when active */
}

.slide-text {
    position: absolute;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    color: white;
    font-weight: bold;
    white-space: nowrap;
    transition: opacity 0.5s ease, transform 0.5s ease;
	opacity: 0;

    /* Shadow background */
    background: rgba(0, 0, 0, 0.5); /* semi-transparent black */
    padding: 8px 16px;
    border-radius: 5px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7); /* subtle text shadow */
}
/* Show Text 2 when container has 'active' class */
.image-wrapper.active .text2 {
    opacity: 1;
}
.slide-text {
   
}
/* Text 1 always visible */
.text1 {
    top: 10%;
    font-size: 2em;
    opacity: 1;
}

/* Text 2 initially hidden */
.text2 {
    bottom: 10%;
    font-size: 3em;
    opacity: 0;
}



/* Text positions */
.text1 {
    top: 10%;
    font-size: 2em;
}

.text2 {
    bottom: 10%;
    font-size: 3em;
}

/* Show texts with pop-out effect */
.image-wrapper.active .slide-text {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}








