@import url("https://fonts.googleapis.com/css2?family=Lora:wght@400;500;600&family=Poppins:wght@300;400;500;600&display=swap");

:root {
    --yellow: #f8bc17;
    --yellow-hover: #ffd76a;
    --primary-gold: #c5a059;
    --primary-blue: #2563eb;
    --dark-bg: #0f172a;
    --brand-pink: #ff4d6d;
    --brand-bg-pink: #fff0f3;
}

::selection {
    background-color: var(--yellow);
    color: #fff;
}

html {
    width: stretch;
    overflow-x: hidden;
    scrollbar-width: none;
    scroll-behavior: smooth;
    sc
}

body {
    overflow-x: hidden;
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    src: url('../fonts/remixicon.woff2') format('woff2'),
        url('../fonts/remixicon.woff') format('woff'),
        url('../fonts/remixicon.ttf') format('truetype');
    line-height: 1.6;
    position: relative;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Lora", serif;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.img_full {
    width: 100%;
}

/* Button */
.button_color {
    position: relative;
    display: inline-block;
    color: var(--yellow);
    /* Initial text color */
    border: 2px solid var(--yellow);
    border-radius: 10px;
    background-color: transparent;
    overflow: hidden;
    /* Important: clips the sliding layer */
    z-index: 1;
    transition: color 0.4s ease;
}

/* This is the layer that actually "fills" the button */
.button_color::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--yellow);
    z-index: -1;

    transform: translateX(-100%);
    transition: transform 0.4s ease-out;
}

.button_color:hover {
    color: #ffffff;
    text-decoration: none;
}

.button_color:hover::before {
    transform: translateX(0);
}


.button_color span {
    position: relative;
    z-index: 2;
}

/* Background */
.bg_yellow {
    background-color: var(--yellow);
}

.background {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 100%;
    width: 100%;
    max-width: var(--max-width);
    display: flex;
    justify-content: space-between;
    z-index: -99;
}

.background span {
    width: 2px;
    height: 100%;
    background-color: var(--text-light);
    opacity: 0.1;
}

.hamburger_menu,
.hamburger_menu:hover,
.hamburger_menu:focus,
.hamburger_menu:active {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background-color: transparent !important;
}

/* Icons Size */
.navbar .ri-heart-line,
.navbar .ri-shopping-cart-2-line,
.navbar .ri-account-circle-line {
    font-size: 22px;
}

.navbar .hamburger_menu i {
    font-size: 26px;
}

.navbar .d-flex.gap-3 a i {
    transition: 0.2s;
}

.navbar .d-flex.gap-3 a i:hover {
    transform: scale(1.2);
}

.navbar {
    background: #000000bf !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-toggler {
    color: white !important;
}

/* Video Header */
.video_wrapper {
    position: relative;
}

.video_wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    pointer-events: none;
}

/* Wishlist */
.wishlist-wrapper {
    max-width: 1000px;
    margin: 60px auto;
}

.header-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.wishlist-item {
    background: white;
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.wishlist-item:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transform: scale(1.01);
}

.car-thumb {
    width: 180px;
    height: 120px;
    object-fit: cover;
    border-radius: 15px;
}

.car-details {
    flex-grow: 1;
    padding-left: 25px;
}

.car-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark-navy);
    margin-bottom: 5px;
}

.spec-label {
    background: #f0f2f5;
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 0.75rem;
    color: #6c757d;
    margin-right: 5px;
}

.price-box {
    text-align: right;
    min-width: 150px;
}

.current-price {
    display: block;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-gold);
}

.action-btns {
    display: flex;
    gap: 10px;
    margin-left: 20px;
}

.btn-circle {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
    border: 1px solid #eee;
    background: white;
    color: #444;
}

.btn-circle:hover {
    background: #f8d7da;
    color: #dc3545;
    border-color: #f8d7da;
}

.btn-buy {
    background: var(--yellow);
    color: white;
    padding: 10px 25px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

.btn-buy:hover {
    background: var(--yellow-hover);
    color: #fff;
}

/* Register */
.register-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    width: 100%;
    max-width: 600px;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.register-card h2 {
    font-weight: 800;
    color: var(--dark-bg);
    margin-bottom: 5px;
    letter-spacing: -1px;
}

.sub {
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 30px;
}

.input-box {
    position: relative;
    margin-bottom: 20px;
}

.input-box i:not(.toggle-password) {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 1.2rem;
    padding: 0 10px;
}

.input-box input {
    width: 100%;
    padding: 14px 45px;
    border-radius: 12px;
    border: 1.5px solid #e2e8f0;
    background: #f8fafc;
    transition: all 0.3s ease;
    outline: none;
}

.input-box input:focus {
    border-color: var(--primary-gold);
    background: white;
    box-shadow: 0 0 0 4px #f8bc1785;
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #64748b;
    transition: 0.2s;
}

.toggle-password:hover {
    color: var(--primary-blue);
}

.blog-btn {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    border: none;
    background: var(--dark-bg);
    color: white;
    font-weight: 600;
    font-size: 1rem;
    margin-top: 10px;
    transition: all 0.3s;
}

.blog-btn:hover {
    background: #1e293b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.login-link {
    text-align: center;
    margin-top: 25px;
    color: #64748b;
    font-size: 0.9rem;
}

.login-link a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
}

.login-link a:hover {
    text-decoration: underline;
}

/* Login */
.login-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    width: 100%;
    max-width: 600px;
    padding: 45px 40px;
    border-radius: 28px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.login-card h2 {
    font-weight: 800;
    color: var(--dark-bg);
    margin-bottom: 8px;
    letter-spacing: -1px;
}

.sub {
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 35px;
}

.input-box {
    position: relative;
    margin-bottom: 22px;
}

.input-box i:not(.toggle-password) {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 1.2rem;
}

.input-box input {
    width: 100%;
    padding: 14px 45px;
    border-radius: 12px;
    border: 1.5px solid #e2e8f0;
    background: #f8fafc;
    transition: all 0.3s ease;
    outline: none;
}

.input-box input:focus {
    border-color: var(--primary-gold);
    background: white;
    box-shadow: 0 0 0 4px #f8bc1785;
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #64748b;
}

.options-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    font-size: 0.85rem;
}

.forgot-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
}

.btn-login {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    border: none;
    background: var(--dark-bg);
    color: white;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s;
}

.btn-login:hover {
    background: #1e293b;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.social-login {
    margin-top: 30px;
    text-align: center;
    border-top: 1px solid #e2e8f0;
    padding-top: 25px;
}

.register-link {
    text-align: center;
    margin-top: 25px;
    color: #64748b;
    font-size: 0.9rem;
}

.register-link a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
}

/* Index Page */
/* Brand Section */
.brand-badge {
    background-color: #ffeef0;
    color: #ff4d6d;
    font-weight: bold;
    font-size: 0.75rem;
    padding: 4px 12px;
    border-radius: 50px;
    display: inline-block;
}

/* Card styling to match the screenshot */
.brand-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.brand-card:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transform: translateY(-5px);
}

.brand-logo {
    max-width: 80px;
    height: auto;
    margin-bottom: 20px;
}

.brand-name {
    font-weight: 600;
    color: #333;
    margin-top: 10px;
}

.btn-outline-dark {
    border-radius: 8px;
    font-weight: 500;
    padding: 8px 20px;
}

/* Body Type */
.type-card {
    border: 1px solid #e9ecef;
    border-radius: 12px;
    background: #fff;
    padding: 1.5rem;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Vertically centers content */
    align-items: center;
    transition: all 0.25s ease-in-out;
    text-decoration: none;
}

.type-card:hover {
    border-color: #dee2e6;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transform: translateY(-4px);
}

/* Image container to fix height issues */
.img-wrapper {
    height: 80px;
    /* Fixed height for image area */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    width: 100%;
}

.img-wrapper img {
    max-height: 100%;
    width: auto;
    object-fit: contain;
}

.type-name {
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
}

.type-badge {
    background-color: var(--brand-bg-pink);
    color: var(--brand-pink);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 50px;
    text-transform: uppercase;
}

/* blog Section */
.badge-custom {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 50px;
    display: inline-block;
    letter-spacing: 0.5px;
}

.badge-pink {
    background-color: #fff0f3;
    color: #ff4d6d;
}

/* Card Image styling */
.blog-card img {
    height: 240px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover img {
    transform: scale(1.02);
}

.blog-card a {
    cursor: pointer;
    transition: color 0.2s ease;
    text-decoration: none;
    color: black;
}

.blog-card a:hover {
    color: #ff4d6d;
}

