/**
 * Black Luxury - Premium CSS Styles
 * Version 1.0 - Gold & Black Theme
 */

/* ========== CSS Variables ========== */
:root {
    /* Primary Colors - Gold & Black */
    --color-gold: #D4AF37;
    --color-gold-light: #E8C252;
    --color-gold-dark: #B8960C;
    --color-gold-accent: #F4D03F;
    
    /* Background Colors */
    --color-bg-dark: #0A0A0A;
    --color-bg-darker: #050505;
    --color-bg-card: #111111;
    --color-bg-hover: #1A1A1A;
    
    /* Border Colors */
    --color-border: #2A2A2A;
    --color-border-light: #3A3A3A;
    --color-border-gold: rgba(212, 175, 55, 0.3);
    
    /* Text Colors */
    --color-text-primary: #FFFFFF;
    --color-text-secondary: #B0B0B0;
    --color-text-muted: #707070;
    
    /* Accent Colors */
    --color-success: #10B981;
    --color-danger: #EF4444;
    --color-info: #3B82F6;
    
    /* Typography */
    --font-main: 'Montserrat', 'Inter', sans-serif;
    --font-fancy: 'Playfair Display', serif;
    
    /* Shadows */
    --shadow-gold: 0 4px 20px rgba(212, 175, 55, 0.25);
    --shadow-dark: 0 10px 40px rgba(0, 0, 0, 0.5);
    --shadow-card: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    
    /* Gradients */
    --gradient-gold: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-light) 50%, var(--color-gold) 100%);
    --gradient-dark: linear-gradient(180deg, var(--color-bg-dark) 0%, var(--color-bg-darker) 100%);
    --gradient-card: linear-gradient(145deg, rgba(30,30,30,0.9) 0%, rgba(15,15,15,0.95) 100%);
}

/* ========== Base Styles ========== */
body {
    font-family: var(--font-main);
    background-color: var(--color-bg-dark);
    color: var(--color-text-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========== Glass Morphism ========== */
.glass-dark {
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--color-border-gold);
}

.glass-light {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.glass-gold {
    background: linear-gradient(145deg, rgba(212, 175, 55, 0.1) 0%, rgba(212, 175, 55, 0.05) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--color-border-gold);
}

/* ========== Premium Buttons ========== */
.btn-gold {
    background: var(--gradient-gold);
    color: #000;
    font-weight: 700;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-gold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.4);
}

.btn-gold:active {
    transform: scale(0.98);
}

.btn-gold-outline {
    background: transparent;
    color: var(--color-gold);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    border: 2px solid var(--color-gold);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-gold-outline:hover {
    background: var(--color-gold);
    color: #000;
}

/* ========== Premium Tabs ========== */
.luxury-tabs {
    display: flex;
    gap: 0;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    padding: 4px;
}

.luxury-tab {
    flex: 1;
    padding: 1rem 1.5rem;
    text-align: center;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 10px;
}

.luxury-tab:hover {
    color: var(--color-gold);
    background: rgba(212, 175, 55, 0.1);
}

.luxury-tab.active {
    background: var(--gradient-gold);
    color: #000;
    box-shadow: var(--shadow-gold);
}

/* ========== Premium Inputs ========== */
.luxury-input-group {
    position: relative;
    margin-bottom: 1rem;
}

.luxury-input-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.luxury-input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    color: var(--color-text-primary);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.luxury-input:focus {
    outline: none;
    border-color: var(--color-gold);
    background: rgba(212, 175, 55, 0.05);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.luxury-input::placeholder {
    color: var(--color-text-muted);
}

.luxury-input-icon {
    position: absolute;
    left: 1rem;
    top: calc(50% + 0.75rem);
    transform: translateY(-50%);
    color: var(--color-gold);
    font-size: 1rem;
}

/* ========== Premium Select ========== */
.luxury-select {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    color: var(--color-text-primary);
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23D4AF37' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.5rem;
}

.luxury-select:focus {
    outline: none;
    border-color: var(--color-gold);
}

/* ========== Vehicle Cards ========== */
.vehicle-card {
    background: var(--gradient-card);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 1.25rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.vehicle-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-gold);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.vehicle-card:hover {
    border-color: var(--color-border-gold);
    transform: translateY(-4px);
    box-shadow: var(--shadow-dark);
}

.vehicle-card:hover::before {
    opacity: 1;
}

.vehicle-card.selected {
    border-color: var(--color-gold);
    background: linear-gradient(145deg, rgba(212, 175, 55, 0.1) 0%, rgba(15, 15, 15, 0.95) 100%);
    box-shadow: var(--shadow-gold);
}

.vehicle-card.selected::before {
    opacity: 1;
}

.vehicle-image {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.vehicle-name {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--color-text-primary);
    margin-bottom: 0.5rem;
}

.vehicle-features {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.vehicle-feature {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    color: var(--color-text-secondary);
}

.vehicle-feature i {
    color: var(--color-gold);
}

.vehicle-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-gold);
}

.vehicle-price-currency {
    font-size: 0.9rem;
    font-weight: 500;
}

/* ========== Stepper ========== */
.luxury-stepper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    margin-bottom: 2rem;
}

.luxury-stepper::before {
    content: '';
    position: absolute;
    top: 1.25rem;
    left: 10%;
    right: 10%;
    height: 2px;
    background: var(--color-border);
    z-index: 0;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
    cursor: pointer;
}

.step-circle {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-card);
    border: 2px solid var(--color-border);
    color: var(--color-text-muted);
    font-weight: 700;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.step.active .step-circle {
    background: var(--gradient-gold);
    border-color: var(--color-gold);
    color: #000;
    box-shadow: var(--shadow-gold);
}

.step.completed .step-circle {
    background: var(--color-success);
    border-color: var(--color-success);
    color: #fff;
}

.step-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-text-muted);
    font-weight: 600;
}

.step.active .step-label {
    color: var(--color-gold);
}

/* ========== Date/Time Picker Styles ========== */
.datetime-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.datetime-input {
    width: 100%;
    padding: 0.875rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    color: var(--color-text-primary);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.datetime-input:focus {
    outline: none;
    border-color: var(--color-gold);
    background: rgba(212, 175, 55, 0.05);
}

/* ========== Booking Summary ========== */
.booking-summary {
    background: var(--gradient-card);
    border: 1px solid var(--color-border-gold);
    border-radius: 16px;
    padding: 1.5rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--color-border);
}

.summary-row:last-child {
    border-bottom: none;
}

.summary-label {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
}

.summary-value {
    color: var(--color-text-primary);
    font-weight: 600;
}

.summary-total {
    font-size: 1.25rem;
    color: var(--color-gold);
    font-weight: 800;
}

/* ========== Hero Section ========== */
.hero-luxury {
    background: linear-gradient(135deg, #0A0A0A 0%, #1A1A1A 50%, #0A0A0A 100%);
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-luxury::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.gold-accent-line {
    height: 3px;
    background: var(--gradient-gold);
    border-radius: 2px;
}

/* ========== Animations ========== */
@keyframes shimmerGold {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.shimmer-gold {
    background: linear-gradient(90deg, 
        transparent, 
        rgba(212, 175, 55, 0.3), 
        transparent
    );
    background-size: 200% 100%;
    animation: shimmerGold 2s infinite;
}

@keyframes pulseGold {
    0%, 100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4); }
    50% { box-shadow: 0 0 0 10px rgba(212, 175, 55, 0); }
}

.pulse-gold {
    animation: pulseGold 2s infinite;
}

/* ========== Responsive ========== */
@media (max-width: 768px) {
    .luxury-tabs {
        flex-direction: column;
    }
    
    .datetime-group {
        grid-template-columns: 1fr;
    }
    
    .vehicle-card {
        padding: 1rem;
    }
    
    .step-label {
        font-size: 0.6rem;
    }
}

/* ========== Custom Scrollbar ========== */
.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: var(--color-bg-darker);
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: var(--color-gold);
    border-radius: 3px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: var(--color-gold-light);
}
