@font-face {
    font-family: 'Favorit';
    src: url('/font/FavoritBookC.woff2') format('woff2'),
        url('/font/FavoritBookC.woff') format('woff');
    font-style: normal;
}

body {
    margin: 0;
    background: #030712;
    color: #d5d3d3;
    font-family: "Favorit", sans-serif;
    overflow-x: hidden;
    position: relative;
}

section {
    padding: 70px 0;
    overflow-x: hidden;
}

h3,
h4 {
    color: #fff;
}

.custom-justify p {
    text-align: justify;
    hyphens: auto;
}

.dark {
    background: #0f1318;
}

.parallax-bg {
    width: 100%;
    height: 520px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.sideLinks {
    position: fixed;
    display: flex;
    top: 50%;
    left: 100%;
    flex-direction: column;
    gap: 0px;
    z-index: 10000;
}

.sideLinks {
    transform: translateY(-50%);
}

.sideLinks__item {
    margin-left: -40px;
    transition: all 0.1s ease-in-out;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    background-color: #4a9eff;
    color: #fff;
    align-items: center;
    gap: 10px;
    padding-right: 15px;
    cursor: pointer;
}

.sideLinks__item i {
    height: 40px;
    width: 40px;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sideLinks__item:hover {
    margin-left: -100%;
    color: #fff;
}

.sideLinks__item span {
    text-transform: uppercase;
    width: max-content;
}

.colour-toggle-wrap {
    position: absolute;
}

.colour-toggle {
    position: relative;
    display: inline-flex;
    background: transparent;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 4px;
    gap: 0;
}

.colour-tab {
    position: relative;
    z-index: 1;
    padding: 9px 32px;
    border: none;
    background: transparent;
    color: #e9ecef;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: color 0.3s ease;
}

.colour-tab.active {
    color: #e9ecef;
}

.colour-tab-indicator {
    position: absolute;
    top: 4px;
    left: 4px;
    height: calc(100% - 8px);
    background: transparent;
    border-radius: 10px;
    border: 1px solid #e9ecef;
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1), width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.colour-name-label {
    text-align: center;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #c8a84b;
    margin: 20px 0 12px;
    opacity: 0.85;
}

.navbar {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    padding: 1rem 0;
    position: relative;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar-brand {
    height: 50px;
}

.navbar-brand img,
.navbar-brand img {
    width: 100%;
    height: 100%;
    max-height: 55px;
    object-fit: contain;
    object-position: center;
}

.video-container video {
    width: 100%;
}

.video-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Overlay Left Text */
.video-overlay-text {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    z-index: 2;
}

/* Optional dark overlay for better readability */
.video-container::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.6), transparent);
    z-index: 1;
}

.video-overlay-text h1 {
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 700;
}

.video-overlay-text p {
    font-size: clamp(14px, 1.2vw, 18px);
    margin-top: 10px;
    margin-bottom: 20px;
}

.btn-premium-glass {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    background: none;
    border: 1px solid #e9ecef;
    color: #e9ecef;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
    text-wrap: nowrap;
    font-size: clamp(12px, 1.1vw, 14px);
}

.btn-premium-glass:hover {
    background-color: #e9ecef;
    color: #2c3e50;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

a {
    text-decoration: none;
}

.btn-light-pill {
    border-radius: 40px;
    padding: 10px 28px;
    font-weight: 600;
}

.title {
    text-align: center;
    margin-bottom: 50px;
}

.title h2 {
    font-size: clamp(22px, 3vw, 34px);
    font-weight: 700;
    color: #fff;
}



img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 8px;
}

.img-wrapper {
    overflow: hidden;
    border-radius: 8px;
    height: 100%;
}

.img-wrapper-bg {
    background: url("../images/005.jpg") no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    width: 100%;
    height: 100%;
}

.img-wrapper img {
    width: 100%;
    transition: all 1s ease-in-out;
}

.img-wrapper img:hover {
    transform: scale(1.05);
}

.smart-wrapper .img-wrapper {
    height: auto;
}

.spec {
    font-size: 42px;
    font-weight: 800;
}

.spec small {
    display: block;
    font-size: 15px;
    color: #aaa;
}

.feature {
    padding: 0 30px;
}

.feature p {
    text-align: justify;
    hyphens: auto;
}

.counter-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: #0f1318;
    padding: 35px 0;
    border-radius: 8px;
}

.footer-section {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    padding: 80px 0 30px;
    position: relative;
    overflow: hidden;
}

.footer-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #333, transparent);
}

.logo-section {
    margin-bottom: 50px;
}

.brand-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #4a9eff;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    height: 65px;
}

.brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.brand-logo i {
    margin-right: 10px;
    font-size: 2rem;
}

.brand-description {
    color: #b0b0b0;
    line-height: 1.6;
    /* max-width: 400px; */
    margin-bottom: 30px;
}

.contact-info {
    /* margin-bottom: 30px; */
    gap: 2rem;
}

.contact-info a {
    text-decoration: none;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: #d0d0d0;
    transition: color 0.3s ease;
}

.contact-item:hover {
    color: #4a9eff;
}

.contact-item i {
    margin-right: 12px;
    width: 20px;
    color: #4a9eff;
}

.footer-heading {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
}

.footer-heading::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #4a9eff, #00d4ff);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #b0b0b0;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 15px;
}

.footer-links a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: #4a9eff;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    color: #4a9eff;
    padding-left: 20px;
}

.footer-links a:hover::before {
    opacity: 1;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #2a2a2a, #3a3a3a);
    border: 1px solid #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b0b0b0;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-icon::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #4a9eff, #00d4ff);
    transition: left 0.3s ease;
    z-index: -1;
}

.social-icon:hover {
    color: #ffffff;
    border-color: #4a9eff;
    transform: translateY(-3px);
}

.social-icon:hover::before {
    left: 0;
}

.footer-bottom {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    color: #666;
    font-size: 0.9rem;
}

.footer-bottom-links {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-bottom-links a {
    color: #b0b0b0;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: #4a9eff;
}

.lovable-credit {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #666;
}

.lovable-credit .heart {
    color: #ff4757;
    animation: heartbeat 1.5s ease-in-out infinite;
}

.lovable-credit a {
    text-decoration: none;
    color: #b0b0b0;
}

.lovable-credit a:hover {
    color: #4a9eff;
}

@media (max-width: 768px) {
    .footer-section {
        padding: 50px 0 20px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .footer-bottom-links {
        justify-content: center;
        gap: 20px;
    }
}

.colours-section {
    padding: 70px 0;
    background: #000;
}

.colours-title {
    text-align: center;
    color: #fff;
    font-size: 52px;
    font-weight: 700;
    margin-bottom: 30px;
}

/* TOP DOTS */
.color-picker {
    display: flex;
    justify-content: flex-end;
    gap: 14px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.color-dot {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid #666;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: .3s;
}

.color-dot:hover {
    transform: scale(1.08);
}

.color-dot.active {
    border-color: #fff;
}

.color-dot span {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: block;
}

.black span {
    background: #111;
}

.grey span {
    background: #666;
}

.blue span {
    background: #24497d;
}

.red span {
    background: #9d1a1a;
}

.beige span {
    background: #b9b29c;
}

.silver span {
    background: #9ca3ad;
}

.white span {
    background: #fff;
    border: 1px solid #ddd;
}

.color-dot.int-black span {
    background: #000;
}

.color-dot.int-beige span {
    background: #e2d8d6;
}

/* CARD */

.color-name {
    position: absolute;
    top: 35px;
    right: 35px;
    color: #fff;
    font-size: 28px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.mini-dot {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1px solid #999;
}

.car-preview {
    width: 100%;
    margin: auto;
    transition: 1s ease;
}


/* MOBILE */
@media(max-width:767px) {

    .colours-title {
        font-size: 38px;
    }

    .colour-toggle-wrap {
        position: relative;
        display: flex;
        justify-content: center;
        margin-bottom: 20px;
    }

    .color-picker {
        justify-content: center;
    }

    .color-name {
        position: static;
        justify-content: center;
        margin-bottom: 20px;
    }

    .colours-card {
        min-height: auto;
        padding: 25px 20px 110px;
    }
}

/* ANIMATION */
.reveal {
    opacity: 0;
    transform: translateY(70px);
    transition: all 1s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.zoom {
    opacity: 0;
    transform: scale(.8);
    transition: all 1s ease;
}

.zoom.active {
    opacity: 1;
    transform: scale(1);
}

.left {
    opacity: 0;
    transform: translateX(-80px);
    transition: all 1s ease;
}

.left.active {
    opacity: 1;
    transform: translateX(0);
}

.right {
    opacity: 0;
    transform: translateX(80px);
    transition: all 1s ease;
}

.right.active {
    opacity: 1;
    transform: translateX(0);
}

/* ── Contact Section ── */
/* ── Floating Label Inputs ── */
.contact-form .form-floating>.form-control,
.contact-form .form-floating>.form-select {
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 0;
    color: #fff;
    box-shadow: none;
}

/* Focus state */
.contact-form .form-floating>.form-control:focus,
.contact-form .form-floating>.form-select:focus {
    border-bottom: 1px solid #fff;
    box-shadow: none;
    outline: none;
    color: #fff !important;
}

/* Label default */
.contact-form .form-floating>label {
    color: rgba(255, 255, 255, 0.6);
    padding-left: 0;
}

/* Label when active (focused or filled) */
.contact-form .form-floating>.form-control:focus~label,
.contact-form .form-floating>.form-control:not(:placeholder-shown)~label,
.contact-form .form-floating>.form-select:focus~label,
.contact-form .form-floating>.form-select:not([value=""])~label {
    color: #fff;
    transform: scale(0.85) translateY(-1.2rem) translateX(0);
}

/* Remove default Bootstrap background */
.contact-form .form-floating>label::after {
    background: transparent;
}

/* Autofill fix */
.contact-form input:-webkit-autofill,
.contact-form input:-webkit-autofill:hover,
.contact-form input:-webkit-autofill:focus,
.contact-form textarea:-webkit-autofill,
.contact-form select:-webkit-autofill {
    -webkit-text-fill-color: #fff !important;

    /* THIS removes the grey/white bg */
    /* -webkit-box-shadow: 0 0 0px 1000px transparent inset !important; */
    box-shadow: 0 0 0px 1000px transparent inset !important;

    background-color: transparent !important;
    border-bottom: 1px solid #fff !important;

    transition: background-color 9999s ease-in-out 0s;
}

.contact-form input:-webkit-autofill {
    -webkit-background-clip: text !important;
}

/* Optional: smoother animation */
.contact-form .form-floating>label,
.contact-form .form-control {
    transition: all 0.3s ease;
}

.contact-form .form-floating>.form-control:focus~label,
.contact-form .form-floating>.form-control:not(:placeholder-shown)~label,
.contact-form .form-floating>.form-select~label,
.contact-form .form-floating>.form-control:focus~label::after,
.form-floating>.form-control:disabled~label::after,
.form-floating>:disabled~label::after,
.form-floating>.form-control:not(:placeholder-shown)~label::after {
    color: #d5d3d3 !important;
    background: transparent;
}

.contact-form .form-floating>textarea.form-control {
    height: 140px;
    resize: none;
}

.map-embed {
    height: 100%;
}

.map-embed iframe {
    width: 100%;
    height: 100%;
    min-height: 340px;
    display: block;
    filter: grayscale(30%) contrast(1.05);
    border-radius: 16px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}