@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: contain;
}

.bg1 {
    background-image: url("../images/005.webp");
}

.bg2 {
    background-image: url("../images/006.webp");
}

.bg3 {
    background-image: url("../images/008.webp");
}

.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 img,
.navbar-brand img {
    width: 100%;
    height: 100%;
    max-height: 55px;
    object-fit: contain;
    object-position: center;
    border-radius: 0;
}

.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: #030712;
    padding: 35px 0;
    border-radius: 8px;
}

.footer-section {
    padding: 80px 0 0px;
    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;
}

.logo-section p {
    color: #b0b0b0;
    line-height: 1.6;
    /* max-width: 400px; */
    margin-bottom: 15px;
    text-align: center;
}

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

.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-wrapper {
    margin-top: 30px;
    padding: 10px;
}

.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.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: 767px) {
    .footer-section {
        padding: 50px 0 0px;
    }

    .brand-logo img {
        object-position: left;
    }

    .logo-section p {
        text-align: left;
    }

    .footer-bottom {
        gap: 5px;
        justify-content: left;
    }

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

    .parallax-bg {
        height: 157px;
    }

    .bg1 {
        background-image: url("../images/005-750x480.webp");
    }

    .bg2 {
        background-image: url("../images/006-750x480.webp");
    }

    .bg3 {
        background-image: url("../images/008-750x480.webp");
    }
}

.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: 0.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(0.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;
}

@media screen and (min-width: 1281px) and (max-width: 1600px) {
    .video-container {
        height: 581px;
    }
}

@media screen and (min-width: 431px) and (max-width: 1024px) {
    .video-container {
        height: 509px;
    }
}

@media screen and (max-width: 430px) {
    .video-container {
        height: 118.372vw;
    }
}

.blog-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-date {
    font-size: 13px;
    margin-bottom: 10px;
}

.blog-title {
    color: #fff;
}

.blog-header {
    padding: 0 0 30px;
    text-align: center;
}

.blog-header h1 {
    font-size: 38px;
    font-weight: 700;
    color: #fff;
    max-width: 800px;
    margin: auto;
}

.blog-meta {
    color: #94a3b8;
    font-size: 14px;
    margin-top: 10px;
}

.blog-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 16px;
    margin: 30px auto;
    max-width: 850px;
    display: flex;
}

.blog-content {
    max-width: 850px;
    margin: auto;
    line-height: 1.8;
    font-size: 15px;
}

.blog-content p {
    margin-bottom: 18px;
    text-align: justify;
    hyphens: auto;
}

.highlight {
    color: #4a9eff;
    font-weight: 600;
}

.section-title {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-top: 30px;
}

.blog-box {
    padding: 40px;
}

@media (max-width: 768px) {
    .blog-header h1 {
        font-size: 26px;
    }

    .blog-image {
        height: 250px;
    }

    .blog-box {
        padding: 20px;
    }
}

/* More Blog */
.more-blog-wrapper {
    padding: 30px 0 0px;
}

.blog-card {
    border: 1px solid #e9ecef57;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.2s ease;
    text-decoration: none;
    color: inherit;
    color: white;
}

.blog-card:hover {
    transform: translateY(-4px);
}

.card-cover {
    width: 100%;
    height: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 0;
    transform: scale(1.05);
}

.blog-card:hover .card-cover img {
    transform: scale(1.05);
}

.card-body-inner {
    padding: 1.4rem 1.5rem 1.6rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-title {
    font-size: 1.02rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.6rem;
    letter-spacing: -0.01em;
}

.blog-card p {
    font-size: 0.85rem;
    font-weight: 300;
    line-height: 1.65;
    margin-bottom: 1.25rem;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: justify;
    hyphens: auto;
}

.card-footer-inner {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef1f;
    flex-wrap: wrap;
}

.author-name {
    font-size: 0.78rem;
    font-weight: 600;
}

.meta-dot {
    color: white;
    font-size: 0.7rem;
}

.card-date {
    font-size: 0.75rem;
    font-weight: 400;
}

@media (max-width: 576px) {
    .bg-picture {
        padding-right: calc(1.5rem * 0.5);
        padding-left: calc(1.5rem * 0.5);
    }
}
