:root {
    --ford-blue: #010409;
    /* Deep midnight */
    --ford-blue-rgb: 1, 4, 9;
    --ford-brand: #002e6d;
    --ford-accent: #007bff;
    --ford-accent-rgb: 0, 123, 255;
    --surface-glass: rgba(255, 255, 255, 0.04);
    --border-glass: rgba(255, 255, 255, 0.1);
    --text-primary: #f8fafc;
    --text-secondary: #e2e8f0;
    --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: 0.2s ease;
}

.text-secondary {
    color: var(--text-secondary) !important;
}

.text-accent {
    color: var(--ford-accent) !important;
}

/* Google Fonts Self-Hosted (Inter & Outfit) */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/inter-400.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/inter-500.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/inter-600.woff2') format('woff2');
}

@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/outfit-700.woff2') format('woff2');
}

@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('../fonts/outfit-700.woff2') format('woff2'); /* Same file as 700 on Google */
}

/* Font Awesome 6 Self-Hosted */
@font-face {
    font-family: 'Font Awesome 6 Free';
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url('../vendor/fontawesome/webfonts/fa-solid-900.woff2') format('woff2');
}

@font-face {
    font-family: 'Font Awesome 6 Brands';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../vendor/fontawesome/webfonts/fa-brands-400.woff2') format('woff2');
}

html, body {
    overflow-x: hidden;
    width: 100%;
}

body {
    background-color: #020617;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
}

h1,
h2,
h3,
h4,
.display-font {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.glass {
    background: var(--surface-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    z-index: 1;
}

.glass-dark-blue {
    background: rgba(0, 46, 109, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.glass-card {
    transition: var(--transition-slow);
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.15);
}

.py-140 {
    padding-top: 140px;
    padding-bottom: 140px;
}

.navbar {
    padding: 1.5rem 0;
    transition: var(--transition-fast);
    z-index: 1100;
}

.navbar.navbar-scrolled {
    padding: 0.8rem 0;
    background: rgba(2, 6, 23, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glass);
}

.navbar-brand img {
    height: 40px;
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    margin: 0 1rem;
    transition: var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: white;
}

.btn-customer {
    background: linear-gradient(135deg, var(--ford-accent), #0056b3);
    border: none;
    border-radius: 50px;
    padding: 0.6rem 2rem;
    font-weight: 600;
    transition: var(--transition-fast);
    color: white;
    text-decoration: none;
    display: inline-block;
}

.btn-customer:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(var(--ford-accent-rgb), 0.4);
    color: white;
}

.hero-section {
    position: relative;
    padding: 220px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 70% 30%, rgba(var(--ford-accent-rgb), 0.12) 0%, transparent 50%),
        radial-gradient(circle at 10% 80%, rgba(0, 46, 109, 0.4) 0%, transparent 40%);
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    line-height: 1;
    margin-bottom: 2.5rem;
}

.hero-title span {
    background: linear-gradient(to right, #fff 10%, #dee2e6, var(--ford-accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-image-wrapper {
    position: relative;
    z-index: 1;
}

.hero-image-wrapper::after {
    content: '';
    position: absolute;
    inset: -30px;
    background: radial-gradient(circle, rgba(var(--ford-accent-rgb), 0.25) 0%, transparent 70%);
    z-index: -1;
    filter: blur(50px);
}

.hero-img {
    max-width: 110%;
    margin-left: -5%;
    height: auto;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.6));
    animation: float 7s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0);
    }

    50% {
        transform: translateY(-30px) rotate(1deg);
    }
}

.about-card {
    border-radius: 30px;
    padding: 3.5rem;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 2rem;
}

.bento-item {
    padding: 3rem;
}

.bento-icon {
    font-size: 3rem;
    color: var(--ford-accent);
    margin-bottom: 2rem;
}

.catalog-card {
    border-radius: 20px;
    overflow: hidden;
    background: #0f172a;
    border: 1px solid var(--border-glass);
    transition: var(--transition-slow);
    height: 100%;
}

.catalog-card:hover {
    border-color: var(--ford-accent);
    box-shadow: 0 0 50px rgba(var(--ford-accent-rgb), 0.2);
}

.catalog-img-wrapper {
    height: 280px;
    background: #1e293b;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 20px;
}

.catalog-img-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: var(--transition-slow);
}

.catalog-card:hover .catalog-img-wrapper img {
    transform: scale(1.15);
}

.catalog-info {
    padding: 1.8rem;
}

.filter-chip {
    background: var(--surface-glass);
    border: 1px solid var(--border-glass);
    color: var(--text-secondary);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition-fast);
    cursor: pointer;
}

.filter-chip:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: rgba(255, 255, 255, 0.2);
}

.filter-chip.active {
    background: var(--ford-accent);
    color: white;
    border-color: var(--ford-accent);
    box-shadow: 0 0 15px rgba(var(--ford-accent-rgb), 0.3);
}

.load-more-btn {
    background: transparent;
    border: 2px solid var(--ford-accent);
    color: white;
    padding: 0.8rem 3rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition-fast);
}

.load-more-btn:hover {
    background: var(--ford-accent);
    color: white;
}

.catalog-item.hidden {
    display: none;
}

.bg-contact {
    background: linear-gradient(180deg, #020617 0%, #00122e 100%);
    border-top: 1px solid var(--border-glass);
    position: relative;
    z-index: 5;
}

.contact-card-group {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.map-wrapper {
    flex-grow: 1;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border-glass);
    height: 380px;
}

.map-container {
    height: 100%;
    filter: grayscale(0.2) contrast(1.1);
    opacity: 0.9;
    transition: .4s ease;
    pointer-events: none;
}

.map-wrapper:hover .map-container {
    opacity: 1;
    filter: grayscale(0);
    pointer-events: auto;
}

.contact-info-list .info-item {
    padding: 1.5rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    transition: 0.3s ease;
}

.contact-info-list .info-item:hover {
    background: rgba(255, 255, 255, 0.06);
}

.icon-box {
    width: 48px;
    height: 48px;
    background: rgba(var(--ford-accent-rgb), 0.1);
    color: var(--ford-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.form-control {
    background: rgba(15, 23, 42, 0.6) !important;
    border: 1px solid var(--border-glass) !important;
    color: white !important;
    transition: .3s ease;
}

.form-control:focus {
    border-color: var(--ford-accent) !important;
    box-shadow: 0 0 0 0.25rem rgba(var(--ford-accent-rgb), 0.15);
}

footer {
    padding: 6rem 0 3rem;
    border-top: 1px solid var(--border-glass);
    background: #020617;
}

@media (max-width: 991px) {
    .navbar {
        background: #020617 !important;
    }

    .hero-section {
        padding-top: 150px;
        text-align: center;
    }

    .hero-img {
        max-width: 90%;
        margin-left: 0;
    }

    .contact-card-group {
        margin-bottom: 3rem;
    }

    .map-wrapper {
        height: 300px;
    }
}

.back-to-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 30px;
    bottom: 30px;
    z-index: 996;
    background: var(--bs-primary);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    transition: all 0.4s;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.back-to-top i {
    font-size: 20px;
    color: #fff;
    line-height: 0;
}

.back-to-top:hover {
    background: #020ceb;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.back-to-top.active {
    visibility: visible;
    opacity: 1;
}
