/* details.css */

/* Vehicle Details Bar */
.vehicle-details-bar {
    background-color: #0f172a;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    font-family: 'League Spartan', sans-serif;
    font-weight: 400;
    font-size: 22px;
    line-height: 1.2;
    color: #E6F0FF;
    text-align: center;
    text-transform: uppercase;
    position: relative;
    width: 100%;
    letter-spacing: 2px;
    height: 100px;
    margin-top: -61px;
    padding-left: 20px;
    padding-right: 20px;
    margin-bottom: 10px;
}

.vehicle-details-bar img {
    height: 45px;
    max-width: 80px;
}

.flex-gap {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.feature-cards {
    flex: 1;
    min-width:290px;
    border: 0px solid #e0e0e0;
    border-radius: 0px;
    cursor: pointer;
}

/* Form Section */
.form-section {
    width: 100%;
    max-width: 1280px;
    margin: 30px auto;
    padding: 0 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: row; /* Changed to row for side-by-side layout */
    flex-wrap: wrap; /* Allow wrapping for responsiveness */
    gap: 12px; /* Maintain 12px gap between elements */
    align-items: flex-start; /* Align items at the top */
}

.form-section h2 {
    font-family: 'League Spartan', sans-serif;
    font-weight: 500;
    font-size: 22px;
    line-height: 1.2;
    color: #0f172a;
    margin-bottom: 10px;
    text-align: center;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 10px;
}

.progress-header img {
    height: 30px;
    width: auto;
    margin-right: 10px;
    margin-left: auto;
}

@media (max-width: 768px) {
    .progress-header img {
        margin-left: 0;
        margin-right: 5px;
    }
}

/* Accordion Styles */
.form-section .accordion {
    border: 0px solid #fff;
    border-radius: 0px;
    margin-bottom: 0px;
    padding: 0px;
}

.form-section .accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.form-section .accordion-header h3 {
    font-family: 'League Spartan', sans-serif;
    font-weight: 600;
    font-size: 24px;
    color: #0f172a;
}

.form-section .accordion-header .icon {
    font-size: 24px;
    color: #0f172a;
}

.form-section .accordion-description {
    display: none;
    padding-top: 0px;
}

.form-section .accordion.active .accordion-description {
    display: block;
}

.form-section .accordion-item {
    display: flex;
    align-items: center;
    padding: 25px 0;
    border: 5px solid #0f172a1a;
    border-radius: 2.7rem;
    margin-top: 20px;
}

.form-section .description-item {
    display: flex;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #e0e0e0;
}

.form-section .accordion-item label {
    font-family: 'League Spartan', sans-serif;
    font-weight: 400;
    font-size: 18px;
    color: #0f172a;
}

.form-section .accordion-item input,
.form-section .accordion-item textarea {
    width: 60%;
    padding: 10px;
    font-family: 'League Spartan', sans-serif;
    font-size: 16px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
}

.form-section .completed-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    margin-bottom: 10px;
    cursor: pointer;
}

.form-section .completed-section h3 {
    font-family: 'League Spartan', sans-serif;
    font-weight: 600;
    font-size: 24px;
    color: #0f172a;
}

.form-section .completed-section .icon {
    font-size: 24px;
    color: #0f172a;
}

.form-section .submit-btn {
    display: block;
    width: 165px;
    margin: 40px auto;
    padding: 15px;
    font-family: 'League Spartan', sans-serif;
    font-weight: 400;
    font-size: 20px;
    color: #fdfefe;
    background: #0f172a;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    text-align: center;
    height: 50px;
    text-decoration: none
}

.form-section .previous-btn {
    display: block;
    width: 170px;
    margin: 40px auto;
    padding: 15px;
    font-family: 'League Spartan', sans-serif;
    font-weight: 400;
    font-size: 20px;
    color: #0f172a;
    background: #fdfefe;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    cursor: pointer;
    text-align: center;
    height: 50px;
    text-decoration: none
}

.form-section .call-btn {
    display: block;
    width: 170px;
    margin: 0px 40px 0px;
    padding: 15px;
    font-family: 'League Spartan', sans-serif;
    font-weight: 400;
    font-size: 20px;
    color: #ffffff;
    background: #0f172a05;
    border: 2px solid #ffffff;
    border-radius: 50px;
    cursor: default;
    text-align: center;
    height: 50px;
    text-decoration: none;
}

.form-section .next-btn {
    display: block;
    width: 170px;
    margin: 40px auto;
    padding: 15px;
    font-family: 'League Spartan', sans-serif;
    font-weight: 400;
    font-size: 20px;
    color: #fdfefe;
    background: #0f172a;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    text-align: center;
    height: 50px;
}

.form-section .price {
    font-family: 'League Spartan', sans-serif;
    font-weight: 400;
    font-size: 40px;
    margin-top: 20px;
}

/* Navigation Buttons */
.navigation-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 20px;
}

/* Call Button */
.call-button {
    display: flex;
    justify-content: center;
    align-items: center;
}

.previous-btn, .next-btn {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
}

/* Footer */
.footer {
    background-color: transparent;
    padding: 1.5rem 0;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: #0f172a;
    text-decoration: none;
}

.footer-links a:hover {
    color: #0f172a;
}

/* Checkbox Styling */
.form-section .accordion-item input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 28px;
    height: 28px;
    border: 3px solid #ffffff;
    border-radius: 50%;
    margin-right: 15px;
    margin-left: 20px;
    position: relative;
    cursor: pointer;
    vertical-align: middle;
    background-color: white;
}

.form-section .accordion-item input[type="checkbox"]:checked {
    background-color: white;
    background-image: url('../svg/tick.svg');
    background-size: 24px 24px;
    background-position: center;
    background-repeat: no-repeat;
}

.form-section .accordion-item input[type="checkbox"]:checked::after {
    content: none;
}
/* Add this to your existing CSS in details.css */
.form-section .accordion-item:has(input[type="checkbox"]:checked) {
    border: 5px solid #fff204; /* Change to desired color, e.g., darker shade */
}

.form-section .accordion-item label {
    font-family: 'League Spartan', sans-serif;
    font-weight: 400;
    font-size: 18px;
    color: #0f172a;
    vertical-align: middle;
    cursor: pointer;
}

/* Features Collected */
.features-collected {
    margin-top: 25px;
    width: 100%;
    max-width: 791px;
    min-width: 0;
}

.features-collected ul {
    list-style-type: disc;
    padding-left: 20px;
}

.features-collected li {
    margin-bottom: 10px;
    font-size: 16px;
}

.features-collected p {
    font-size: 16px;
    color: #e5e7eb;
}



/* Features Collected */
.features-collected-data {
    margin: -21px 198px;
    width: 100%;
    max-width: 791px;
    min-width: 0;
}

.features-collected-data ul {
    list-style-type: disc;
    padding-left: 20px;
}

.features-collected-data li {
    margin-bottom: 10px;
    font-size: 16px;
}

.features-collected-data p {
    font-size: 16px;
    color: #4b5563;
}

/* Responsive Textarea */
.responsive-textarea {
    width: 100%;
    max-width: 1200px;
    min-width: 0;
    min-height: 440px;
    border: 5px solid #0f172a1a;
    border-radius: 2.7rem;
    padding: 2rem;
    font-family: 'League Spartan', sans-serif;
    box-sizing: border-box;
    font-size: 18px;
    line-height: 1.4;
    margin-top: 20px;
    color: #4b5563;
}

.responsive-textarea::placeholder {
    font-family: 'League Spartan', sans-serif;
    color: #757575;
    font-size: inherit;
}



/* Responsive Textarea 2 */
.responsive-textarea2 {
    width: 100%;
    max-width: 1200px;
    min-width: 0;
    min-height: 300px;
    border: 0px solid #bdbdbd;
    border-radius: 0px;
    padding: 0px;
    font-family: 'League Spartan', sans-serif;
    box-sizing: border-box;
    font-size: 20px;
    line-height: 1.2;
    margin-top: 20px;
    color: grey;
}

.responsive-textarea2::placeholder {
    font-family: 'League Spartan', sans-serif;
    color: #757575;
    font-size: inherit;
}

/* Responsive Features Container */
.responsive-features {
    width: 100%;
    max-width: 1200px;
    min-width: 0;
    min-height: 50px;
    border: 0px solid #bdbdbd;
    border-radius: 10px;
    box-sizing: border-box;
}

/* Responsive Carousel Zone */
.responsive-carousel-zone {
    width: 100%;
    max-width: 1200px;
    min-width: 0;
    max-height: 550px;
    border-radius: 10px;
    padding: 0px;
    box-sizing: border-box;
    background-color: #0f172a3d;
    margin-top: 20px;
    background-size: cover; /* Adjusts the image to cover the entire area */
    background-position: center; /* Centers the background image */
    background-repeat: no-repeat; /* Prevents the image from repeating */
    
}

/* Responsive Blank Zone */
.responsive-blank-zone {
    width: 100%;
    max-width: 1200px;
    min-width: 0;
    min-height: 550px;
    border: 0px solid #e0e0e0;
    border-radius: 10px;
    padding: 0px;
    box-sizing: border-box;
    background-color: #e2e2e2;
    margin-top: 20px;
/*  background-image: url('../../images/image-placeholder.webp');   */
    background-size: cover; /* Adjusts the image to cover the entire area */
    background-position: center; /* Centers the background image */
    background-repeat: no-repeat; /* Prevents the image from repeating */
/*  opacity: 0.3;   */
}


.text-heading {
    font-family: 'League Spartan', sans-serif;
    font-size: 19px;
    margin-top: 20px;
}

/* Carousel Zone Container */
.accordion-description.carousel-container {
    width: 65.5%; /* Increased by 10% from 60% */
    padding-right: 0px; /* Remove padding as gap is handled by parent */
}

/* Description Area Container */
.accordion-description.description-container {
    width: 65.5%; /* Increased by 10% from 60% */
    padding-right: 0; /* Remove padding as gap is handled by parent */
}

/* Control Panel */
.control-panel2 {
    flex: 0 0 32%;
    border-radius: 10px 10px 0px 0px;
    padding: 0;
    min-height: 275px;
    box-sizing: border-box;
    margin-top: -949px;
    background-color: #0f172a3d;
    display: flex;
    flex-wrap: wrap;
    color: #ffffff;
}
.control-panel {
    flex: 0 0 32%;
    /* border: 1px solid #e2e2e2; */
    border-radius: 10px 10px 0px 0px;
    padding: 0;
    min-height: 275px;
    box-sizing: border-box;
    margin-top: -1011px;
    background-color: #0f172a3d;
    display: flex;
    flex-wrap: wrap;
    color: #ffffff;
}
.control-panel-description {
    flex: 0 0 32%;
    /* border: 1px solid #e2e2e2; */
    border-radius: 10px 10px 0px 0px;
    padding: 0;
    min-height: 275px;
    box-sizing: border-box;
    margin-top: -457px;
    background-color: #0f172a3d;
    display: flex;
    flex-wrap: wrap;
    color: #ffffff;
}
.control-panel-images {
    flex: 0 0 32%;
    /* border: 1px solid #e2e2e2; */
    border-radius: 10px 10px 0px 0px;
    padding: 0;
    min-height: 275px;
    box-sizing: border-box;
    margin-top: -945px;
    background-color: #0f172a3d;
    display: flex;
    flex-wrap: wrap;
    color: #ffffff;
}


.section {
    flex: 1 1 50%; /* Each section takes 50% width, can grow/shrink */
    box-sizing: border-box;
    text-align: center;
}

.info {
    padding: 0px 0px 0px 20px;
    text-align: left;
    line-height: 2.2;
    font-size: 18px;
    font-family: 'League Spartan', sans-serif;
}

.info2 {
    padding: 0px 20px 0px 0px;
    text-align: right;
    line-height: 2.2;
    font-size: 18px;
    font-family: 'League Spartan', sans-serif;
}



/* Location Map */
.location-map {
    flex: 0 0 32%;
    padding: 0;
    min-height: 275px;
    box-sizing: border-box;
    margin-top: -10px;
}

/* Location Map Blank */
.location-map-blank {
    flex: 0 0 32%;
    padding: 0;
    min-height: 275px;
    box-sizing: border-box;
    margin-top: -10px;
    background-color: #0f172a3d;
    border-radius: 0px 0px 10px 10px;
}

/* Ensure proper stacking in form-section */
.form-section {
    width: 100%;
    max-width: 1280px;
    margin: 30px auto;
    padding: 0 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
    align-items: flex-start;
}

/* Group control-panel and location-map together */
.control-panel-container {
    display: flex;
    flex-direction: column;
    flex: 0 0 32%;
    gap: 10px; /* Ensure consistent gap */
}


/* advert-area */
.advert-area img{
    flex: 0 0 32%;
    width: 100%;
    min-width: 0;
    min-height: 400px;
    border-radius: 10px;
    padding: 0px;
    box-sizing: border-box;
    background-color: #e0e0e0;
    margin-top: 12px;
}


/* advert-area */
.advert-area-blank img{
    flex: 0 0 32%;
    width: 100%;
    min-width: 0;
    min-height: 400px;
    border: 0px solid #0f172a3d;
    border-radius: 10px;
    padding: 0px;
    box-sizing: border-box;
    background-color: #0f172a3d;
    margin-top: 12px;
}
/* advert-area */
.advert-area-data img{
    flex: 0 0 32%;
    width: 100%;
    min-width: 0;
    min-height: 400px;
    border-radius: 10px;
    padding: 0px;
    box-sizing: border-box;
    background-color: #e0e0e0;
    margin-top: 8px;
}




@media (orientation: landscape) and (max-width: 896px) {
  /* Specific landscape mobile styles */

.control-panel-description {
    display: none;
}
.location-map-blank {
    display: none;
}
.responsive-textarea {
    min-width: 800px;
}
}


/* Media Queries for Responsive Adjustments */
@media screen and (max-width: 768px) {

.flex-gap {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

    .responsive-textarea,
    .responsive-features,
    .responsive-carousel-zone {
        max-width: 100%;
        padding: 15px;
    }

    .responsive-textarea {
        min-height: 200px;
    }

    .responsive-textarea2,
    .responsive-features,
    .responsive-carousel-zone {
        max-width: 100%;
        padding: 15px;
    }

    .responsive-textarea2 {
        min-height: 200px;
    }



    .responsive-carousel-zone {
        min-height: 400px;
    }

    .form-section {
        flex-direction: column; /* Stack vertically on smaller screens */
        gap: 12px;
    }

    .accordion-description.carousel-container,
    .accordion-description.description-container,
    .control-panel {
        width: 100%; /* Full width on mobile */
        flex: unset;
        margin: 2rem;
    }

    .control-panel {
        min-height: 400px;
        margin-top: 20px;
    }
    .vehicle-details-bar {
    font-size: 16px;
    text-align: left;
    }
}

@media screen and (max-width: 768px) {
    .control-panel-container {
        width: 100%;
        flex: unset;
        visibility: hidden;
    }

    .control-panel,
    .location-map {
        width: 100%;
        margin-top: 0; /* Reset any margins */
    }

    .location-map {
        margin-top: 10px; /* Maintain 10px gap */
    }


    .navigation-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}
.features-collected p {
    font-size: 16px;
    color: #e5e7eb;
    display: none;
}

.feature-cards {
    margin: 0 40px;
}


.progress-header {
    justify-content: space-around;
}
.display-description {
    display: none !important;
}
.advert-area-blank img {
    display: none !important;
}
.responsive-features {
    display: none;
}

}


@media screen and (max-width: 480px) {
    .responsive-textarea,
    .responsive-features,
    .responsive-carousel-zone {
        padding: 30px;
    }

    .responsive-textarea {
        min-height: 950px;
        margin-top: -60px;
    }

    .responsive-carousel-zone {
        min-height: 250px;
    }

    .form-section {
        padding: 0 10px;
    }

    .control-panel {
        min-height: 300px;
        margin-top: 20px;
    }
}

.next-btn:disabled {
    background-color: #cccccc; /* Grey background */
    color: #fff; /* Grey text */
    opacity: 0.9; /* Slightly transparent */
    cursor: not-allowed; /* Not-allowed cursor */
}

.display-description {
    min-height: 308px;
    width: 100%;
    margin-top: 0px;
    font-family: 'League Spartan', sans-serif;
    font-size: 19px;
    line-height: 1.5;
}
