@font-face {
    font-family: 'BMW Type Next TH';
    src: url('fonts/bmw/BMWType Next TH TT Thin ver 1.00.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'BMW Type Next TH';
    src: url('fonts/bmw/BMWType Next TH TT Light ver 1.00.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'BMW Type Next TH';
    src: url('fonts/bmw/BMWType Next TH TT Regular ver 1.00.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'BMW Type Next TH';
    src: url('fonts/bmw/BMWType Next TH TT Bold ver 1.00.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'BMW Type Next TH', 'Segoe UI', Tahoma, sans-serif;
    background-color: #000;
    color: #e5e5e5;
    overflow-x: hidden;
}

/* --- Colors & Backgrounds --- */
.bg-dark-111 {
    background-color: #111;
}

.bg-dark-0a {
    background-color: #0a0a0a;
}

.bg-dark-08 {
    background-color: #080808;
}

.bg-dark-05 {
    background-color: #050505;
}

.text-bmw-blue {
    color: #1C69D4;
}

.text-bmw-red {
    color: #E91E23;
}

.text-bmw-light-blue {
    color: #6BA4E7;
}

/* --- Effects --- */
.bmw-glow-text {
    background: linear-gradient(to right, #fff, #a5b4fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn-gradient {
    background: linear-gradient(135deg, #1C69D4 0%, #002d72 100%);
    box-shadow: 0 0 20px rgba(28, 105, 212, 0.4);
    border: none;
}

.btn-gradient:hover {
    box-shadow: 0 0 30px rgba(28, 105, 212, 0.7);
    filter: brightness(1.2);
}

.glass-ultra-thin {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.m-accent-bar {
    height: 3px;
    background: linear-gradient(90deg, #6BA4E7 0%, #1C69D4 40%, #E91E23 100%);
}

.section-line {
    height: 2px;
    background: linear-gradient(to right, #2563eb, #dc2626);
    width: 4rem;
    margin: 0 auto 1rem auto;
    opacity: 0.7;
}

/* --- Form Inputs --- */
.form-input-dark {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.3rem;
    color: white;
    font-size: 0.875rem;
    transition: all 0.3s;
}

.form-input-dark:focus {
    outline: none;
    border-color: #1C69D4;
    background-color: rgba(255, 255, 255, 0.2);
}

.form-input-dark.input-invalid {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.15rem rgba(220, 53, 69, 0.2);
}

::placeholder {
    color: #9ca3af;
}

/* --- Hover & Group-Hover Animations --- */
.hover-rotate:hover {
    transform: rotate(360deg);
}

.img-zoom {
    transition: transform 0.7s ease;
}

.group-zoom:hover .img-zoom {
    transform: scale(1.05);
}

.group-zoom-lg:hover .img-zoom {
    transform: scale(1.1);
}

.map-frame {
    filter: grayscale(100%) invert(92%) contrast(83%);
    transition: filter 0.3s;
}

.group-map:hover .map-frame {
    filter: none;
}

.group-map:hover {
    border-color: #3b82f6 !important;
}

/* Blue border on hover */

/* Nav Links */
.nav-link-custom {
    position: relative;
    color: #d1d5db;
    transition: color 0.3s;
}

.nav-link-custom:hover {
    color: white;
}

.nav-link-custom::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #3b82f6;
    transition: width 0.3s;
}

.nav-link-custom:hover::after {
    width: 100%;
}

/* Why Choose Us Hover */
.why-card .why-icon,
.why-card .why-title {
    transition: color 0.3s;
}

.why-card p {
    transition: border-color 0.3s;
    border-left: 1px solid #1f2937;
    padding-left: 1.75rem;
}

.why-card:hover .why-title,
.why-card:hover .why-icon {
    color: #3b82f6 !important;
}

.why-card:hover p {
    border-color: rgba(59, 130, 246, 0.5);
}

/* Fix iframe aspect ratio container */
.ratio-16x9-custom {
    padding-bottom: 56.25%;
    position: relative;
    height: 0;
}

.ratio-16x9-custom iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.blur-loading.loading {
    filter: blur(2px);
    transition: filter 0.3s ease-out;
}

.blur-loading {
    transition: filter 0.3s ease-out;
}

.text-secondary {
    color: rgb(159 173 185) !important;
}
