body {
    font-family: "Bahnschrift";
}

a {
    color: rgb(255, 255, 255);
    text-decoration: none;
}

/* Header */

.bss-logo-main {
    display: block;
    max-width: 100%;
    height: auto;
}

.navbar-bg {
    background: linear-gradient( rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5) ), url("../images/navbar-bg.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    position: relative;
    height: 575px;
}

.navbar-brand {
    text-align: center;
}

.contact-info {
    color: #fff;
    font-size: 1rem;
}

.navbar-toggler {
    border: 2px solid #fff;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='white' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.nav-link {
    color: #fff;
    border-radius: 20px;
    font-size: 1rem;
    padding: 0.45rem 0.65rem !important;
    text-align: center;
}

.nav-link:hover {
    color: #000 !important;
    background-color: #fff;
}

.nav-link:active {
    color: #000 !important;
    background-color: #fff;
}

.nav-link:visited {
    color: #fff;
}

.nav-item {
    margin: 0 15px;
}

.dropdown-item {
    text-align: center;
}

.icon-links {
    position: absolute;
    bottom: 25px;
}

a {
  text-decoration: none;
}

.social-link {
    color: #fff;
    padding-left: 10px;
    padding-right: 10px;
}

.social-link:hover {
    color: #265cff;
}

/* Mini Header */

.mini-navbar-bg {
    height: auto;
}

.mini-header-logo {
    display: flex;
    min-height: auto;
    min-width: auto;
}

/* Home Page */

.home-page {
    background: linear-gradient( rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.85) ), url("../images/home-bg.jpg");
    background-size: cover;
}

.home-carousel {
    max-height: 820px;
}

.trust-text {
    background-color: rgba(40, 110, 22, 0.85);
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.cta-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7));
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

/* Services */

.services-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/services-bg.jpg');
    background-size: cover;
    background-position: center;
}

.services-detail {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/detailing-bg.jpg');
    background-size: cover;
    background-position: center;
}

.services-trust {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('../images/services-cta-bg.jpg');
    background-size: cover;
    background-position: center;
}

.services-hr {
    margin-bottom: 50px;
    border-top: 3px #fff solid;
}

/* Contact Us */

.contact-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/contact-bg.jpg');
    background-size: cover;
    background-position: center;
}

/* Edit Vehicle */

.vehicle-edit-input {
    background-color: #00000077;
    border: 1px solid #48b6ffc4;
    outline: none;
    color: #fff;
    transition: background-color 0.3s ease;
}

.vehicle-edit-input:focus {
    background-color: rgba(146, 146, 146, 0.63);
    color: #000;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

/* View Vehicle */

.text-white-50 {
    color: rgba(255, 255, 255, 0.75) !important;
}

.carousel-item {
    background-color: #1a1a1a;
}

.main-card-details {
    --bs-card-bg: rgba(0, 0, 0, 0.55) !important;
}

.vehicle-details {
    backdrop-filter: blur(6px);
    --bs-card-bg: rgba(0, 0, 0, 0.55) !important;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.8);
}

.tech-details {
    --bs-card-bg: rgba(0, 0, 0, 0.45) !important;
}

/* Used Vehicles */

.vehicle-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/vehicles-bg.jpg');
    background-size: cover;
    background-position: center;
}

.used-vehicle-title {
    color: #fff;
    margin-top: 40px;
    margin-bottom: 40px;
    font-size: 2rem;
    min-width: 280px;
}

.color-filter.active {
    position: relative;
    transform: scale(1.05);
    transition: transform 0.2s ease;
}

.color-filter.active::after {
    content: "✓";
    position: absolute;
    top: -5px;
    right: -5px;
    background: #006eff;
    color: white;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    border: 2px solid white;
}

.color-filter[data-value="all"].active::after {
    content: "";
    display: none;
}

.filter-card {
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(6px);
    box-shadow: 0 25px 35px rgba(0, 0, 0, 0.9);
    border: 1px #d8d8d8 solid;
    border-radius: 10px;
    color: #fff;
    top: 20px;
}

.form-select {
    background-color: rgba(0, 0, 0, 0.3);
    border: 1px solid #48b6ffc4;
    color: #fff;
}

.form-select:focus, .form-range:focus {
    background-color: rgba(146, 146, 146, 0.63);
    color: #000;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

.form-check-input:checked {
    background-color: #006eff;
    border-color: #006eff;
}

.color-option {
    cursor: pointer;
    border-radius: 50%;
    transition: transform 0.2s ease;
}

.color-option:hover {
    transform: scale(1.1);
}

.color-option.selected {
    border: 2px solid #fff;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.7);
}

.btn-group .btn {
    flex: 1;
}

.btn-group .btn.active {
    background-color: #006eff;
    color: white;
}

.listings-image {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.listings-card {
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(6px);
    box-shadow: 0 25px 35px rgba(0, 0, 0, 0.9);
    border: 1px #d8d8d8 solid;
    border-radius: 10px;
    color: #fff;
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.listings-card:hover {
    background-color: rgba(0, 0, 0, 0.7);
    box-shadow: 0 30px 45px rgba(0, 0, 0, 0.9);
    transform: translateY(-5px);
}

.card-title {
    transition: color 0.3s ease;
}

.card-title:hover {
    color: #006eff;
}

.listing-price {
    color: #cf7c38;
    transition: color 0.3s ease;
}

.listing-price:hover {
    color: #468d2b;
}

/* Calendar */

.current-datetime {
    color: #fff;
    font-weight: 200;
    margin-top: 30px;
}

#calendar {
    --fc-border-color: #495057;
    --fc-today-bg-color: rgba(63, 81, 181, 0.15);
    --fc-neutral-bg-color: transparent;
    --fc-page-bg-color: rgba(0, 0, 0, 0.5);
    --fc-event-border-color: transparent;
    padding: 40px 20px 30px 20px;
    background-color: rgba(19, 19, 19, 0.685);
    backdrop-filter: blur(6px);
    box-shadow: 0 25px 35px rgba(0, 0, 0, 0.9);
    border: 2px #d8d8d8 solid;
    border-radius: 10px;
}

.fc-header-toolbar {
    padding-left: 20px;
    padding-right: 20px;
}

.fc-button {
    border: 1px #006eff solid !important;
    background-color: transparent !important;
    border-radius: 10px !important;
    height: 45px !important;
    font-size: large !important;
}

.fc-button:hover {
    background-color: rgb(0, 93, 214) !important;
}

.fc-button:disabled {
    background-color: transparent !important;
}

.fc-prev-button, .fc-next-button {
    width: 62px !important;    
}

.fc-today-button, .fc-dayGridMonth-button, .fc-timeGridWeek-button, .fc-timeGridDay-button {
    padding-left: 20px !important;
    padding-right: 20px !important;
}

.fc-button-active {
    background-color: #006eff !important;
}

.fc-button-active:hover {
    background-color: #006eff !important;
}

.fc-timegrid-event-harness {
    width: 102%;
    cursor: pointer;
}

.fc-timegrid-event {
    transition: background-color 0.3s ease;
    min-height: initial;
    height: fit-content;
}

.fc-timegrid-event:hover {
    background-color: rgba(110, 110, 110, 0.774) !important;
}

.fc-event {
    border-radius: 4px;
    padding: 1px 6px;
    font-size: 1rem !important;
}

.fc-event-new {
    background-color: #0b94af !important;
}

.fc-event-completed {
    background-color: #00499c !important;
}

.fc-event-confirmed {
    background-color: #47884d !important;
}

.fc-event-cancelled {
    background-color: #dc3545 !important;
}

.fc-event-content {
    overflow: hidden;
    text-overflow: ellipsis;
}

.fc-daygrid-event-dot {
    display: none;
}

/* Modal Styles */

#bookingModal .modal-content {
    border: 1px solid #495057;
}

#bookingModal .modal-header {
    border-bottom: 1px solid #495057;
}

#bookingModal .modal-footer {
    border-top: 1px solid #495057;
}

.text-black {
    color: #000 !important;
}

/* Responsive adjustments */

@media (max-width: 768px) {
    .fc-toolbar {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .fc-toolbar-title {
        font-size: 1.2rem;
    }

    .filter-card {
        position: static;
        margin-bottom: 20px;
    }
}

/* Calendar Responsive Styles */
@media (max-width: 767px) {
    /* Smaller font sizes for mobile */
    .fc .fc-toolbar-title {
        font-size: 1.1rem !important;
    }
    
    /* Compact buttons */
    .fc .fc-button {
        padding: 0.3rem 0.5rem !important;
        font-size: 0.8rem !important;
    }
    
    /* Adjust time slots */
    .fc .fc-timegrid-slot {
        height: 1.8em !important;
        font-size: 0.8rem !important;
    }
    
    /* Compact events */
    .fc-event {
        font-size: 0.7rem !important;
        padding: 0 2px !important;
    }
    
    /* Hide some elements on small screens */
    .fc-col-header-cell-cushion {
        font-size: 0.7rem !important;
    }
    
}

@media (max-width: 575px) {
    /* Even more compact view for very small screens */
    .fc .fc-toolbar {
        flex-direction: column;
        gap: 0.3rem;
    }
    
    .fc .fc-toolbar-title {
        font-size: 1rem !important;
        margin: 0.3rem 0 !important;
    }
    
    /* Stack calendar toolbar buttons */
    .fc-toolbar-chunk {
        display: flex;
        justify-content: center;
        margin-bottom: 0.3rem;
    }
    
    /* Event content adjustments */
    .fc-event-content div {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    /* Hide non-essential event info on smallest screens */
    .fc-event-content div:nth-child(2) {
        display: none;
    }
}

/* Admin Panel */

.admin-panel {
    background: linear-gradient( rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.85) ), url("../images/bss-logo.png");
    background-size: 15%;
}

.table-title {
    color: #fff;
    margin-top: 40px;
    margin-bottom: 40px;
}

.enquiry-parameter-text {
    color: #fff;
}

.whole-table {
    margin-top: 30px;
    margin-bottom: 20px;
    --bs-table-bg: rgba(0, 0, 0, 0.2);
    --bs-table-color: #fff;
    backdrop-filter: blur(10px);
}

.table-head {
    --bs-table-bg: rgb(38, 89, 184);
    height: 80px;
}

.table-header-cols {
    position: relative;
}

.table-header-cols:not(:last-child):after {
    content: '';
    height: 80%;
    width: 1px;

    position: absolute;
    right: 0;
    top: 13%;

    background-color: #fff;
}

.table-body {
    border: #577291;
    border-top: calc(var(--bs-border-width) * 3) solid #307ace;
}

.enquiry-row:hover {
    --bs-table-bg: rgb(104, 118, 138);
}

table tbody tr:last-child {
    border: none;
}

/* Add Stock */

.input-registration-form {
    max-width: 500px !important;
}

.reg-label {
    font-size: large;
}

.reg-input {
    width: 100%;
}

.vehicle-details-preview {
    padding-left: 30px;
    padding-right: 30px;
}

 .vehicle-details-text {
    color: #a4d100;
 }

/* View Enquiries */

.read-more-btn {
    color: #3689e9;
    text-decoration: none;
    font-size: 0.9rem;
}

.message-preview, .message-full {
    word-break: break-word;
}

.message-text {
    max-width: 500px;
}

.booking-message-text {
    max-width: 375px;
}

.notes-text {
    max-width: 400px;
}

.booking-notes-text {
    max-width: 250px;
}


.pagination {
    margin-bottom: 40px;
}

.page-link {
    background-color: #00000077;
    color: #fff;
}

.disabled .page-link {
    background-color: #e2e2e277;
    color: #fff;
}

/* Make an Enquiry & Service Request */

.enquiry-sect {
    background: linear-gradient( rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5) ), url("../images/login-reg-bg.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    height: 100%;
}

.enquiry-form {
    color: #fff;
    backdrop-filter: blur(6px);
    background: rgba(0, 0, 0, 0.4);
    max-width: 650px;
    box-shadow: 0 25px 35px rgba(0, 0, 0, 0.9);
    border: 2px #7a7a7a solid;
    border-radius: 10px;
    margin-top: 40px;
    margin-bottom: 50px;
    padding-top: 30px;
}

.enquiry-labels {
    padding-bottom: 12px;
}

.message-enquiry {
    height: 150px;
}

.muted-name {
    padding-top: 15px;
    padding-bottom: 15px;
    font-size: 0.8em;
    font-weight: 200;
}

.enquiry-fields {
    margin-top: 20px;
    margin-bottom: 20px;
}

.required-mark {
    font-size: 0.9rem;
    color: #ff000075;
}

.enquiry-cols {
    min-width: 240px;
}

.enquiry-input {
    background-color: #00000077;
    border: 1px solid #48b6ffc4;
    outline: none;
    color: #fff;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.enquiry-input:focus {
    background-color: rgba(146, 146, 146, 0.63);
    color: #000;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

.enquiry-input::placeholder {
    color: #fff;
}

.enquiry-input:focus::placeholder {
    color: #000;
}

.recaptcha-warning {
    margin-top: 40px;
}

input[type="datetime-local"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
}

/* Register & Login */

.login-reg-sect {
    background: linear-gradient( rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5) ), url("../images/login-reg-bg.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    height: 100%;
}

.login-reg-alert {
    margin-top: 30px;
    max-width: 500px;
}

.login-reg-form {
    color: #fff;
    backdrop-filter: blur(6px);
    background: rgba(0, 0, 0, 0.4);
    max-width: 425px;
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.5);
    border: 2px #7a7a7a solid;
    border-radius: 10px;
    margin-top: 80px;
    margin-bottom: 80px;
    padding-top: 30px;
    height: 450px;
}

.login-reg-input {
    background-color: transparent;
    border: none;
    border-bottom: 1px #fff solid;
    border-radius: 0;
    outline: none;
    color: inherit;
    font-size: 1rem;
    transition: background-color 0.3s ease;
    transition: box-shadow 0.3s ease;
}

.login-reg-input:focus {
    background-color: transparent;
    color: #fff;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.login-reg-btn {
    margin-top: 10px;
    width: 100%;
}

.login-instead {
    color: #006eff;
}

.login-instead:hover {
    color: #3183ff;
    text-decoration: underline;
}

/* Footer */

.footer {
    color: #fff;
    background-image: linear-gradient(to bottom right, #211526, #001124);
}

.footer-text {
    margin-top: 40px;
    font-size: 1rem;
    font-weight: 200;
}

.footer-subtext {
    font-size: 0.875rem;
    font-style: oblique;
}

.company-info {
    font-size: 0.875rem;
    font-weight: 200;
}

.signature {
    text-decoration: underline;
    font-style: italic;
    transition: color ease 0.3s;
}

.signature:hover {
    color: #2c922c;
}

.footer-links {
    margin-bottom: 25px;
}

/* Max screen wixth of 991px */

@media screen and (max-width: 991px) {
    /* Header */
    
    .navbar-brand {
        max-width: 75%;
    }
}

/* Max screen width of 407px */

@media screen and (max-width: 407px) {
    /* Header */
    
    .navbar-brand {
        font-size: medium;
    }
    
    .icon-links {
        font-size: 10px;
    }
    
    .contact-info {
        font-size: 12px;
    }

    /* Make an Enquiry */
    
    .g-recaptcha {
        transform: scale(0.80);
        -webkit-transform: scale(0.80) translate(40px, 0);
        transform-origin: 0 0;
        -webkit-transform-origin: 0 0;
    }
}