/* Estilos Luxo - Paris Motors - Paleta de Cores Sofisticada */

:root {
    /* Paleta Principal - Tons de Azul Escuro e Dourado */
    --primary-color: #1a365d;        /* Azul escuro profundo */
    --primary-light: #2d4a69;        /* Azul escuro claro */
    --primary-dark: #0f2438;         /* Azul escuro mais escuro */
    
    /* Cores Secundárias */
    --secondary-color: #c9a96e;      /* Dourado elegante */
    --secondary-light: #d4b87a;      /* Dourado claro */
    --secondary-dark: #b8955a;       /* Dourado escuro */
    
    /* Cores de Apoio */
    --accent-color: #e53e3e;         /* Vermelho sofisticado */
    --accent-light: #fc8181;         /* Vermelho claro */
    --success-color: #38a169;        /* Verde elegante */
    --warning-color: #d69e2e;        /* Amarelo dourado */
    --danger-color: #e53e3e;         /* Vermelho de alerta */
    
    /* Tons Neutros */
    --dark-color: #1a202c;           /* Preto suave */
    --light-color: #f7fafc;          /* Branco suave */
    --gray-100: #f7fafc;
    --gray-200: #edf2f7;
    --gray-300: #e2e8f0;
    --gray-400: #cbd5e0;
    --gray-500: #a0aec0;
    --gray-600: #718096;
    --gray-700: #4a5568;
    --gray-800: #2d3748;
    --gray-900: #1a202c;
    
    /* Gradientes */
    --gradient-primary: linear-gradient(135deg, #1a365d 0%, #2d4a69 50%, #0f2438 100%);
    --gradient-secondary: linear-gradient(135deg, #c9a96e 0%, #d4b87a 50%, #b8955a 100%);
    --gradient-hero: linear-gradient(135deg, #1a365d 0%, #2d4a69 30%, #0f2438 70%, #1a202c 100%);
    --gradient-card: linear-gradient(145deg, #ffffff 0%, #f7fafc 100%);
    
    /* Sombras */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07), 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1), 0 10px 10px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px rgba(0, 0, 0, 0.25);
}

/* Reset e Base */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--light-color);
    font-size: 16px;
    font-weight: 400;
}

/* Hero Section - Estilo Luxo */
.hero-section {
    background: var(--gradient-hero);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(201, 169, 110, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(201, 169, 110, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, rgba(26, 54, 93, 0.8) 0%, rgba(15, 36, 56, 0.9) 100%);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.hero-section .lead {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-weight: 400;
}

.hero-image img {
    border-radius: 20px;
    box-shadow: var(--shadow-2xl);
    transition: all 0.4s ease;
    border: 3px solid rgba(201, 169, 110, 0.2);
}

.hero-image img:hover {
    transform: scale(1.02) translateY(-5px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

/* Navbar Luxo */
.navbar {
    background: rgba(26, 54, 93, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(201, 169, 110, 0.2);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 700;
    color: white !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    padding: 0.75rem 1rem !important;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: var(--secondary-color) !important;
    background-color: rgba(201, 169, 110, 0.1);
    transform: translateY(-1px);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-secondary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
    width: 80%;
}

/* Cards de Veículos - Estilo Luxo */
.card {
    transition: all 0.4s ease;
    border: none;
    border-radius: 20px;
    overflow: hidden;
    background: var(--gradient-card);
    box-shadow: var(--shadow-md);
    position: relative;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-secondary);
    z-index: 1;
}

.card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-2xl);
}

.card-img-top {
    transition: transform 0.4s ease;
    height: 250px;
    object-fit: cover;
}

.card:hover .card-img-top {
    transform: scale(1.1);
}

.card-body {
    padding: 1.5rem;
    position: relative;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.card-text {
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Badges Luxo */
.badge {
    font-size: 0.75rem;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge.bg-primary {
    background: var(--gradient-primary) !important;
}

.badge.bg-warning {
    background: var(--gradient-secondary) !important;
    color: var(--primary-color) !important;
}

/* Botões Luxo */
.btn {
    border-radius: 30px;
    padding: 0.875rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn::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.5s ease;
}

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

.btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0f2438 0%, #1a365d 50%, #2d4a69 100%);
    color: white;
}

.btn-warning {
    background: var(--gradient-secondary);
    color: var(--primary-color);
}

.btn-warning:hover {
    background: linear-gradient(135deg, #b8955a 0%, #c9a96e 50%, #d4b87a 100%);
    color: var(--primary-color);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
}

/* Seções */
section {
    padding: 6rem 0;
}

.bg-light {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%) !important;
}

/* Filtros Luxo */
.form-select, .form-control {
    border-radius: 15px;
    border: 2px solid var(--gray-300);
    padding: 0.875rem 1.25rem;
    transition: all 0.3s ease;
    background: white;
    font-size: 0.95rem;
}

.form-select:focus, .form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.2rem rgba(201, 169, 110, 0.25);
    outline: none;
}

/* Footer Luxo */
footer {
    background: var(--gradient-primary);
    color: white;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-secondary);
}

footer h5 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
    font-size: 1.1rem;
}

footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

footer a:hover {
    color: var(--secondary-color) !important;
    transform: translateX(5px);
}

/* Tabelas Luxo */
.table {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: white;
}

.table thead th {
    background: var(--gradient-primary);
    color: white;
    border: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 1.25rem 1rem;
    font-size: 0.85rem;
}

.table tbody tr {
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--gray-200);
}

.table tbody tr:hover {
    background: linear-gradient(90deg, rgba(201, 169, 110, 0.05) 0%, rgba(201, 169, 110, 0.1) 100%);
    transform: scale(1.01);
}

.table tbody td {
    padding: 1.25rem 1rem;
    vertical-align: middle;
    border: none;
}

/* Modal Luxo */
.modal-content {
    border-radius: 20px;
    border: none;
    box-shadow: var(--shadow-2xl);
    overflow: hidden;
}

.modal-header {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 1.5rem 2rem;
}

.modal-header .btn-close {
    filter: invert(1);
    opacity: 0.8;
}

.modal-header .btn-close:hover {
    opacity: 1;
}

.modal-body {
    padding: 2rem;
}

/* Admin Dashboard Luxo */
.sidebar {
    background: var(--gradient-primary);
    min-height: 100vh;
    position: relative;
}

.sidebar::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-secondary);
}

.sidebar .nav-link {
    color: rgba(255, 255, 255, 0.9);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    margin: 0.25rem 1rem;
    transition: all 0.3s ease;
    position: relative;
    font-weight: 500;
}

.sidebar .nav-link:hover {
    background: rgba(201, 169, 110, 0.15);
    color: var(--secondary-color);
    transform: translateX(5px);
}

.sidebar .nav-link.active {
    background: var(--gradient-secondary);
    color: var(--primary-color);
    font-weight: 700;
}

.sidebar .nav-link i {
    margin-right: 0.75rem;
    width: 20px;
    text-align: center;
}

.main-content {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    min-height: 100vh;
}

/* Stats Cards */
.stats-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stats-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-secondary);
}

.stats-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
}

.stats-card .icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-md);
}

.stats-card.primary .icon {
    background: var(--gradient-primary);
    color: white;
}

.stats-card.success .icon {
    background: linear-gradient(45deg, #38a169, #2f855a);
    color: white;
}

.stats-card.warning .icon {
    background: var(--gradient-secondary);
    color: var(--primary-color);
}

.stats-card.danger .icon {
    background: linear-gradient(45deg, #e53e3e, #c53030);
    color: white;
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

.slide-in-right {
    animation: slideInRight 0.6s ease-out;
}

/* Responsividade */
@media (max-width: 768px) {
    .hero-section {
        text-align: center;
        padding: 4rem 0;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .card {
        margin-bottom: 2rem;
    }
    
    section {
        padding: 4rem 0;
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section .lead {
        font-size: 1.1rem;
    }
    
    .card-body {
        padding: 1.25rem;
    }
    
    .stats-card {
        padding: 1.5rem;
    }
}

/* Utilitários */
.text-gradient {
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shadow-custom {
    box-shadow: var(--shadow-lg);
}

.border-radius-custom {
    border-radius: 20px;
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.1em;
}

/* Alertas Luxo */
.alert {
    border-radius: 15px;
    border: none;
    font-weight: 500;
    padding: 1rem 1.5rem;
    box-shadow: var(--shadow-md);
}

.alert-success {
    background: linear-gradient(135deg, #38a169, #2f855a);
    color: white;
}

.alert-warning {
    background: var(--gradient-secondary);
    color: var(--primary-color);
}

.alert-danger {
    background: linear-gradient(135deg, #e53e3e, #c53030);
    color: white;
}

.alert-info {
    background: var(--gradient-primary);
    color: white;
}

/* Paginação Luxo */
.pagination .page-link {
    border-radius: 12px;
    margin: 0 3px;
    border: 2px solid var(--gray-300);
    color: var(--primary-color);
    font-weight: 600;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.pagination .page-link:hover {
    background: var(--gradient-secondary);
    border-color: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.pagination .page-item.active .page-link {
    background: var(--gradient-primary);
    border-color: var(--primary-color);
    color: white;
}

/* Scrollbar Personalizada */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-200);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-secondary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-dark);
}
