/* Figma Exact Match Stylesheet for index-modern.html */
/* Matching exact design from Figma: https://www.figma.com/design/EKUsClUhLaaR4LieE3HtcO/Pixleo?node-id=2939-152 */

/* Import Google Fonts - Inter (commonly used in modern designs) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* Force override Tailwind and other styles */
body.bg-gray-900 * {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
}

/* Color Variables - Exact from Figma */
:root {
    --figma-bg-primary: #1a1a1a;
    --figma-bg-secondary: #2a2a2a;
    --figma-bg-tertiary: #000000;
    --figma-red: #d00000;
    --figma-red-hover: #b00000;
    --figma-text-primary: #ffffff;
    --figma-text-secondary: rgba(255, 255, 255, 0.8);
    --figma-text-tertiary: rgba(255, 255, 255, 0.6);
    --figma-border: rgba(255, 255, 255, 0.1);
    --figma-yellow: #fbbf24;
    --figma-yellow-dark: #f59e0b;
}

/* Base Typography - Exact Font Family */
* {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

body {
    background-color: var(--figma-bg-primary);
    color: var(--figma-text-primary);
    font-weight: 400;
    line-height: 1.6;
}

/* Hero Section - Exact Match */
.hero.hero-dark {
    background-color: var(--figma-bg-primary);
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

.hero.hero-dark::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 48px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    color: var(--figma-text-primary) !important;
    text-transform: uppercase !important;
    letter-spacing: -0.5px !important;
    margin-bottom: 20px !important;
    font-family: 'Inter', sans-serif !important;
}

.hero-content h1 span {
    color: var(--figma-red);
}

.hero-content p {
    font-size: 18px !important;
    font-weight: 400 !important;
    color: rgba(255, 255, 255, 0.95) !important;
    margin-bottom: 32px !important;
    line-height: 1.6 !important;
    font-family: 'Inter', sans-serif !important;
}

/* Buttons - Exact Match */
.btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 14px 32px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    border: none !important;
    cursor: pointer !important;
    font-family: 'Inter', sans-serif !important;
}

.btn.bg-red-600,
.btn[class*="bg-red"],
a.btn.bg-red-600 {
    background-color: var(--figma-red) !important;
    color: var(--figma-text-primary) !important;
}

.btn.bg-red-600:hover,
.btn[class*="bg-red"]:hover,
a.btn.bg-red-600:hover {
    background-color: var(--figma-red-hover) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(208, 0, 0, 0.3) !important;
}

.btn.bg-gray-200,
.btn[class*="bg-gray-200"] {
    background-color: #e5e7eb;
    color: #111827;
}

.btn.bg-gray-200:hover,
.btn[class*="bg-gray-200"]:hover {
    background-color: #d1d5db;
}

.btn.bg-transparent {
    background-color: transparent;
    border: 2px solid var(--figma-red);
    color: var(--figma-text-primary);
}

.btn.bg-transparent:hover {
    background-color: rgba(208, 0, 0, 0.1);
    border-color: var(--figma-red);
}

/* Stats Bar - Exact Match */
section.bg-black\/90 {
    background-color: rgba(0, 0, 0, 0.9);
    padding: 24px 0;
    border-bottom: 1px solid var(--figma-border);
}

section.bg-black\/90 .flex {
    gap: 12px;
}

section.bg-black\/90 span[class*="w-10"] {
    width: 40px;
    height: 40px;
    background-color: var(--figma-bg-secondary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

section.bg-black\/90 span.text-white {
    font-size: 14px;
    font-weight: 500;
    color: var(--figma-text-primary);
}

/* Search Section - Exact Match */
section.bg-gray-800 {
    background-color: var(--figma-bg-secondary);
    padding: 32px 0;
    border-bottom: 1px solid var(--figma-border);
}

section.bg-gray-800 input,
section.bg-gray-800 select {
    background-color: var(--figma-bg-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--figma-text-primary);
    padding: 12px 15px;
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
}

section.bg-gray-800 input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

section.bg-gray-800 input:focus,
section.bg-gray-800 select:focus {
    border-color: var(--figma-red);
    outline: none;
    box-shadow: 0 0 0 3px rgba(208, 0, 0, 0.1);
}

/* Search Chips - Exact Match */
.search-chip {
    display: inline-block;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--figma-text-primary);
    background-color: transparent;
    border: 1px solid var(--figma-border);
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.search-chip:hover {
    border-color: var(--figma-red);
    color: var(--figma-red);
}

.search-chip-active {
    background-color: var(--figma-red);
    border-color: var(--figma-red);
    color: var(--figma-text-primary);
}

/* Truck Cards - Exact Match */
.truck-card {
    background-color: var(--figma-bg-secondary);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--figma-border);
    transition: all 0.3s ease;
}

.truck-card:hover {
    border-color: var(--figma-red);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.truck-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.truck-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.truck-image .absolute {
    position: absolute;
}

.truck-image .absolute.top-2 {
    top: 8px;
}

.truck-image .absolute.left-2 {
    left: 8px;
}

.truck-image .absolute.bottom-2 {
    bottom: 8px;
}

.truck-image .absolute.right-2 {
    right: 8px;
}

.truck-image span[class*="bg-red"] {
    background-color: var(--figma-red);
    color: var(--figma-text-primary);
    padding: 6px 12px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 4px;
}

.truck-details {
    padding: 20px;
}

.truck-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--figma-text-primary);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.truck-specs {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-bottom: 16px;
}

.truck-specs .flex {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.truck-specs [data-lucide] {
    color: var(--figma-red);
    width: 16px;
    height: 16px;
}

.truck-details .btn {
    padding: 10px 16px;
    font-size: 14px;
    width: 100%;
    margin-top: 8px;
}

/* Section Headings - Exact Match */
section h2 {
    font-size: 36px !important;
    font-weight: 700 !important;
    color: var(--figma-text-primary) !important;
    text-transform: uppercase !important;
    letter-spacing: -0.5px !important;
    margin-bottom: 24px !important;
    line-height: 1.2 !important;
    font-family: 'Inter', sans-serif !important;
}

/* Two Column Sections - Exact Match */
section .grid.grid-cols-1.lg\:grid-cols-2 {
    gap: 48px;
    align-items: center;
}

section .grid.grid-cols-1.lg\:grid-cols-2 img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

section .grid.grid-cols-1.lg\:grid-cols-2 p {
    font-size: 18px !important;
    line-height: 1.8 !important;
    color: var(--figma-text-primary) !important;
    margin-bottom: 16px !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 400 !important;
}

/* Why Choose Section - Exact Match */
.why-choose-section {
    position: relative;
    padding: 64px 0;
    background-size: cover;
    background-position: center;
}

.why-choose-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.why-choose-section > div {
    position: relative;
    z-index: 2;
}

.why-choose-icon-wrap {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.why-choose-icon {
    width: 48px;
    height: 48px;
    color: var(--figma-text-primary);
}

.why-choose-block h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--figma-text-primary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.why-choose-block p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Testimonial Section - Exact Match */
section.bg-gray-900 .bg-gray-800 {
    background-color: var(--figma-bg-secondary);
    border-radius: 8px;
    padding: 48px;
}

section.bg-gray-900 .bg-gray-800 span[class*="text-6xl"] {
    font-size: 64px;
    font-weight: 400;
    color: rgba(208, 0, 0, 0.8);
    font-family: Georgia, serif;
    line-height: 1;
}

section.bg-gray-900 .bg-gray-800 p {
    font-size: 20px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 16px;
}

section.bg-gray-900 .bg-gray-800 .flex.gap-2 span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
}

section.bg-gray-900 .bg-gray-800 .flex.gap-2 span:first-child {
    background-color: var(--figma-text-primary);
}

/* Quality Seal Badge - Exact Match */
.w-32.h-32.rounded-full {
    width: 128px;
    height: 128px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    border: 4px solid var(--figma-text-primary);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--figma-text-primary);
}

.w-32.h-32.rounded-full span {
    font-weight: 700;
    font-size: 20px;
    line-height: 1.2;
}

.w-32.h-32.rounded-full span:first-child {
    font-size: 24px;
}

.w-32.h-32.rounded-full span:not(:first-child) {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Partner Logos - Exact Match */
section.bg-gray-800 .flex.flex-wrap div {
    font-size: 20px;
    font-weight: 700;
    color: var(--figma-text-primary);
    opacity: 0.7;
    transition: opacity 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

section.bg-gray-800 .flex.flex-wrap div:hover {
    opacity: 1;
}

/* Background Colors - Exact Match */
.bg-gray-900 {
    background-color: var(--figma-bg-primary) !important;
}

.bg-gray-800 {
    background-color: var(--figma-bg-secondary) !important;
}

.bg-black\/90 {
    background-color: rgba(0, 0, 0, 0.9) !important;
}

/* Text Colors - Exact Match */
.text-white {
    color: var(--figma-text-primary) !important;
}

.text-gray-300 {
    color: rgba(255, 255, 255, 0.8) !important;
}

.text-gray-400 {
    color: rgba(255, 255, 255, 0.6) !important;
}

/* Borders - Exact Match */
.border-gray-800,
.border-gray-700 {
    border-color: var(--figma-border) !important;
}

.border-t {
    border-top-width: 1px;
    border-top-style: solid;
    border-top-color: var(--figma-border);
}

/* Container - Exact Match */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

@media (min-width: 640px) {
    .container {
        padding: 0 24px;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 32px;
    }
}

/* Responsive Typography */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 32px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
    
    section h2 {
        font-size: 28px;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }
}

/* Spacing - Exact Match */
.py-16 {
    padding-top: 64px;
    padding-bottom: 64px;
}

.py-12 {
    padding-top: 48px;
    padding-bottom: 48px;
}

.py-8 {
    padding-top: 32px;
    padding-bottom: 32px;
}

.py-6 {
    padding-top: 24px;
    padding-bottom: 24px;
}

.mb-8 {
    margin-bottom: 32px;
}

.mb-6 {
    margin-bottom: 24px;
}

.mb-4 {
    margin-bottom: 16px;
}

.mb-2 {
    margin-bottom: 8px;
}

.mt-6 {
    margin-top: 24px;
}

.gap-4 {
    gap: 16px;
}

.gap-6 {
    gap: 24px;
}

.gap-8 {
    gap: 32px;
}

.gap-12 {
    gap: 48px;
}

/* Lucide Icons - Exact Match */
[data-lucide] {
    display: inline-block;
    vertical-align: middle;
    stroke-width: 2;
}

/* Ensure all uppercase text */
.uppercase {
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Exact button styles from Figma */
.btn-home-primary {
    background-color: var(--figma-red) !important;
    color: var(--figma-text-primary) !important;
    padding: 12px 24px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    transition: all 0.3s ease !important;
    font-family: 'Inter', sans-serif !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    border: none !important;
}

.btn-home-primary:hover {
    background-color: var(--figma-red-hover) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(208, 0, 0, 0.3) !important;
}
