@import url("https://fonts.googleapis.com/css2?family=Lora:wght@400;500;600&family=Outfit:wght@300;400;500;600;700&family=Poppins:wght@300;400;500;600&display=swap");

:root {
    --yellow: #c5a059;
    --yellow-hover: #ffd76a;
    --primary-gold: #c5a059;
    --accent-yellow: #c5a059;
    --dark-bg: #0f172a;
    --brand-bg-pink: #fff0f3;
    --bg-main: #ffffff;
    --bg-hero: #0f0f0f;
    --text-main: #333333;
    --card-bg: #ffffff;
    --section-light: #f8f9fa;
}

[data-bs-theme="dark"] {
    --bg-body: #0f172a;
    --text-main: #f1f5f9;
    --card-bg: #1e293b;
    --section-bg: #0a0a0a;
}

::selection {
    background-color: var(--yellow);
    color: #fff;
}

html {
    width: stretch;
    overflow-x: hidden;
    scrollbar-width: none;
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    font-family: "Outfit", 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: "Outfit", sans-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;
}

/* Footer */
.footer-section {
    background-color: #0f1111;
    color: #d1d1d1;
    font-family: 'Inter', sans-serif;
}

.footer-title {
    color: #ffffff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    position: relative;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 30px;
    height: 2px;
    background-color: var(--primary-gold);
    /* Red Accent for Racing/Car Vibe */
}

.footer-link {
    transition: all 0.3s ease;
    text-decoration: none !important;
    color: #adb5bd !important;
    display: inline-block;
}

.footer-link:hover {
    color: #ffffff !important;
    transform: translateX(5px);
}

.contact-info i {
    color: var(--primary-gold);
    font-size: 1.2rem;
}

.contact-info a {
    color: #D1D1D1 !important;
    transition: .3s;

}

.contact-info a:hover {
    color: white !important;
    transform: translateX(5px);
}

.social-icon {
    width: 40px;
    height: 40px;
    background: #1a1d20;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    color: white;
    text-decoration: none;
}

.social-icon:hover {
    background: var(--primary-gold);
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid #222;
    padding: 20px 0;
}

/* 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;
    border: 1px solid rgba(197, 160, 89, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.register-card h2 {
    font-weight: 800;
    color: var(--text-main);
    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;
    color: var(--text-main);
    transition: all 0.3s ease;
    outline: none;
}

.input-box input:focus {
    border-color: var(--yellow);
    background: white;
    box-shadow: 0 0 0 4px rgba(197, 160, 89, 0.35);
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #64748b;
    transition: 0.2s;
}

.toggle-password:hover {
    color: var(--yellow);
}

.blog-btn {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    border: none;
    background: var(--yellow);
    color: #0f172a;
    font-weight: 700;
    font-size: 1rem;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.blog-btn:hover {
    background: #b38c45;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(197, 160, 89, 0.28);
}

.login-link {
    text-align: center;
    margin-top: 25px;
    color: #64748b;
    font-size: 0.9rem;
}

.login-link a {
    color: var(--yellow);
    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 20px;
    border-radius: 28px;
    border: 1px solid rgba(197, 160, 89, 0.15);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.login-card h2 {
    font-weight: 800;
    color: var(--text-main);
    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;
    color: var(--text-main);
    transition: all 0.3s ease;
    outline: none;
}

.input-box input:focus {
    border-color: var(--yellow);
    background: white;
    box-shadow: 0 0 0 4px rgba(197, 160, 89, 0.35);
}

.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(--yellow);
    text-decoration: none;
    font-weight: 600;
}

.btn-login {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    border: none;
    background: var(--yellow);
    color: #0f172a;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-login:hover {
    background: #b38c45;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(197, 160, 89, 0.28);
}

.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(--yellow);
    text-decoration: none;
    font-weight: 600;
}

[data-bs-theme="dark"] .register-card,
[data-bs-theme="dark"] .login-card {
    background: rgba(15, 23, 42, 0.92);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

[data-bs-theme="dark"] .register-card h2,
[data-bs-theme="dark"] .login-card h2 {
    color: var(--text-main);
}

[data-bs-theme="dark"] .sub {
    color: #cbd5e1;
}

[data-bs-theme="dark"] .input-box input {
    background: #1e293b;
    border-color: #334155;
    color: #e2e8f0;
}

[data-bs-theme="dark"] .input-box input:focus {
    border-color: var(--yellow);
    background: #0f172a;
    box-shadow: 0 0 0 4px rgba(197, 160, 89, 0.25);
}

[data-bs-theme="dark"] .toggle-password {
    color: #cbd5e1;
}

[data-bs-theme="dark"] .forgot-link,
[data-bs-theme="dark"] .register-link a,
[data-bs-theme="dark"] .login-link a {
    color: var(--yellow);
}

[data-bs-theme="dark"] .login-link,
[data-bs-theme="dark"] .register-link {
    color: #cbd5e1;
}

[data-bs-theme="dark"] .social-login {
    border-top-color: #334155;
}

@media (prefers-color-scheme: dark) {
    .register-card,
    .login-card {
        /* background: rgba(15, 23, 42, 0.92); */
        border-color: rgba(255, 255, 255, 0.12);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
    }

    .register-card h2,
    .login-card h2 {
        color: var(--text-main);
    }

    .sub {
        color: #334155;
    }

    .input-box input {
        /* background: #1e293b; */
        border-color: #334155;
        color: #e2e8f0;
    }

    .input-box input:focus {
        border-color: var(--yellow);
        /* background: #0f172a; */
        box-shadow: 0 0 0 4px rgba(197, 160, 89, 0.25);
    }

    .toggle-password {
        color: #334155;
    }

    .forgot-link,
    .register-link a,
    .login-link a {
        color: var(--yellow);
    }

    .login-link,
    .register-link {
        color: #334155;
    }

    .social-login {
        border-top-color: #334155;
    }
}

/* Index Page */
/* Brand Section */
.brand-badge {
    background-color: transparent;
    color: var(--yellow);
    font-weight: bold;
    font-size: 0.75rem;
    padding: 4px 12px;
    border-radius: 50px;
    border: 1px solid var(--yellow);
    display: inline-block;
}

/* Card styling to match the screenshot */
/* Container column အတွင်းမှာ card ကို အလယ်ရောက်စေဖို့ */
.col {
    display: flex;
    justify-content: center;
}

.brand-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 140px;
    height: 140px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    /* Subtle Gold Border */
    border-radius: 12px;
    padding: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

/* Brand Logo အတွက် */
.brand-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
    margin-bottom: 12px;
    filter: brightness(0.9);
    transition: transform 0.3s ease;
}


.brand-name {
    color: #9CA3AF;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
}


.brand-card:hover {
    border-color: var(--primary-gold);
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(255, 244, 97, 0.3),
        0 0 15px rgba(255, 205, 97, 0.2);
}

.brand-card:hover .brand-logo {
    transform: scale(1.1);
    filter: brightness(1);
}

.brand-card:hover .brand-name {
    color: var(--text-main);
}

.brand-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--prima ry-gold);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.brand-card:hover::after {
    width: 60%;
}

/* 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;
    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: transparent;
    color: var(--yellow);
    border: 1px solid var(--yellow);
    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;
}

/* About Us */
/* Hero Section */
.hero-section {
    padding: 120px 0 80px 0;
}

.video-frame {
    position: relative;
    width: 100%;
    height: 580px;
    margin: 0 auto;
    /* border: 2px solid #222; */
    border-radius: 15px;
    overflow: hidden;
}

.video-frame video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-text {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(3rem, 10vw, 5rem);
    /* Responsive font size */
    letter-spacing: 4px;
    line-height: 0.9;
    color: var(--primary-gold);
}

/* Floating Card */
.about-card {
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.1);
    margin-top: -60px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.icon-square {
    width: 50px;
    height: 50px;
    background: var(--primary-gold);
    color: black;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.feature-icon {
    color: var(--accent-yellow);
    margin-bottom: 1rem;
}

.section-spacing {
    padding: 80px 0;
}

/* Pagination */
/* .pagination .page-link {
    background-color: transparent !important;
    border: none !important;
    color: #c5a059 !important;
    transition: color 0.15s ease-in-out,
        background-color 0.15s ease-in-out;
} */

/* .pagination .page-item.active .page-link {
    background-color: #c5a059 !important;
    color: #000 !important;
    border: 1px solid #c5a059 !important;
} */

.pagination .page-link:hover {
    color: #000 !important;
    background-color: #c5a059 !important;
}

.pagination .page-item.disabled .page-link {
    color: #6c757d !important;
}

/* fuel overlay */
.car-image-card {
    height: 380px;
    cursor: pointer;
}

.car-img {
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.car-image-card:hover .car-img {
    transform: scale(1.06);
}

.car-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(3px);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
}

.car-image-card:hover .car-overlay {
    opacity: 1;
}

.car-overlay>* {
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.car-image-card:hover .car-overlay>* {
    transform: translateY(0);
}