/* === JT Auto Rental - LUXURY NAVY + TEAL THEME === */
:root {
    /* ===== PRIMARY COLORS ===== */
    --navy-primary: #0B132B;
    --navy-secondary: #1C2541;
    --navy-light: #3A506B;
    
    /* ===== ACCENT COLORS ===== */
    --teal-primary: #00B8A9;
    --teal-hover: #00a99c;
    --teal-light: #E0F7F5;
    --emerald: #10B981;
    --gold: #F59E0B;
    --amber: #FBBF24;
    
    /* ===== NEUTRAL COLORS ===== */
    --white: #FFFFFF;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-500: #6B7280;
    --gray-700: #374151;
    --gray-900: #111827;
    
    /* ===== GRADIENTS ===== */
    --hero-gradient: linear-gradient(135deg, var(--navy-primary) 0%, var(--navy-secondary) 50%, var(--navy-primary) 100%);
    --teal-gradient: linear-gradient(135deg, var(--teal-primary) 0%, var(--emerald) 100%);
    --gold-gradient: linear-gradient(135deg, var(--gold) 0%, var(--amber) 100%);
    --primary-gradient: var(--teal-gradient);
    --dark-gradient: linear-gradient(135deg, #111827 0%, #1F2937 100%);
    
    /* ===== SHADOWS ===== */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 25px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 15px 35px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 25px 50px rgba(0, 0, 0, 0.25);
    --shadow-teal: 0 10px 30px rgba(0, 184, 169, 0.3);
    --shadow-glow: 0 0 40px rgba(0, 184, 169, 0.5);
    
    /* ===== TRANSITIONS ===== */
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-premium: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    
    /* ===== BORDER RADIUS ===== */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 9999px;

    /* Legacy compatibility */
    --accent-primary: var(--teal-primary);
    --accent-secondary: var(--emerald);
    --primary-color: var(--teal-primary);
    --secondary-color: var(--navy-secondary);
    --bg-primary: var(--navy-primary);
    --bg-secondary: var(--navy-secondary);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.85);
    --text-muted: #8a9b95;
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 16px;
    --border-radius-xl: 24px;

    /* FIXED: Add neutral background colors */
    --background-color: #122117;
    --foreground-color: #ffffff;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

/* FIXED: Remove gradient from body - use neutral background */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    background-color: #f8f9fa !important;
    color: #333333;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Premium Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

/* FIXED: Only homepage headings get white color + shadow */
body.homepage h1, 
body.homepage h2, 
body.homepage h3, 
body.homepage h4, 
body.homepage h5, 
body.homepage h6 {
    color: white;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
}

/* Remove JS class when JS loads */
.js body {
    opacity: 1;
}

.no-js body {
    opacity: 0;
    animation: fadeIn 0.5s ease-out forwards;
}

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

/* Global Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Accessibility */
.keyboard-navigation *:focus {
    outline: 3px solid rgba(67, 233, 123, 0.6);
    outline-offset: 3px;
}

/* Accessibility improvements */
.btn-hero-premium:focus,
.car-action-btn-premium:focus,
.btn-explore-more-premium:focus {
    outline: 3px solid rgba(67, 233, 123, 0.6);
    outline-offset: 3px;
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .hero-section::before,
    .why-choose-section-premium::before,
    .why-choose-image-premium {
        animation: none;
    }
}