/* ===================================
   GE SUPERCARS - Premium Styles
   Version 3.0 - Luxe & Moderne
   =================================== */

/* ===================================
   Custom Properties (CSS Variables)
   =================================== */
:root {
    /* Premium Colors - Luxe & Moderne */
    --color-bg-primary: #0A0A0A;
    --color-bg-secondary: #1E1E1E;
    --color-bg-tertiary: #2C2C2C;
    --color-bg-elevated: #1A1A1A;
    
    /* Gold Champagne Accent Palette - Luxe */
    --color-accent: #D4AF37;
    --color-accent-light: #C5A572;
    --color-accent-bright: #E8D5A3;
    --color-accent-glow: rgba(212, 175, 55, 0.4);
    --color-accent-subtle: rgba(212, 175, 55, 0.08);
    
    /* Accent Rouge Passion (pour CTA importants) */
    --color-passion: #C0392B;
    --color-passion-light: #E74C3C;
    
    /* Text Colors */
    --color-text-primary: #FFFFFF;
    --color-text-secondary: #B8B8B8;
    --color-text-muted: #808080;
    
    /* Border Colors */
    --color-border: rgba(255, 255, 255, 0.08);
    --color-border-hover: rgba(212, 175, 55, 0.3);
    --color-border-active: rgba(212, 175, 55, 0.6);
    
    /* Premium Easings */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
    --ease-in-out-quart: cubic-bezier(0.76, 0, 0.24, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    
    /* Spacing Scale */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;
    --space-3xl: 10rem;
    
    /* Typography Scale */
    --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
    --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
    --text-base: clamp(1rem, 0.9rem + 0.5vw, 1.125rem);
    --text-lg: clamp(1.125rem, 1rem + 0.6vw, 1.25rem);
    --text-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
    --text-2xl: clamp(1.5rem, 1.2rem + 1.5vw, 2rem);
    --text-3xl: clamp(2rem, 1.5rem + 2.5vw, 3rem);
    --text-4xl: clamp(2.5rem, 2rem + 3vw, 4rem);
    --text-5xl: clamp(3rem, 2.5rem + 4vw, 5.5rem);
    --text-hero: clamp(3.5rem, 3rem + 5vw, 8rem);
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 60px var(--color-accent-glow);
    --shadow-glow-sm: 0 0 30px rgba(37, 99, 235, 0.2);
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 12px;
    --radius-xl: 20px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--color-bg-primary);
    color: var(--color-text-primary);
    overflow-x: hidden;
    line-height: 1.7;
    font-size: var(--text-base);
}

/* Noise Texture Overlay */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.025;
    pointer-events: none;
    z-index: 9999;
}

/* ===================================
   Typography
   =================================== */
.font-display {
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 0.04em;
    line-height: 1;
}

.font-body {
    font-family: 'DM Sans', sans-serif;
}

h1, h2, h3, h4 {
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 0.04em;
    line-height: 1.1;
}

/* Section Label / Tag */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-accent-light);
    margin-bottom: var(--space-md);
}

.section-label::before {
    content: '';
    width: 24px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-accent));
}

/* ===================================
   Custom Scrollbar
   =================================== */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--color-border);
    border-radius: 3px;
    transition: background 0.3s var(--ease-out-quart);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-accent);
}

/* Selection */
::selection {
    background: var(--color-accent);
    color: white;
}

/* ===================================
   Navigation - Premium Header
   =================================== */
#navbar {
    background: rgba(8, 9, 12, 0.6);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid var(--color-border);
    transition: all 0.5s var(--ease-out-expo);
}

#navbar.scrolled {
    background: rgba(8, 9, 12, 0.95);
    border-bottom-color: var(--color-border-hover);
}

#navbar nav > div {
    transition: height 0.4s var(--ease-out-expo);
}

#navbar.scrolled nav > div {
    height: 72px !important;
}

.nav-link {
    position: relative;
    color: var(--color-text-secondary);
    font-weight: 500;
    font-size: var(--text-sm);
    letter-spacing: 0.02em;
    padding: 0.5rem 0;
    transition: color 0.4s var(--ease-out-quart);
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
    transform: translateX(-50%);
    transition: width 0.5s var(--ease-out-expo);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-text-primary);
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 100%;
}

/* Social Icons */
.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: transparent;
    transition: all 0.4s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
}

.social-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--color-accent);
    transform: translateY(100%);
    transition: transform 0.4s var(--ease-out-expo);
}

.social-icon i {
    position: relative;
    z-index: 1;
    transition: transform 0.4s var(--ease-out-expo);
}

.social-icon:hover {
    border-color: var(--color-accent);
    color: white;
}

.social-icon:hover::before {
    transform: translateY(0);
}

.social-icon:hover i {
    transform: scale(1.1);
}

.social-icon-lg {
    width: 48px;
    height: 48px;
    font-size: 1.125rem;
}

/* ===================================
   Buttons - Premium
   =================================== */
.btn-primary {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-light) 100%);
    color: white;
    font-weight: 600;
    font-size: var(--text-sm);
    letter-spacing: 0.02em;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.5s var(--ease-out-expo);
    box-shadow: var(--shadow-glow-sm);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s var(--ease-out-expo);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow), 0 10px 40px rgba(37, 99, 235, 0.4);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-secondary {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    background: transparent;
    color: var(--color-text-primary);
    font-weight: 600;
    font-size: var(--text-sm);
    letter-spacing: 0.02em;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    cursor: pointer;
    overflow: hidden;
    transition: all 0.5s var(--ease-out-expo);
}

.btn-secondary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--color-accent-subtle);
    opacity: 0;
    transition: opacity 0.4s var(--ease-out-quart);
}

.btn-secondary:hover {
    border-color: var(--color-accent);
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(37, 99, 235, 0.15);
}

.btn-secondary:hover::before {
    opacity: 1;
}

/* ===================================
   Hero Section - Cinematic
   =================================== */
#hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Hero Background Layers */
#hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(37, 99, 235, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 80% 100%, rgba(37, 99, 235, 0.08) 0%, transparent 50%),
        linear-gradient(180deg, var(--color-bg-primary) 0%, var(--color-bg-secondary) 50%, var(--color-bg-primary) 100%);
    z-index: 1;
}

/* Animated Grid Lines */
#hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(var(--color-border) 1px, transparent 1px),
        linear-gradient(90deg, var(--color-border) 1px, transparent 1px);
    background-size: 80px 80px;
    opacity: 0.3;
    z-index: 1;
    mask-image: radial-gradient(ellipse 70% 50% at 50% 50%, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 70% 50% at 50% 50%, black 20%, transparent 70%);
}

#hero video {
    filter: brightness(0.3) saturate(1.2);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 1000px;
    padding: 0 var(--space-lg);
}

/* Hero Animations */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--color-accent-subtle);
    border: 1px solid var(--color-border-hover);
    border-radius: 100px;
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-accent-light);
    margin-bottom: var(--space-lg);
    opacity: 0;
    transform: translateY(20px);
}

.hero-badge.animate {
    animation: heroFadeUp 0.8s var(--ease-out-expo) forwards;
}

.hero-badge .live-dot {
    width: 6px;
    height: 6px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.hero-title {
    font-size: var(--text-hero);
    margin-bottom: var(--space-md);
    opacity: 0;
    transform: translateY(30px);
}

.hero-title.animate {
    animation: heroFadeUp 1s var(--ease-out-expo) 0.1s forwards;
}

.hero-title .text-accent {
    color: var(--color-accent-light);
    text-shadow: 0 0 60px var(--color-accent-glow);
}

.hero-subtitle {
    font-size: var(--text-xl);
    color: var(--color-text-secondary);
    max-width: 700px;
    margin: 0 auto var(--space-xl);
    line-height: 1.8;
    opacity: 0;
    transform: translateY(30px);
}

.hero-subtitle.animate {
    animation: heroFadeUp 1s var(--ease-out-expo) 0.2s forwards;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    justify-content: center;
    opacity: 0;
    transform: translateY(30px);
}

.hero-buttons.animate {
    animation: heroFadeUp 1s var(--ease-out-expo) 0.3s forwards;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--color-text-muted);
    font-size: var(--text-xs);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeIn 1s var(--ease-out-expo) 1s forwards;
}

.scroll-indicator::after {
    content: '';
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, var(--color-accent), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0%, 100% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    51% { transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ===================================
   Stat Cards - Premium
   =================================== */
.stat-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-lg);
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.5s var(--ease-out-expo);
}

.stat-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, var(--color-accent-subtle) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s var(--ease-out-quart);
}

.stat-card:hover {
    border-color: var(--color-border-hover);
    transform: translateY(-8px);
    box-shadow: var(--shadow-glow-sm);
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-card i {
    font-size: 2rem;
    color: var(--color-accent);
    margin-bottom: var(--space-md);
    position: relative;
    z-index: 1;
}

.stat-card .counter {
    font-family: 'Bebas Neue', sans-serif;
    font-size: var(--text-4xl);
    color: var(--color-text-primary);
    line-height: 1;
    position: relative;
    z-index: 1;
}

.stat-card .stat-label {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    margin-top: var(--space-xs);
    position: relative;
    z-index: 1;
}

/* ===================================
   Service Cards - Premium
   =================================== */
.service-card {
    position: relative;
    padding: var(--space-xl);
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    text-align: center;
    overflow: hidden;
    transition: all 0.6s var(--ease-out-expo);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
    opacity: 0;
    transition: opacity 0.5s var(--ease-out-quart);
}

.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, var(--color-accent-subtle) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.5s var(--ease-out-quart);
}

.service-card:hover {
    border-color: var(--color-border-hover);
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg), var(--shadow-glow-sm);
}

.service-card:hover::before,
.service-card:hover::after {
    opacity: 1;
}

.service-icon {
    position: relative;
    z-index: 1;
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-lg);
    background: var(--color-accent-subtle);
    border: 1px solid var(--color-border-hover);
    border-radius: var(--radius-lg);
    font-size: 1.75rem;
    color: var(--color-accent);
    transition: all 0.5s var(--ease-out-expo);
}

.service-card:hover .service-icon {
    background: var(--color-accent);
    color: white;
    transform: scale(1.05);
    box-shadow: var(--shadow-glow-sm);
}

.service-badge {
    position: relative;
    z-index: 1;
    display: inline-block;
    padding: 6px 14px;
    background: var(--color-accent);
    color: white;
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-md);
}

.service-card h3 {
    position: relative;
    z-index: 1;
    font-size: var(--text-2xl);
    margin-bottom: var(--space-sm);
}

.service-card p {
    position: relative;
    z-index: 1;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-lg);
    line-height: 1.7;
}

.service-price {
    position: relative;
    z-index: 1;
    display: inline-block;
    padding: 10px 24px;
    background: var(--color-bg-tertiary);
    border: 1px solid var(--color-border-hover);
    color: var(--color-accent-light);
    font-weight: 700;
    font-size: var(--text-lg);
    border-radius: var(--radius-md);
}

/* ===================================
   Vehicle Cards - Premium
   =================================== */
.vehicle-card {
    position: relative;
    flex-shrink: 0;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--color-bg-secondary);
    transition: all 0.6s var(--ease-out-expo);
}

.vehicle-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    padding: 1px;
    background: linear-gradient(135deg, transparent 40%, var(--color-accent) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s var(--ease-out-quart);
}

.vehicle-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.vehicle-card:hover::before {
    opacity: 1;
}

.vehicle-card img {
    transition: transform 0.7s var(--ease-out-expo);
}

.vehicle-card:hover img {
    transform: scale(1.08);
}

.sold-badge, .sale-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 8px 16px;
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    backdrop-filter: blur(8px);
    z-index: 10;
}

.sold-badge {
    background: rgba(220, 38, 38, 0.9);
    color: white;
}

.sale-badge {
    background: rgba(22, 163, 74, 0.9);
    color: white;
}

/* ===================================
   Testimonial Cards - Premium
   =================================== */
.testimonial-card {
    position: relative;
    padding: var(--space-lg);
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    transition: all 0.5s var(--ease-out-expo);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: var(--space-md);
    right: var(--space-lg);
    font-family: Georgia, serif;
    font-size: 6rem;
    color: var(--color-accent-subtle);
    line-height: 1;
    pointer-events: none;
}

.testimonial-card:hover {
    border-color: var(--color-border-hover);
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

/* ===================================
   Section Styles
   =================================== */
section {
    position: relative;
    padding: var(--space-3xl) 0;
}

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

.section-light {
    background: var(--color-bg-secondary);
}

/* Section Dividers */
.section-divider {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 80px;
    background: linear-gradient(180deg, transparent, var(--color-border), transparent);
}

/* ===================================
   Page Header - Premium
   =================================== */
.page-header {
    position: relative;
    padding-top: 180px;
    padding-bottom: 100px;
    overflow: hidden;
    min-height: 450px;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 60% 40% at 50% 0%, rgba(37, 99, 235, 0.12) 0%, transparent 60%),
        linear-gradient(180deg, var(--color-bg-primary) 0%, var(--color-bg-secondary) 100%);
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-border), transparent);
}

/* Page Header Background Images */
.page-header img {
    object-position: center 30%;
}

@media (min-width: 1024px) {
    .page-header {
        min-height: 500px;
        padding-top: 200px;
        padding-bottom: 120px;
    }
    
    .page-header img {
        object-position: center 25%;
    }
}

/* ===================================
   Form Styles - Premium
   =================================== */
.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 16px 20px;
    background: var(--color-bg-primary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    color: var(--color-text-primary);
    font-family: inherit;
    font-size: var(--text-base);
    transition: all 0.4s var(--ease-out-quart);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 4px var(--color-accent-subtle);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--color-text-muted);
}

.form-label {
    display: block;
    margin-bottom: 8px;
    color: var(--color-text-secondary);
    font-size: var(--text-sm);
    font-weight: 500;
}

/* ===================================
   Animations
   =================================== */
@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.1); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Reveal Animation Classes */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s var(--ease-out-expo);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Counter Animation */
.counter {
    font-variant-numeric: tabular-nums;
}

/* ===================================
   Video Wrapper - Premium
   =================================== */
.video-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: all 0.5s var(--ease-out-expo);
}

.video-wrapper:hover {
    border-color: var(--color-border-hover);
    transform: scale(1.02);
    box-shadow: var(--shadow-lg), var(--shadow-glow-sm);
}

/* ===================================
   Partner Logos
   =================================== */
.partner-logo {
    transition: all 0.5s var(--ease-out-expo);
    filter: grayscale(100%) brightness(0.7);
}

.partner-logo:hover {
    filter: grayscale(0%) brightness(1);
    transform: scale(1.05);
}

/* ===================================
   Embed Cards
   =================================== */
.embed-card {
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    transition: all 0.5s var(--ease-out-expo);
}

.embed-card:hover {
    border-color: var(--color-border-hover);
    box-shadow: var(--shadow-md);
}

/* ===================================
   CTA Section
   =================================== */
.cta-section {
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 60% at 50% 50%, rgba(37, 99, 235, 0.15) 0%, transparent 60%);
}

/* ===================================
   Footer - Premium
   =================================== */
footer {
    background: var(--color-bg-primary);
    border-top: 1px solid var(--color-border);
}

/* ===================================
   Responsive Adjustments
   =================================== */
@media (max-width: 1024px) {
    section {
        padding: var(--space-2xl) 0;
    }
    
    .hero-content {
        padding: 0 var(--space-md);
    }
}

@media (max-width: 768px) {
    section {
        padding: var(--space-xl) 0;
    }
    
    .page-header {
        padding-top: 140px;
        padding-bottom: 60px;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 14px 24px;
        font-size: var(--text-sm);
    }
    
    .service-card {
        padding: var(--space-lg);
    }
    
    .stat-card {
        padding: var(--space-md);
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: row;
        flex-wrap: wrap;
        width: 100%;
        gap: var(--space-sm);
    }
    
    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        flex: 1 1 auto;
        min-width: 140px;
        padding: 12px 20px;
    }
}

/* ===================================
   Reduced Motion
   =================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* ===================================
   Glassmorphism Utility
   =================================== */
.glass {
    background: rgba(13, 15, 20, 0.6);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--color-border);
}

/* ===================================
   Additional Premium Components
   =================================== */

/* Stat Item */
.stat-item {
    text-align: center;
    padding: var(--space-lg);
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    transition: all 0.5s var(--ease-out-expo);
}

.stat-item:hover {
    border-color: var(--color-border-hover);
    transform: translateY(-6px);
    box-shadow: var(--shadow-glow-sm);
}

.stat-number {
    font-family: 'Bebas Neue', sans-serif;
    font-size: var(--text-4xl);
    color: var(--color-accent);
    line-height: 1;
}

/* Network Stats */
.network-stat {
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    text-align: center;
    transition: all 0.5s var(--ease-out-expo);
}

.network-stat:hover {
    border-color: var(--color-border-hover);
    transform: translateY(-6px);
    box-shadow: var(--shadow-glow-sm);
}

.network-stat i {
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
}

.network-stat.tiktok i { color: #00F2EA; }
.network-stat.instagram i { color: #E4405F; }
.network-stat.youtube i { color: #FF0000; }
.network-stat.facebook i { color: #1877F2; }

/* Service Detail Card */
.service-detail-card {
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    transition: all 0.5s var(--ease-out-expo);
}

.service-detail-card:hover {
    border-color: var(--color-border-hover);
}

.service-feature {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.service-feature i {
    color: var(--color-accent);
    margin-top: 4px;
}

/* Vehicle Detail Card */
.vehicle-detail-card {
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.5s var(--ease-out-expo);
}

.vehicle-detail-card:hover {
    border-color: var(--color-border-hover);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.vehicle-detail-card img {
    transition: transform 0.7s var(--ease-out-expo);
}

.vehicle-detail-card:hover img {
    transform: scale(1.05);
}

.vehicle-info {
    padding: var(--space-lg);
}

.vehicle-specs {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-sm);
    flex-wrap: wrap;
}

.vehicle-spec {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--color-text-secondary);
    font-size: var(--text-sm);
}

.vehicle-spec i {
    color: var(--color-accent);
}

.vehicle-price {
    font-family: 'Bebas Neue', sans-serif;
    font-size: var(--text-2xl);
    color: var(--color-accent);
}

/* Contact Info Card */
.contact-info-card {
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    display: flex;
    align-items: center;
    gap: var(--space-md);
    transition: all 0.5s var(--ease-out-expo);
}

.contact-info-card:hover {
    border-color: var(--color-border-hover);
    transform: translateX(8px);
}

.contact-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-accent-subtle);
    border: 1px solid var(--color-border-hover);
    border-radius: var(--radius-md);
    color: var(--color-accent);
    font-size: 1.25rem;
}

/* Tabs */
.tab-btn {
    padding: 14px 28px;
    background: transparent;
    border: 1px solid var(--color-border);
    color: var(--color-text-secondary);
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.4s var(--ease-out-expo);
}

.tab-btn:hover {
    border-color: var(--color-border-hover);
    color: var(--color-text-primary);
}

.tab-btn.active {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: white;
}

/* File Upload */
.file-upload {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-xl);
    background: var(--color-bg-primary);
    border: 2px dashed var(--color-border);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all 0.4s var(--ease-out-quart);
}

.file-upload:hover {
    border-color: var(--color-accent);
    background: var(--color-accent-subtle);
}

.file-upload input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.file-upload i {
    font-size: 2.5rem;
    color: var(--color-accent);
    margin-bottom: var(--space-md);
}

/* Association Card */
.association-card {
    background: linear-gradient(135deg, var(--color-accent-subtle) 0%, var(--color-bg-secondary) 100%);
    border: 1px solid var(--color-border-hover);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
}

/* Alert Messages */
.alert {
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-lg);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.alert-success {
    background: rgba(22, 163, 74, 0.1);
    border: 1px solid rgba(22, 163, 74, 0.3);
    color: #22c55e;
}

.alert-error {
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid rgba(220, 38, 38, 0.3);
    color: #ef4444;
}

/* Video Thumbnails */
.video-thumbnail {
    display: block;
    transition: all 0.5s var(--ease-out-expo);
}

.video-thumbnail:hover {
    transform: translateY(-8px);
}

/* Line Clamp Utilities */
.line-clamp-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Social Embed Containers */
.tiktok-embed-container,
.instagram-embed-container {
    display: flex;
    justify-content: center;
    min-height: 400px;
    width: 100%;
}

.tiktok-embed-container blockquote,
.instagram-embed-container blockquote {
    margin: 0 auto;
}

/* Fix Instagram embed background */
.instagram-media {
    background: transparent !important;
    border: 1px solid var(--color-border) !important;
    border-radius: var(--radius-lg) !important;
}

/* Social Feed Box - Unified container for Instagram & TikTok */
.social-feed-box {
    min-height: 550px;
    max-height: 600px;
    overflow: hidden;
}

/* Instagram Feed Container (Elfsight) */
.instagram-feed-container {
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* TikTok Feed Container */
.tiktok-feed-container {
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* YouTube Feed Container */
.youtube-feed-container {
    min-height: 400px;
}

/* Mobile centering for social feeds */
@media (max-width: 1023px) {
    .social-feed-box {
        min-height: 500px;
        max-height: 550px;
    }
    
    .instagram-feed-container,
    .tiktok-feed-container {
        min-height: 450px;
    }
}

/* Elfsight Widget Styling */
[class*="elfsight-app"] {
    width: 100%;
}

/* Video Card for YouTube embeds */
.video-card {
    transition: all 0.5s var(--ease-out-expo);
}

.video-card:hover {
    border-color: var(--color-accent) !important;
    box-shadow: var(--shadow-glow-sm);
}

/* Hero Background Image */
#hero > div:first-child img {
    filter: brightness(0.4) saturate(1.2);
    transition: transform 20s ease-out;
}

#hero:hover > div:first-child img {
    transform: scale(1.05);
}

/* About Image */
.about-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.about-image::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid var(--color-border-hover);
    border-radius: var(--radius-lg);
    pointer-events: none;
}

.about-image img {
    transition: transform 0.7s var(--ease-out-expo);
}

.about-image:hover img {
    transform: scale(1.05);
}

/* Vehicles Carousel */
.vehicles-carousel {
    scrollbar-width: thin;
    scrollbar-color: var(--color-border) var(--color-bg-primary);
}

.vehicles-carousel::-webkit-scrollbar {
    height: 6px;
}

.vehicles-carousel::-webkit-scrollbar-track {
    background: var(--color-bg-primary);
}

.vehicles-carousel::-webkit-scrollbar-thumb {
    background: var(--color-border);
    border-radius: 3px;
}
