/* ===== CUSTOM CSS VARIABLES ===== */
:root {
    /* Colors */
    --pk-black: #0A0A0A;
    --pk-dark: #050505;
    --pk-card: #151515;
    --pk-gray: #1F1F1F;
    --pk-border: #2A2A2A;
    --pk-blue-primary: #E41F27;
    /* Citroën Red */
    --pk-blue-accent: #E41F27;
    /* Citroën Red */
    --pk-white: #FFFFFF;
    --pk-text-muted: #A1A1AA;
    --pk-silver: #A0A0A0;

    /* Fonts */
    --font-inter: 'Inter', sans-serif;
    --font-outfit: 'Outfit', sans-serif;
    --font-f1-regular: 'F1-Regular', sans-serif;
    --font-f1-wide: 'F1-Wide', sans-serif;
    --font-f1-bold: 'F1-Bold', sans-serif;
}

@font-face {
    font-family: 'F1-Regular';
    src: url('https://raw.githubusercontent.com/m-m-s-r/formula1-font/master/fonts/Formula1-Display-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'F1-Wide';
    src: url('https://raw.githubusercontent.com/m-m-s-r/formula1-font/master/fonts/Formula1-Display-Wide.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'F1-Bold';
    src: url('https://raw.githubusercontent.com/m-m-s-r/formula1-font/master/fonts/Formula1-Display-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

.font-f1-regular {
    font-family: var(--font-f1-regular);
}

.font-f1-turbo {
    font-family: var(--font-f1-wide);
}

.font-f1-torque {
    font-family: var(--font-f1-bold);
}

/* ===== GLOBAL STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-inter);
    background: var(--pk-black);
    color: var(--pk-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-outfit);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.font-inter {
    font-family: var(--font-inter);
}

.font-outfit {
    font-family: var(--font-outfit);
}

/* ===== HEADER ===== */
#header {
    background: transparent;
    border-bottom: 1px solid transparent;
}

#header.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.nav-link {
    font-size: 0.875rem;
    color: rgb(209, 213, 219);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--pk-white);
}

.nav-link-mobile {
    font-size: 0.875rem;
    color: rgb(209, 213, 219);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
    padding: 0.75rem 0;
    transition: color 0.3s ease;
}

.nav-link-mobile:hover {
    color: var(--pk-blue-accent);
}

/* ===== STOREFRONT FRAME (Fume & Neon) ===== */
.store-frame-container {
    position: relative;
    border-radius: 2rem;
    padding: 10px;
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(228, 31, 39, 0.12);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.store-frame-container:hover {
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.6),
        0 0 40px rgba(228, 31, 39, 0.3);
    transform: translateY(-5px) scale(1.02);
    border-color: rgba(228, 31, 39, 0.4);
}

.fume-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 100%);
    pointer-events: none;
    z-index: 2;
    border-radius: 1.5rem;
}

/* Vehicle Showcase Refactor integrated into main block below */

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    background: transparent;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 25%;
    width: 24rem;
    height: 24rem;
    background: rgba(30, 58, 138, 0.2);
    border-radius: 50%;
    filter: blur(128px);
    animation: pulse 4s ease-in-out infinite;
}

.hero-bg::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 25%;
    width: 31.25rem;
    height: 31.25rem;
    background: rgba(67, 56, 202, 0.1);
    border-radius: 50%;
    filter: blur(128px);
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

/* ===== GLOBAL GLOW ANIMATION (Rockstar Style) ===== */
.page-glow-container {
    position: fixed;
    inset: 0;
    z-index: -1;
    /* Behind all content */
    overflow: hidden;
    pointer-events: none;
}

.glow-blob {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.35;
    mix-blend-mode: screen;
}

.blob-1 {
    background: radial-gradient(circle, var(--pk-blue-primary) 0%, transparent 70%);
    top: -10%;
    left: -10%;
    animation: blobMove 20s ease-in-out infinite alternate;
}

.blob-2 {
    /* Police Siren Blue */
    background: radial-gradient(circle, #001eff 0%, transparent 70%);
    bottom: -10%;
    right: -10%;
    animation: blobMove 25s ease-in-out infinite alternate-reverse;
    opacity: 0.4;
}

.blob-3 {
    background: radial-gradient(circle, var(--pk-blue-primary) 0%, transparent 70%);
    top: 40%;
    left: 40%;
    animation: blobMove 30s ease-in-out infinite;
    opacity: 0.25;
}

@keyframes blobMove {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }

    33% {
        transform: translate(40%, 20%) scale(1.2) rotate(120deg);
    }

    66% {
        transform: translate(-20%, 50%) scale(0.8) rotate(240deg);
    }

    100% {
        transform: translate(0, 0) scale(1) rotate(360deg);
    }
}

.text-gradient {
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shadow-blue {
    box-shadow: 0 0 30px rgba(37, 99, 235, 0.4);
}

/* ===== BUTTONS ===== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--pk-blue-accent);
    color: var(--pk-white);
    border-radius: 0.75rem;
    font-family: var(--font-f1-wide);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary:hover {
    background: #2563eb;
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    color: var(--pk-white);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    font-family: var(--font-f1-wide);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
    text-decoration: none;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* ===== STATS ===== */
.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 1.875rem;
    font-weight: 700;
    font-family: var(--font-outfit);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: rgb(107, 114, 128);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ===== LUXURY TECH CAR CARDS ===== */
.car-card {
    background: rgba(15, 15, 15, 0.8);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 2rem;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
}

.car-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(228, 31, 39, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.car-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: rgba(228, 31, 39, 0.3);
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.6),
        0 0 30px rgba(228, 31, 39, 0.1);
}

.car-card:hover::before {
    opacity: 1;
}

.car-image-container {
    padding: 1rem;
    position: relative;
}

.car-image-screen {
    background: #050505;
    border-radius: 1.5rem;
    aspect-ratio: 16/10;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.car-image-screen img {
    width: 85%;
    height: auto;
    object-fit: contain;
    position: relative;
    z-index: 10;
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.car-card:hover .car-image-screen img {
    transform: scale(1.1) rotate(-1deg);
}

.car-glow-highlight {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140%;
    height: 140%;
    background: radial-gradient(circle, rgba(228, 31, 39, 0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: 5;
    filter: blur(50px);
}

.car-tech-badge {
    position: absolute;
    top: 2rem;
    right: 0;
    background: var(--pk-red);
    color: white;
    padding: 6px 20px;
    font-family: var(--font-f1-bold);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 30;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    border-radius: 4px 0 0 4px;
}

.car-card:hover .car-tech-badge {
    padding-right: 30px;
    background: white;
    color: black;
}

.car-content {
    padding: 2.5rem 2rem 2rem;
}

.car-luxury-title {
    font-family: var(--font-outfit);
    font-size: 1.75rem;
    font-weight: 800;
    color: white;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
    display: block;
}

.car-luxury-subtitle {
    color: var(--pk-red);
    font-family: var(--font-f1-regular);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 3px;
    display: block;
    margin-bottom: 2rem;
}

.car-stats-list {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1.5rem;
    margin-bottom: 2rem;
}

.car-stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.car-stat-label {
    color: rgba(255, 255, 255, 0.4);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.car-stat-value {
    color: white;
    font-size: 13px;
    font-weight: 500;
}

.car-mini-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.car-mini-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 1rem;
    text-align: center;
    transition: all 0.3s ease;
}

.car-card:hover .car-mini-box {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.car-mini-box .value {
    color: var(--pk-red);
    font-family: var(--font-f1-bold);
    font-size: 1.25rem;
    display: block;
}

.car-mini-box .label {
    color: rgba(255, 255, 255, 0.3);
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 4px;
}

.btn-luxury {
    display: block;
    width: 100%;
    text-align: center;
    background: white;
    color: black;
    padding: 1.25rem;
    border-radius: 1rem;
    font-family: var(--font-f1-bold);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-luxury::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    transition: left 0.6s ease;
}

.btn-luxury:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

.btn-luxury:hover::before {
    left: 100%;
}

/* ===== SERVICE CARDS ===== */
.service-card {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.service-icon {
    width: 3.5rem;
    height: 3.5rem;
    background: rgba(59, 130, 246, 0.2);
    color: var(--pk-blue-accent);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: var(--pk-blue-accent);
    color: var(--pk-white);
}

.service-title {
    font-size: 1.25rem;
    font-weight: 700;
    font-family: var(--font-outfit);
    margin-bottom: 0.75rem;
}

.service-description {
    color: rgb(156, 163, 175);
    line-height: 1.5;
    font-size: 0.875rem;
}

/* ===== TESTIMONIALS ===== */
.testimonial-card {
    background: rgba(23, 23, 23, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 1rem;
    backdrop-filter: blur(4px);
    transition: border-color 0.3s ease;
}

.testimonial-card:hover {
    border-color: rgba(59, 130, 246, 0.2);
}

.stars {
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.testimonial-text {
    color: rgb(209, 213, 219);
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.testimonial-author {
    margin-top: 1.5rem;
}

.author-name {
    font-weight: 700;
    font-family: var(--font-outfit);
}

.author-role {
    color: var(--pk-blue-accent);
    font-size: 0.875rem;
}

/* ===== FOOTER ===== */
.footer-title {
    color: var(--pk-white);
    font-weight: 700;
    font-family: var(--font-outfit);
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: rgb(156, 163, 175);
    font-size: 0.875rem;
    transition: color 0.3s ease;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--pk-blue-accent);
}

.footer-contact {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgb(156, 163, 175);
    font-size: 0.875rem;
}

.social-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pk-white);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
}

.social-icon:hover {
    background: var(--pk-blue-accent);
}

.whatsapp-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    background: #25D366;
    color: var(--pk-white);
    padding: 0.75rem;
    border-radius: 0.5rem;
    font-weight: 700;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-button:hover {
    background: #20BA5A;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .car-specs {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
        font-size: 0.75rem;
    }
}

/* ===== SMOOTH SCROLL ===== */
html {
    scroll-behavior: smooth;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}