/*!
Theme Name: Flash Aesthetic
Theme URI: http://example.com/flash-aesthetic
Author: Antigravity
Author URI: http://example.com
Description: A custom premium dark aesthetic theme with Gold accents.
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: flash-aesthetic
*/

/* Typography Imports */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;900&family=Montserrat:wght@300;400;500;700&display=swap');

:root {
    --brand-gold: #FFD737;
    --brand-black: #050505;
    --brand-dark: #0A0A0A;
    --brand-gray: #1A1A1A;
    --text-white: #ffffff;
    --text-gray: #9ca3af;
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--brand-black);
    color: var(--text-white);
    font-family: 'Montserrat', sans-serif;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6,
.font-heading {
    font-family: 'Inter', sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Container */
.container {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding-right: 1.5rem;
    padding-left: 1.5rem;
}

@media (min-width: 640px) {
    .container {
        max-width: 640px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 768px;
    }
}

@media (min-width: 1024px) {
    .container {
        max-width: 1024px;
    }
}

@media (min-width: 1280px) {
    .container {
        max-width: 1280px;
    }
}

/* Display */
.hidden {
    display: none;
}

.block {
    display: block;
}

.inline-block {
    display: inline-block;
}

.inline {
    display: inline;
}

.flex {
    display: flex;
}

.inline-flex {
    display: inline-flex;
}

.grid {
    display: grid;
}

/* Flex */
.flex-row {
    flex-direction: row;
}

.flex-col {
    flex-direction: column;
}

.flex-wrap {
    flex-wrap: wrap;
}

.items-start {
    align-items: flex-start;
}

.items-center {
    align-items: center;
}

.items-end {
    align-items: flex-end;
}

.items-baseline {
    align-items: baseline;
}

.justify-start {
    justify-content: flex-start;
}

.justify-center {
    justify-content: center;
}

.justify-end {
    justify-content: flex-end;
}

.justify-between {
    justify-content: space-between;
}

.justify-items-center {
    justify-items: center;
}

.flex-grow {
    flex-grow: 1;
}

/* Grid */
.grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

.grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid-cols-6 {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

/* Responsive Grid */
@media (min-width: 768px) {
    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .md\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .lg\:grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .lg\:grid-cols-6 {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

@media (min-width: 1536px) {
    .xl\:grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* Gap */
.gap-1 {
    gap: 0.25rem;
}

.gap-1\.5 {
    gap: 0.375rem;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-3 {
    gap: 0.75rem;
}

.gap-4 {
    gap: 1rem;
}

.gap-6 {
    gap: 1.5rem;
}

.gap-8 {
    gap: 2rem;
}

/* Spacing - Padding */
.p-0 {
    padding: 0;
}

.p-1 {
    padding: 0.25rem;
}

.p-2 {
    padding: 0.5rem;
}

.p-3 {
    padding: 0.75rem;
}

.p-4 {
    padding: 1rem;
}

.p-6 {
    padding: 1.5rem;
}

.p-8 {
    padding: 2rem;
}

.p-12 {
    padding: 3rem;
}

.px-1 {
    padding-left: 0.25rem;
    padding-right: 0.25rem;
}

.px-2 {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.px-3 {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
}

.px-12 {
    padding-left: 3rem;
    padding-right: 3rem;
}

.py-1 {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

.py-1\.5 {
    padding-top: 0.375rem;
    padding-bottom: 0.375rem;
}

.py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.py-6 {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.py-8 {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.py-12 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.pt-8 {
    padding-top: 2rem;
}

.pt-12 {
    padding-top: 3rem;
}

.pt-24 {
    padding-top: 6rem;
}

.pt-32 {
    padding-top: 8rem;
}

.pb-12 {
    padding-bottom: 3rem;
}

.pb-16 {
    padding-bottom: 4rem;
}

.pl-4 {
    padding-left: 1rem;
}

/* Responsive Padding */
@media (min-width: 768px) {
    .md\:px-10 {
        padding-left: 2.5rem;
        padding-right: 2.5rem;
    }

    .md\:px-12 {
        padding-left: 3rem;
        padding-right: 3rem;
    }

    .md\:pt-32 {
        padding-top: 8rem;
    }
}

/* Spacing - Margin */
.m-0 {
    margin: 0;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.mb-1 {
    margin-bottom: 0.25rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-3 {
    margin-bottom: 0.75rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mb-12 {
    margin-bottom: 3rem;
}

.ml-1 {
    margin-left: 0.25rem;
}

.mt-1 {
    margin-top: 0.25rem;
}

.mt-\[-2px\] {
    margin-top: -2px;
}

/* Width */
.w-4 {
    width: 1rem;
}

.w-5 {
    width: 1.25rem;
}

.w-6 {
    width: 1.5rem;
}

.w-8 {
    width: 2rem;
}

.w-10 {
    width: 2.5rem;
}

.w-12 {
    width: 3rem;
}

.w-full {
    width: 100%;
}

.w-auto {
    width: auto;
}

.w-\[90\%\] {
    width: 90%;
}

.w-\[110\%\] {
    width: 110%;
}

/* Responsive Width */
@media (min-width: 768px) {
    .md\:w-\[70\%\] {
        width: 70%;
    }
}

/* Max Width */
.max-w-\[400px\] {
    max-width: 400px;
}

.max-w-\[1200px\] {
    max-width: 1200px;
}

.max-w-\[1920px\] {
    max-width: 1920px;
}

.max-h-\[200px\] {
    max-height: 200px;
}

/* Height */
.h-4 {
    height: 1rem;
}

.h-5 {
    height: 1.25rem;
}

.h-6 {
    height: 1.5rem;
}

.h-8 {
    height: 2rem;
}

.h-10 {
    height: 2.5rem;
}

.h-12 {
    height: 3rem;
}

.h-auto {
    height: auto;
}

.h-full {
    height: 100%;
}

.h-screen {
    height: 100vh;
}

.h-\[500px\] {
    height: 500px;
}

.min-h-screen {
    min-height: 100vh;
}

.min-h-\[800px\] {
    min-height: 800px;
}

/* Position */
.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.fixed {
    position: fixed;
}

.inset-0 {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.top-1\/2 {
    top: 50%;
}

.left-1\/2 {
    left: 50%;
}

/* Z-Index */
.z-0 {
    z-index: 0;
}

.z-10 {
    z-index: 10;
}

.z-20 {
    z-index: 20;
}

.z-30 {
    z-index: 30;
}

.z-40 {
    z-index: 40;
}

.z-50 {
    z-index: 50;
}

/* Transform */
.-translate-x-1\/2 {
    transform: translateX(-50%);
}

.-translate-y-\[40\%\] {
    transform: translateY(-40%);
}

.-translate-y-2 {
    transform: translateY(-0.5rem);
}

/* Text */
.text-left {
    text-align: left;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

/* Font Size */
.text-xs {
    font-size: 0.75rem;
    line-height: 1rem;
}

.text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.text-base {
    font-size: 1rem;
    line-height: 1.5rem;
}

.text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
}

.text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
}

.text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
}

.text-3xl {
    font-size: 1.875rem;
    line-height: 2.25rem;
}

.text-4xl {
    font-size: 2.25rem;
    line-height: 2.5rem;
}

.text-5xl {
    font-size: 3rem;
    line-height: 1;
}

.text-6xl {
    font-size: 3.75rem;
    line-height: 1;
}

.text-7xl {
    font-size: 4.5rem;
    line-height: 1;
}

.text-8xl {
    font-size: 6rem;
    line-height: 1;
}

.text-\[10px\] {
    font-size: 10px;
}

/* Responsive Font Size */
@media (min-width: 768px) {
    .md\:text-2xl {
        font-size: 1.5rem;
        line-height: 2rem;
    }

    .md\:text-3xl {
        font-size: 1.875rem;
        line-height: 2.25rem;
    }

    .md\:text-7xl {
        font-size: 4.5rem;
        line-height: 1;
    }

    .md\:text-8xl {
        font-size: 6rem;
        line-height: 1;
    }

    .md\:w-\[70\%\] {
        width: 70%;
    }
}

/* Font Weight */
.font-light {
    font-weight: 300;
}

.font-normal {
    font-weight: 400;
}

.font-medium {
    font-weight: 500;
}

.font-bold {
    font-weight: 700;
}

.font-black {
    font-weight: 900;
}

/* Font Style */
.italic {
    font-style: italic;
}

.uppercase {
    text-transform: uppercase;
}

/* Letter Spacing */
.tracking-tight {
    letter-spacing: -0.025em;
}

.tracking-wide {
    letter-spacing: 0.025em;
}

.tracking-wider {
    letter-spacing: 0.05em;
}

.tracking-widest {
    letter-spacing: 0.1em;
}

/* Line Height */
.leading-none {
    line-height: 1;
}

.leading-tight {
    line-height: 1.25;
}

/* Colors */
.text-white {
    color: #ffffff;
}

.text-black {
    color: #000000;
}

.text-gray-300 {
    color: #d1d5db;
}

.text-gray-400 {
    color: #9ca3af;
}

.text-gray-500 {
    color: #6b7280;
}

.text-brand-black {
    color: var(--brand-black);
}

.text-brand-gold {
    color: var(--brand-gold);
}

.bg-white {
    background-color: #ffffff;
}

.bg-black {
    background-color: #000000;
}

.bg-brand-black {
    background-color: var(--brand-black);
}

.bg-brand-gold {
    background-color: var(--brand-gold);
}

.bg-brand-dark {
    background-color: var(--brand-dark);
}

.bg-gray-500 {
    background-color: #6b7280;
}

.bg-blue-500 {
    background-color: #3b82f6;
}

.bg-green-400 {
    background-color: #4ade80;
}

.bg-green-600 {
    background-color: #16a34a;
}

.bg-yellow-500 {
    background-color: #eab308;
}

.bg-red-600 {
    background-color: #dc2626;
}

/* Opacity */
.opacity-60 {
    opacity: 0.6;
}

.opacity-80 {
    opacity: 0.8;
}

/* Background with Opacity */
.bg-black\/20 {
    background-color: rgba(0, 0, 0, 0.2);
}

.bg-black\/40 {
    background-color: rgba(0, 0, 0, 0.4);
}

.bg-black\/60 {
    background-color: rgba(0, 0, 0, 0.6);
}

.bg-black\/80 {
    background-color: rgba(0, 0, 0, 0.8);
}

.bg-white\/5 {
    background-color: rgba(255, 255, 255, 0.05);
}

.bg-white\/10 {
    background-color: rgba(255, 255, 255, 0.1);
}

.bg-brand-gold\/20 {
    background-color: rgba(255, 215, 55, 0.2);
}

.bg-brand-gold\/50 {
    background-color: rgba(255, 215, 55, 0.5);
}

/* Glassmorphism */
.bg-glass-strong {
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.backdrop-blur-md {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* Border */
.border {
    border-width: 1px;
}

.border-2 {
    border-width: 2px;
}

.border-t {
    border-top-width: 1px;
}

.border-white\/10 {
    border-color: rgba(255, 255, 255, 0.1);
}

.border-transparent {
    border-color: transparent;
}

/* Border Radius */
.rounded {
    border-radius: 0.25rem;
}

.rounded-full {
    border-radius: 9999px;
}

.rounded-\[30px\] {
    border-radius: 30px;
}

.rounded-\[40px\] {
    border-radius: 40px;
}

.rounded-t-3xl {
    border-top-left-radius: 1.5rem;
    border-top-right-radius: 1.5rem;
}

.rounded-t-\[40px\] {
    border-top-left-radius: 40px;
    border-top-right-radius: 40px;
}

/* Shadow */
.shadow-black {
    --tw-shadow-color: #000;
}

.shadow-lg {
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

.drop-shadow-md {
    filter: drop-shadow(0 4px 3px rgb(0 0 0 / 0.07));
}

.drop-shadow-sm {
    filter: drop-shadow(0 1px 2px rgb(0 0 0 / 0.1));
}

.drop-shadow-2xl {
    filter: drop-shadow(0 25px 25px rgb(0 0 0 / 0.15));
}

/* Overflow */
.overflow-hidden {
    overflow: hidden;
}

.overflow-x-auto {
    overflow-x: auto;
}

/* Object Fit */
.object-contain {
    object-fit: contain;
}

.object-cover {
    object-fit: cover;
}

/* Pointer Events */
.pointer-events-none {
    pointer-events: none;
}

/* Transitions */
.transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.transition-colors {
    transition-property: color, background-color, border-color;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.transition-transform {
    transition-property: transform;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.duration-150 {
    transition-duration: 150ms;
}

.duration-300 {
    transition-duration: 300ms;
}

.duration-500 {
    transition-duration: 500ms;
}

.duration-700 {
    transition-duration: 700ms;
}

/* Hover States */
.group:hover .group-hover\:border-brand-gold\/50 {
    border-color: rgba(255, 215, 55, 0.5);
}

.group:hover .group-hover\:scale-105 {
    transform: scale(1.05);
}

.group:hover .group-hover\:brightness-105 {
    filter: brightness(1.05);
}

.group:hover .group-hover\:bg-brand-gold\/20 {
    background-color: rgba(255, 215, 55, 0.2);
}

.group:hover .group-hover\:text-brand-gold {
    color: var(--brand-gold);
}

.group:hover .group-hover\:-translate-y-2 {
    transform: translateY(-0.5rem);
}

.hover\:shadow-\[0_20px_40px_-15px_rgba\(255\,215\,55\,0\.3\)\]:hover {
    box-shadow: 0 20px 40px -15px rgba(255, 215, 55, 0.3);
}

.hover\:-translate-y-2:hover {
    transform: translateY(-0.5rem);
}

/* Filter */
.filter {
    filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.brightness-90 {
    filter: brightness(0.9);
}

/* Animation */
@keyframes floatCar {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

.animate-float {
    animation: floatCar 6s ease-in-out infinite;
}

/* Gradient */
.bg-gradient-to-t {
    background-image: linear-gradient(to top, var(--tw-gradient-stops));
}

.from-black {
    --tw-gradient-from: #000;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(0, 0, 0, 0));
}

.via-transparent {
    --tw-gradient-stops: var(--tw-gradient-from), transparent, var(--tw-gradient-to, rgba(0, 0, 0, 0));
}

.to-black\/40 {
    --tw-gradient-to: rgba(0, 0, 0, 0.4);
}

/* Scrollbar Hide */
.hide-scrollbar::-webkit-scrollbar {
    display: none;
}

.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* TESTING - If you see this in browser inspector, CSS is loading correctly */
/* Global Catalog Grid & Cards (Premium Dark Design) */
.catalog-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 30px !important;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 5vw 80px 5vw;
}

@media (max-width: 992px) {
    .catalog-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 600px) {
    .catalog-grid {
        grid-template-columns: 1fr !important;
    }
}

/* --- PREMIUM DARK CAR CARD DESIGN --- */
.car-card-premium {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    min-height: 500px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.car-card-premium:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.car-card-premium:hover .card-bg-hover {
    opacity: 1 !important;
}

/* 1. CAPA DE FONDO (Imagen JPG de la ciudad) */
.card-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

/* 2. CAPA DE OSCURECIMIENTO (Overlay) */
.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10, 20, 35, 0.6), rgba(10, 15, 25, 0.95));
    z-index: 2;
}

/* 3. CONTENEDOR DEL CONTENIDO REAL (Texto y Coche PNG) */
.card-content-wrapper {
    position: relative;
    z-index: 3;
    padding: 25px;
    height: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    color: #ffffff;
}

/* Badge/Etiqueta opcional */
.premium-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
}

/* Imagen del Coche (PNG transparente) */
.car-png-container {
    margin-top: 10px;
    margin-bottom: 10px;
    text-align: center;
    max-height: 150px;
    overflow: hidden;
}

.car-png-container img {
    max-width: 60%;
    max-height: 150px;
    height: auto;
    filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.3));
    object-fit: contain;
}

/* Textos */
.car-info {
    margin-top: auto;
}

.car-brand {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.8;
    margin-bottom: 5px;
}

.car-title {
    font-size: 1.8rem;
    margin: 0 0 20px 0;
    font-weight: 800;
    line-height: 1.2;
}

/* Características (Iconos blancos) */
.car-specs-dark {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 15px 0;
    margin-bottom: 25px;
    font-size: 0.9rem;
    opacity: 0.9;
}

.spec-item-dark {
    display: flex;
    align-items: center;
    gap: 8px;
}

.spec-icon-white {
    width: 20px;
    height: 20px;
    fill: #ffffff;
}

/* Precio y Botón */
.card-footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price-box {
    display: flex;
    flex-direction: column;
}

.price-amount-large {
    font-size: 2rem;
    font-weight: 900;
    color: #fff;
}

.price-period-dark {
    font-size: 0.8rem;
    opacity: 0.7;
}

.btn-renting-glow {
    background: linear-gradient(135deg, #0062ff, #00c6ff);
    color: white;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(0, 198, 255, 0.3);
    transition: all 0.3s ease;
}

.btn-renting-glow:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 198, 255, 0.5);
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .catalog-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 600px) {
    .catalog-grid {
        grid-template-columns: 1fr !important;
    }

    .car-card-premium {
        min-height: auto;
    }

    .card-footer-row {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .btn-renting-glow {
        width: 100%;
        box-sizing: border-box;
    }
}

/* Legacy classes - keeping for backwards compatibility */
.archive-badge {
    display: inline-block;
    background: #fff;
    color: #000;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.6rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.archive-badge.gold {
    background: #FFD737;
    color: #000;
}