/* ================================
   RESET & BASE STYLES
   ================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #dc2626;
    --primary-dark: #b91c1c;
    --secondary: #1e293b;
    --text-dark: #0f172a;
    --text-gray: #64748b;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
    --radius: 8px;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-white);
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.main-content {
    min-height: calc(100vh - 200px);
}

/* ================================
   HEADER & NAVIGATION
   ================================ */
.header {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.logo-image {
    height: 40px;
    width: auto;
    display: block;
}

.logo i {
    font-size: 1.75rem;
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 2rem;
}

.nav-links li a {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
}

.nav-links li a:hover {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.nav-cta {
    margin-left: 1rem;
}

.nav-cta .btn {
    padding: 0.65rem 1.5rem;
    font-size: 0.9375rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.2);
    transition: all 0.3s ease;
}

.nav-cta .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.nav-cta .btn i {
    font-size: 0.875rem;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
}

.mobile-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 3px;
    transition: var(--transition);
}

/* ================================
   BUTTONS
   ================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--secondary);
    color: white;
}

.btn-secondary:hover {
    background: #0f172a;
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* ================================
   HERO SECTION
   ================================ */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 5rem 0;
    text-align: center;
}

.hero-content {
    max-width: 700px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-slogan {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero .btn {
    background: white;
    color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.hero .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

/* ================================
   FEATURES SECTION
   ================================ */
.features {
    padding: 4rem 0;
    background: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary), #f87171);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* ================================
   SECTIONS
   ================================ */
section {
    padding: 4rem 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
}

/* ================================
   CAR CARDS
   ================================ */
.cars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

/* Responsive Breakpoints - Cars Grid */
@media (max-width: 1024px) {
    .cars-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cars-grid-premium {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .cars-grid {
        grid-template-columns: 1fr;
    }
    
    .cars-grid-premium {
        grid-template-columns: 1fr;
    }
}

.car-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.car-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.car-image {
    position: relative;
    height: 240px;
    overflow: hidden;
    background: var(--bg-light);
    display: block;
}

.car-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.car-card:hover .car-image img {
    transform: scale(1.1);
}

.no-image {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
    font-size: 3rem;
}

.car-image .badge,
.car-image-premium .badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.4rem 0.8rem;
    background: var(--primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-offer {
    background: #f59e0b;
}

.car-info {
    padding: 1.5rem;
}

.car-info h3 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.car-info h3 a:hover {
    color: var(--primary);
}

.car-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

.car-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--text-gray);
    margin-bottom: 1rem;
}

.car-specs span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.car-specs i {
    color: var(--primary);
}

/* ================================
   CTA SECTIONS
   ================================ */
.cta-section {
    background: var(--bg-light);
    padding: 3rem 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.125rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ================================
   FOOTER
   ================================ */
.footer {
    background: var(--secondary);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.footer-col h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: white;
}

.footer-col h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: white;
}

.footer-col p {
    color: #cbd5e1;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col ul li a {
    color: #cbd5e1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-col ul li a:hover {
    color: white;
    padding-left: 5px;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: white;
    font-size: 1.25rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.contact-list i {
    color: var(--primary);
    width: 20px;
}

.working-hours {
    color: #cbd5e1;
    line-height: 1.8;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #94a3b8;
}

/* ================================
   ALERTS
   ================================ */
.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.alert-success {
    background: #dcfce7;
    color: #166534;
    border-left: 4px solid #22c55e;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
    border-left: 4px solid #ef4444;
}

.alert-info {
    background: #dbeafe;
    color: #1e40af;
    border-left: 4px solid #3b82f6;
}

/* ================================
   INVENTORY PAGE
   ================================ */
.inventory-page {
    padding: 2rem 0 4rem;
    background: var(--bg-light);
}

.inventory-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.inventory-header h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.results-count {
    color: var(--text-gray);
    font-size: 1rem;
}

.mobile-filter-toggle {
    display: none;
    position: relative;
}

.floating-filter-btn {
    display: none;
    position: fixed;
    right: 1rem;
    bottom: 5rem;
    width: 56px;
    height: 56px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
    cursor: pointer;
    z-index: 150;
    transition: all 0.3s ease;
    font-size: 1.25rem;
}

.floating-filter-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.5);
}

.floating-filter-btn:active {
    transform: scale(0.95);
}

/* Sold Watermark */
.sold-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
    background: rgba(220, 38, 38, 0.9);
    color: white;
    font-size: 3rem;
    font-weight: 900;
    padding: 1rem 4rem;
    letter-spacing: 0.5rem;
    text-transform: uppercase;
    border: 4px solid white;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    z-index: 10;
    pointer-events: none;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .sold-watermark {
        font-size: 2rem;
        padding: 0.75rem 2.5rem;
        letter-spacing: 0.3rem;
        border: 3px solid white;
    }
}

@media (max-width: 480px) {
    .sold-watermark {
        font-size: 1.5rem;
        padding: 0.5rem 2rem;
        letter-spacing: 0.2rem;
        border: 2px solid white;
    }
}

/* Mobile Bottom Navigation */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 200;
    padding: 0.5rem 0 calc(0.5rem + env(safe-area-inset-bottom));
}

.mobile-bottom-nav .nav-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem;
    background: none;
    border: none;
    color: var(--text-gray);
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    text-decoration: none;
}

.mobile-bottom-nav .nav-btn:active {
    transform: scale(0.9);
}

.mobile-bottom-nav .nav-btn i {
    font-size: 1.5rem;
}

.mobile-bottom-nav .nav-btn span {
    font-size: 0.75rem;
    font-weight: 500;
}

.mobile-bottom-nav .nav-btn:hover,
.mobile-bottom-nav .nav-btn.active {
    color: var(--primary);
}

.mobile-bottom-nav .nav-badge {
    position: absolute;
    top: 0.25rem;
    right: 50%;
    transform: translateX(1rem);
    background: var(--primary);
    color: white;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    font-size: 0.625rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Sort Modal */
.sort-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-end;
}

.sort-modal.active {
    opacity: 1;
    visibility: visible;
}

.sort-modal-content {
    background: white;
    width: 100%;
    border-radius: 20px 20px 0 0;
    padding: 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    max-height: 70vh;
    overflow-y: auto;
}

.sort-modal.active .sort-modal-content {
    transform: translateY(0);
}

.sort-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border);
}

.sort-modal-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
}

.close-modal {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-gray);
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.close-modal:hover {
    background: var(--bg-light);
    color: var(--primary);
}

.sort-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sort-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: var(--radius);
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 0.95rem;
}

.sort-option:hover {
    background: rgba(220, 38, 38, 0.1);
    color: var(--primary);
}

.sort-option.active {
    background: var(--primary);
    color: white;
}

.sort-option i:first-child {
    font-size: 1.25rem;
    width: 24px;
}

.sort-option span {
    flex: 1;
    font-weight: 500;
}

.sort-option i:last-child {
    font-size: 1.25rem;
}

.filter-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: white;
    color: var(--primary);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Search Bar */
.search-bar {
    position: sticky;
    top: 70px;
    z-index: 100;
    background: white;
    padding: 1.5rem;
    margin: 0 0 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-radius: 12px;
}

.search-form {
    display: flex;
    gap: 0;
}

.search-input-wrapper {
    flex: 1;
    position: relative;
}

.search-input-wrapper i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-gray);
    font-size: 1.125rem;
}

.search-input {
    width: 100%;
    padding: 0.875rem 1rem 0.875rem 3rem;
    border: 2px solid var(--border);
    border-radius: var(--radius) 0 0 var(--radius);
    border-right: none;
    font-size: 1rem;
    transition: var(--transition);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: none;
}

.search-form .btn {
    border-radius: 0 var(--radius) var(--radius) 0;
    white-space: nowrap;
    border: 2px solid var(--primary);
}

/* Filter Chips */
.filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: white;
    border-radius: var(--radius);
}

.chips-label {
    font-weight: 600;
    color: var(--text-gray);
    font-size: 0.875rem;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.75rem;
    background: var(--bg-light);
    color: var(--text-dark);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--transition);
}

.chip:hover {
    background: var(--primary);
    color: white;
}

.chip i {
    font-size: 0.75rem;
}

.chip-clear {
    background: var(--primary);
    color: white;
}

.chip-clear:hover {
    background: var(--primary-dark);
}

/* Inventory Layout */
.inventory-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
}

/* Filters Sidebar */
.filters-sidebar {
    background: white;
    border-radius: var(--radius);
    padding: 1.5rem;
    height: fit-content;
    position: sticky;
    top: 90px;
    box-shadow: var(--shadow-sm);
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border);
}

.sidebar-header h3 {
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.close-sidebar {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-gray);
    cursor: pointer;
    padding: 0.25rem;
}

.filter-section {
    margin-bottom: 1.5rem;
}

.filter-label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-size: 0.875rem;
}

.form-select {
    width: 100%;
    padding: 0.625rem;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.875rem;
    background: white;
    cursor: pointer;
    transition: var(--transition);
}

.form-select:focus {
    outline: none;
    border-color: var(--primary);
}

.form-input {
    width: 100%;
    padding: 0.625rem;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.875rem;
    transition: var(--transition);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
}

.range-inputs {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 0.5rem;
    align-items: center;
}

.range-separator {
    color: var(--text-gray);
    font-weight: 600;
}

.filter-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 2rem;
}

.btn-block {
    width: 100%;
}

/* Content Header */
.content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: white;
    border-radius: var(--radius);
}

.sort-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sort-wrapper label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.875rem;
}

.form-select-inline {
    padding: 0.5rem 2rem 0.5rem 0.75rem;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.875rem;
    background: white;
    cursor: pointer;
}

/* Empty State */
.empty-state {
    background: white;
    border-radius: var(--radius);
    padding: 4rem 2rem;
    text-align: center;
}

.empty-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
    font-size: 3rem;
}

.empty-state h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.empty-state p {
    color: var(--text-gray);
    margin-bottom: 2rem;
}

.empty-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.pagination-btn {
    padding: 0.75rem 1.25rem;
    background: white;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-weight: 600;
    transition: var(--transition);
}

.pagination-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.pagination-pages {
    display: flex;
    gap: 0.5rem;
}

.pagination-page {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-weight: 600;
    transition: var(--transition);
}

.pagination-page:hover {
    background: var(--bg-light);
    border-color: var(--primary);
}

.pagination-page.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

/* ================================
   RESPONSIVE
   ================================ */
@media (max-width: 768px) {
    body {
        overflow-x: hidden;
    }
    
    .mobile-toggle {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        gap: 0;
        box-shadow: var(--shadow-md);
        display: none;
        padding: 1rem 0;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links li a {
        display: block;
        padding: 1rem 1.5rem;
        border-bottom: none;
        border-left: 3px solid transparent;
    }

    .nav-links li a:hover {
        background: var(--bg-light);
        border-left-color: var(--primary);
    }

    .nav-cta {
        margin: 0;
        padding: 0 1.5rem;
    }

    .nav-cta .btn {
        width: 100%;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-slogan {
        font-size: 1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .cars-grid {
        grid-template-columns: 1fr;
    }

    .section-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Inventory Mobile */
    .mobile-filter-toggle {
        display: inline-flex;
    }
    
    .floating-filter-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .mobile-bottom-nav {
        display: flex;
    }
    
    body {
        padding-bottom: 70px;
    }

    .inventory-layout {
        grid-template-columns: 1fr;
    }

    .filters-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 2000;
        background: rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(4px);
        padding: 0;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .filters-sidebar.active {
        opacity: 1;
        visibility: visible;
    }

    .filters-sidebar .filters-form {
        background: white;
        width: 90%;
        max-width: 420px;
        height: 100%;
        overflow-y: auto;
        padding: 1.5rem;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        box-shadow: 4px 0 20px rgba(0, 0, 0, 0.2);
    }
    
    .filters-sidebar.active .filters-form {
        transform: translateX(0);
    }

    .close-sidebar {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        transition: all 0.2s ease;
    }
    
    .close-sidebar:hover {
        background: var(--bg-light);
        color: var(--primary);
    }

    .search-bar {
        position: sticky;
        top: 70px;
        margin: 0 -1rem 1.5rem;
        padding: 1rem;
        border-radius: 0;
    }

    .search-form {
        flex-direction: row;
        gap: 0;
    }
    
    .search-input {
        font-size: 0.875rem;
        padding: 0.75rem 0.75rem 0.75rem 2.5rem;
    }
    
    .search-input-wrapper i {
        font-size: 1rem;
        left: 0.75rem;
    }
    
    .search-form .btn {
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }

    .filter-chips {
        flex-direction: column;
        align-items: stretch;
    }

    .chips-label {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 3rem 0;
    }

    section {
        padding: 2.5rem 0;
    }

    .btn {
        padding: 0.625rem 1.25rem;
    }

    .inventory-header h1 {
        font-size: 1.5rem;
    }

    .pagination-btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.875rem;
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        gap: 0;
        box-shadow: var(--shadow-md);
        display: none;
        padding: 1rem 0;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links li a {
        display: block;
        padding: 1rem 1.5rem;
        border-bottom: none;
        border-left: 3px solid transparent;
    }

    .nav-links li a:hover {
        background: var(--bg-light);
        border-left-color: var(--primary);
    }

    .nav-cta {
        margin: 0;
        padding: 0 1.5rem;
    }

    .nav-cta .btn {
        width: 100%;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-slogan {
        font-size: 1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .cars-grid {
        grid-template-columns: 1fr;
    }

    .section-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 3rem 0;
    }

    section {
        padding: 2.5rem 0;
    }

    .btn {
        padding: 0.625rem 1.25rem;
    }
}

/* ================================
   ADMIN PANEL STYLES
   ================================ */

/* Admin Body & Layout */
.admin-body {
    background: #f1f5f9;
    font-family: 'Inter', sans-serif;
}

.admin-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.admin-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Sidebar */
.admin-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: 260px;
    background: var(--bg-white);
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.05);
    z-index: 999;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.sidebar-brand {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.sidebar-brand i {
    font-size: 2rem;
    color: var(--primary);
}

.brand-text h2 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
}

.brand-text span {
    font-size: 0.75rem;
    color: var(--text-gray);
    font-weight: 500;
}

.sidebar-nav {
    flex: 1;
    padding: 1rem 0;
    overflow-y: auto;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.875rem 1.5rem;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.9375rem;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.sidebar-link i {
    font-size: 1.125rem;
    width: 20px;
    text-align: center;
    color: var(--text-gray);
    transition: color 0.2s ease;
}

.sidebar-link:hover {
    background: var(--bg-light);
    color: var(--primary);
}

.sidebar-link:hover i {
    color: var(--primary);
}

.sidebar-link.active {
    background: linear-gradient(90deg, rgba(220, 38, 38, 0.1) 0%, transparent 100%);
    color: var(--primary);
    border-left-color: var(--primary);
}

.sidebar-link.active i {
    color: var(--primary);
}

/* Admin Layout */
.admin-layout {
    margin-left: 260px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    transition: margin-left 0.3s ease;
}

/* Topbar */
.admin-topbar {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.hamburger-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-dark);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--radius);
    transition: background 0.2s ease;
}

.hamburger-btn:hover {
    background: var(--bg-light);
}

.topbar-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.topbar-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-gray);
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    transition: all 0.2s ease;
}

.topbar-link:hover {
    background: var(--bg-light);
    color: var(--primary);
}

/* Admin Dropdown */
.admin-dropdown {
    position: relative;
}

.admin-dropdown-btn {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    background: var(--bg-light);
    border: 1px solid var(--border);
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-dark);
}

.admin-dropdown-btn:hover {
    background: var(--bg-white);
    border-color: var(--primary);
}

.admin-dropdown-btn i:first-child {
    font-size: 1.25rem;
    color: var(--text-gray);
}

.admin-dropdown-btn i:last-child {
    font-size: 0.75rem;
    transition: transform 0.2s ease;
}

.admin-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
}

.admin-dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.admin-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--text-dark);
    font-size: 0.875rem;
    transition: background 0.2s ease;
}

.admin-dropdown-menu a:hover {
    background: var(--bg-light);
}

.admin-dropdown-menu a.text-danger {
    color: var(--primary);
}

.admin-dropdown-menu hr {
    margin: 0.5rem 0;
    border: none;
    border-top: 1px solid var(--border);
}

/* Main Content */
.admin-main {
    flex: 1;
    padding: 2rem;
}

.admin-content {
    max-width: 1400px;
}

/* Page Header */
.page-header {
    margin-bottom: 2rem;
}

.page-header h1 {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.page-header p {
    color: var(--text-gray);
    font-size: 0.9375rem;
}

/* Stat Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 1.25rem;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    flex-shrink: 0;
}

.stat-icon.blue {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
}

.stat-icon.green {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.stat-icon.orange {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
}

.stat-icon.red {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
}

.stat-info h3 {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-gray);
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-info .stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1;
}

/* Dashboard Sections */
.dashboard-section {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.section-header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.section-header-flex h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
}

.section-header-flex .btn-sm {
    font-size: 0.875rem;
}

/* Tables */
.admin-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.admin-table thead {
    background: var(--bg-light);
}

.admin-table th {
    text-align: left;
    padding: 1rem;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--border);
}

.admin-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    font-size: 0.9375rem;
    color: var(--text-dark);
}

.admin-table tbody tr {
    transition: background 0.2s ease;
}

.admin-table tbody tr:hover {
    background: var(--bg-light);
}

.table-car-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.table-car-details-wrapper {
    flex: 1;
    min-width: 0;
}

.table-car-img {
    width: 60px;
    height: 40px;
    border-radius: 4px;
    object-fit: cover;
    flex-shrink: 0;
}

.table-car-name {
    font-weight: 600;
    color: var(--text-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.table-car-details {
    font-size: 0.8125rem;
    color: var(--text-gray);
    margin-top: 0.125rem;
}

/* Mobile Only Info */
.mobile-only-info {
    display: none;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.mobile-info-item {
    font-size: 0.75rem;
    color: var(--text-gray);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.mobile-info-item i {
    color: var(--primary);
    font-size: 0.65rem;
}

.mobile-only-status {
    display: none;
    margin-top: 0.5rem;
}

.badge-small {
    padding: 0.25rem 0.5rem;
    font-size: 0.7rem;
}

/* Hide mobile elements on desktop */
.hide-mobile {
    display: table-cell;
}

/* Status Badges */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge.badge-success {
    background: #d1fae5;
    color: #065f46;
}

.badge.badge-warning {
    background: #fef3c7;
    color: #92400e;
}

.badge.badge-info {
    background: #dbeafe;
    color: #1e40af;
}

.badge i {
    font-size: 0.625rem;
}

/* Status Select Dropdown */
.status-form {
    display: inline-block;
}

.status-select {
    padding: 0.375rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    outline: none;
}

.status-select:hover {
    opacity: 0.85;
    transform: translateY(-1px);
}

.status-select:focus {
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.status-available {
    background: #d1fae5;
    color: #065f46;
    border-color: #065f46;
}

.status-sold {
    background: #fef3c7;
    color: #92400e;
    border-color: #92400e;
}

.status-reserved {
    background: #dbeafe;
    color: #1e40af;
    border-color: #1e40af;
}

/* Action Buttons */
.table-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-icon {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    border: 1px solid var(--border);
    background: var(--bg-white);
    color: var(--text-gray);
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.875rem;
}

.btn-icon:hover {
    background: var(--bg-light);
    border-color: var(--primary);
    color: var(--primary);
}

.btn-icon.btn-danger:hover {
    background: #fee;
    border-color: var(--primary);
    color: var(--primary);
}

/* Forms */
.form-section {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.form-section-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 0.9375rem;
}

.form-group label .required {
    color: var(--primary);
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.9375rem;
    color: var(--text-dark);
    transition: all 0.2s ease;
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

select.form-control {
    cursor: pointer;
}

/* File Upload */
.file-upload-area {
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    background: var(--bg-light);
    cursor: pointer;
}

.file-upload-area:hover {
    border-color: var(--primary);
    background: rgba(220, 38, 38, 0.05);
}

.file-upload-area i {
    font-size: 3rem;
    color: var(--text-gray);
    margin-bottom: 1rem;
}

.file-upload-area p {
    color: var(--text-gray);
    margin-bottom: 0.5rem;
}

.file-upload-area .file-upload-label {
    color: var(--primary);
    font-weight: 600;
    cursor: pointer;
}

/* Alert Messages */
.alert {
    padding: 1rem 1.5rem;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    border-left: 4px solid;
}

.alert i {
    font-size: 1.25rem;
    margin-top: 0.125rem;
}

.alert-success {
    background: #d1fae5;
    border-color: #10b981;
    color: #065f46;
}

.alert-error {
    background: #fee2e2;
    border-color: #ef4444;
    color: #991b1b;
}

.alert-info {
    background: #dbeafe;
    border-color: #3b82f6;
    color: #1e40af;
}

/* Empty State */
.empty-state-admin {
    text-align: center;
    padding: 3rem 2rem;
}

.empty-state-admin i {
    font-size: 4rem;
    color: var(--text-gray);
    opacity: 0.5;
    margin-bottom: 1rem;
}

.empty-state-admin h3 {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.empty-state-admin p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}

/* Delete Modal */
.delete-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.2s ease;
}

.delete-modal.show {
    display: flex;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.delete-modal-content {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 2rem;
    max-width: 450px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    text-align: center;
    animation: slideUp 0.3s ease;
}

.delete-modal-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.delete-modal-icon i {
    font-size: 2rem;
    color: white;
}

.delete-modal-content h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.delete-modal-content p {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 2rem;
    font-size: 1rem;
}

.delete-modal-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
}

.delete-modal-actions .btn {
    flex: 1;
    max-width: 150px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    font-size: 0.9375rem;
}

/* Responsive Admin */
@media (max-width: 768px) {
    .admin-sidebar {
        transform: translateX(-100%);
    }
    
    .admin-sidebar.active {
        transform: translateX(0);
    }
    
    .admin-layout {
        margin-left: 0;
    }
    
    .hamburger-btn {
        display: block;
    }
    
    .topbar-title {
        font-size: 1rem;
    }
    
    .hide-mobile {
        display: none;
    }
    
    .admin-topbar {
        padding: 1rem;
    }
    
    .admin-main {
        padding: 1rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-card {
        padding: 1.25rem;
    }
    
    .form-section {
        padding: 1.5rem;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .admin-table {
        font-size: 0.875rem;
    }
    
    .admin-table th,
    .admin-table td {
        padding: 0.75rem 0.5rem;
    }
    
    .table-car-img {
        width: 50px;
        height: 35px;
    }
    
    .section-header-flex {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .admin-dropdown-btn span {
        display: none;
    }
    
    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .stat-info .stat-number {
        font-size: 1.5rem;
    }
}

/* ================================
   PREMIUM HOMEPAGE STYLES
   ================================ */

/* Hero Premium Section */
.hero-premium {
    position: relative;
    min-height: 650px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}

.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content-premium {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 2rem;
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title-large {
    font-size: 4rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    font-weight: 400;
    line-height: 1.6;
}

.hero-cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-hero {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-outline-white {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-outline-white:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

/* Quick Search Section */
.quick-search {
    padding: 4rem 0;
    background: var(--bg-light);
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

/* Compact Search Box */
.search-box-compact {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    max-width: 900px;
    margin: 0 auto;
}

.search-header-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0;
}

.toggle-filters-btn {
    height: 40px;
    padding: 0 1rem;
    border: none;
    background: var(--bg-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.toggle-filters-btn:hover {
    background: #e5e5e5;
    transform: scale(1.05);
}

.toggle-filters-btn span {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-dark);
}

.toggle-filters-btn i {
    font-size: 1rem;
    color: var(--text-dark);
    transition: transform 0.3s ease;
}

.toggle-filters-btn.active i {
    transform: rotate(180deg);
}

.search-title {
    text-align: left;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.search-title i {
    color: var(--primary);
}

.search-form-compact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: all 0.3s ease;
    overflow: hidden;
}

.search-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    align-items: center;
    margin-top: 1.5rem;
}

.search-field-compact {
    position: relative;
}

.form-control-compact {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--border);
    border-radius: 10px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-dark);
    background: var(--bg-white);
    transition: var(--transition);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-control-compact:hover {
    border-color: var(--primary);
}

.form-control-compact:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.btn-search-compact {
    padding: 0.875rem 2rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.btn-search-compact:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.advanced-link {
    text-align: center;
    padding-top: 0.5rem;
}

.advanced-link a {
    color: var(--text-gray);
    font-size: 0.875rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.advanced-link a:hover {
    color: var(--primary);
}

.advanced-link i {
    font-size: 0.75rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    /* Quick Search Section - Sticky on Mobile */
    .quick-search {
        position: sticky;
        top: 70px; /* Below header */
        z-index: 98;
        background: white;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        padding: 0.75rem 0;
        margin-bottom: 1rem;
    }
    
    .search-box-compact {
        padding: 0;
        border-radius: 0;
        box-shadow: none;
        background: transparent;
    }
    
    .search-title {
        font-size: 1rem;
        margin-bottom: 0.75rem;
        display: none; /* Hide title on mobile to save space */
    }
    
    .search-row {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }
    
    .search-field-compact:nth-child(3) {
        grid-column: 1 / -1; /* Price spans full width */
    }
    
    .btn-search-compact {
        grid-column: 1 / -1;
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
        justify-content: center;
    }
    
    .form-control-compact {
        padding: 0.65rem 0.75rem;
        font-size: 0.875rem;
        border-radius: 8px;
        background-position: right 0.75rem center;
        padding-right: 2rem;
    }
    
    .advanced-link {
        display: none; /* Hide advanced link on mobile */
    }
    }
    
    .btn-search-compact {
        width: 100%;
        justify-content: center;
        padding: 1rem;
    }
    
    .form-control-compact {
        padding: 0.875rem 1rem;
        font-size: 0.9375rem;
    }
}

@media (max-width: 480px) {
    .quick-search {
        padding: 2rem 0;
    }
    
    .search-box-compact {
        padding: 1.25rem;
    }
    
    .btn-search-compact span {
        display: inline;
    }
}

/* Old search box styles - keep for compatibility */
.search-box {
    background: white;
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    max-width: 1100px;
    margin: 0 auto;
}

.search-form-home {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.search-filters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.search-field label {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 0.9375rem;
}

.btn-search {
    padding: 1rem 3rem;
    font-size: 1.125rem;
    border-radius: 50px;
    align-self: center;
    min-width: 250px;
}

/* Latest Cars Premium */
.latest-cars-premium {
    padding: 5rem 0;
    background: white;
}

.section-header-center {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header-center h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.section-header-center p {
    font-size: 1.125rem;
    color: var(--text-gray);
}

.cars-grid-premium {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.car-card-premium {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
}

.car-card-premium:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.car-image-premium {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: var(--bg-light);
    display: block;
}

.car-gallery {
    position: relative;
}

.gallery-link {
    display: block;
    height: 100%;
    width: 100%;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.gallery-image.active {
    opacity: 1;
    pointer-events: auto;
}

.car-image-premium img:not(.gallery-image) {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: var(--bg-light);
    transition: transform 0.5s ease;
}

.car-card-premium:hover .car-image-premium img {
    transform: scale(1.05);
}

/* Image Counter */
.image-counter {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    color: white;
    padding: 0.375rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8125rem;
    font-weight: 600;
    z-index: 10;
}

/* Gallery Navigation Buttons */
.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    opacity: 1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.car-card-premium:hover .gallery-nav {
    opacity: 1;
    background: rgba(0, 0, 0, 0.8);
}

.gallery-prev {
    left: 8px;
}

.gallery-next {
    right: 8px;
}

.gallery-nav:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.gallery-nav i {
    font-size: 1rem;
    color: white;
}

/* Favorite Star Button */
.favorite-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.favorite-btn:hover {
    background: white;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.favorite-btn i {
    font-size: 0.9375rem;
    color: var(--primary);
    transition: all 0.3s ease;
}

/* Share Button Top */
.share-btn-top {
    position: absolute;
    top: 46px;
    right: 10px;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.share-btn-top:hover {
    background: white;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.share-btn-top i {
    font-size: 0.9375rem;
    color: var(--text-dark);
}

.favorite-btn.active i {
    font-weight: 900;
}

.favorite-btn.active i:before {
    content: "\f005";
}

/* Price Badge in Corner */
.price-badge-corner {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 0.5rem 1rem;
}

.price-amount {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8), -1px -1px 3px rgba(0, 0, 0, 0.8);
    letter-spacing: 0.5px;
}

.no-image-premium {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--text-gray);
    opacity: 0.3;
}

.badge-premium {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.badge-offer {
    background: var(--primary);
    color: white;
}

.badge-new {
    background: #10b981;
    color: white;
    top: 3.5rem;
}

.car-info-premium {
    padding: 1.5rem;
}

.car-info-premium h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.4;
    min-height: 50px;
}

.car-info-premium h3 a {
    color: var(--text-dark);
}

.car-info-premium h3 a:hover {
    color: var(--primary);
}

/* Spec Boxes */
.car-specs-boxes {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.625rem;
    margin-top: 1rem;
}

.spec-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 0.5rem;
    background: var(--bg-light);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.spec-box:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

.spec-box i {
    font-size: 1.25rem;
    color: var(--primary);
}

.spec-box span {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
    line-height: 1.2;
}

/* Car Actions */
.car-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.action-btn {
    flex: 1;
    padding: 0.75rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.share-btn {
    background: var(--bg-light);
    color: var(--text-dark);
}

.share-btn:hover {
    background: #e5e5e5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.whatsapp-btn {
    background: #25d366;
    color: white;
    width: 100%;
}

.whatsapp-btn:hover {
    background: #20ba5a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

.whatsapp-btn span {
    font-size: 0.9375rem;
}

.action-btn i {
    font-size: 1.125rem;
}

/* Toast Notification */
.toast-notification {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    font-size: 0.9375rem;
    font-weight: 600;
    z-index: 9999;
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.toast-notification.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.btn-view {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-view:hover i {
    transform: translateX(4px);
}

.section-cta {
    text-align: center;
    margin-top: 2rem;
}

/* Services Premium */
.services-premium {
    padding: 5rem 0;
    background: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.service-card h3 {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* Why Denis Section */
.why-denis {
    padding: 5rem 0;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: white;
}

.why-denis .section-header-center h2 {
    color: white;
}

.why-denis .section-header-center p {
    color: rgba(255, 255, 255, 0.8);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.why-item {
    text-align: center;
    padding: 2rem;
}

.why-icon-large {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--primary);
    border: 3px solid rgba(220, 38, 38, 0.3);
    transition: all 0.3s ease;
}

.why-item:hover .why-icon-large {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
    border-color: var(--primary);
}

.why-item h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.why-item p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Social Proof Section */
.social-proof {
    padding: 4rem 0;
    background: var(--bg-light);
}

.stats-trust {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-trust {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.stat-number-trust {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label-trust {
    font-size: 1rem;
    color: var(--text-gray);
    font-weight: 600;
}

/* CTA Strong Section */
.cta-strong {
    padding: 5rem 0;
    background: white;
}

.cta-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.25rem;
    color: var(--text-gray);
    margin-bottom: 3rem;
}

.cta-buttons-visual {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.cta-btn {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: left;
}

.cta-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.cta-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    flex-shrink: 0;
}

.cta-phone {
    background: white;
    border: 2px solid var(--primary);
}

.cta-phone .cta-icon {
    background: var(--primary);
    color: white;
}

.cta-phone .cta-text {
    color: var(--primary);
}

.cta-whatsapp {
    background: #25D366;
    color: white;
}

.cta-whatsapp .cta-icon {
    background: rgba(255, 255, 255, 0.2);
}

.cta-instagram {
    background: linear-gradient(135deg, #833AB4 0%, #FD1D1D 50%, #F77737 100%);
    color: white;
}

.cta-instagram .cta-icon {
    background: rgba(255, 255, 255, 0.2);
}

.cta-text {
    flex: 1;
}

.cta-text span {
    display: block;
    font-size: 0.875rem;
    opacity: 0.9;
    margin-bottom: 0.25rem;
}

.cta-text strong {
    display: block;
    font-size: 1.125rem;
    font-weight: 700;
}

/* Footer Premium */
.footer-premium {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-grid-premium {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col-premium h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.footer-logo i {
    font-size: 2rem;
    color: var(--primary);
}

.footer-logo h3 {
    font-size: 1.5rem;
    font-weight: 800;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-social-premium {
    display: flex;
    gap: 1rem;
}

.footer-social-premium a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.footer-social-premium a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: white;
    padding-left: 0.5rem;
}

.footer-links i {
    font-size: 0.75rem;
    color: var(--primary);
}

.footer-contact {
    list-style: none;
}

.footer-contact li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.25rem;
    align-items: flex-start;
}

.footer-contact i {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    color: var(--primary);
    flex-shrink: 0;
}

.footer-contact span {
    display: block;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.25rem;
}

.footer-contact a,
.footer-contact p {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    margin: 0;
}

.footer-contact a:hover {
    color: var(--primary);
}

.footer-bottom-premium {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom-premium p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
}

.footer-tagline {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Responsive Premium Homepage */
@media (max-width: 768px) {
    .hero-premium {
        min-height: 500px;
    }
    
    .hero-video {
        /* Mobile optimization - fixed width for better performance */
        width: 100%;
        height: 100%;
        min-width: auto;
        min-height: auto;
        object-fit: cover;
    }
    
    .hero-overlay {
        /* Darker overlay on mobile for better text readability */
        background: rgba(0, 0, 0, 0.6);
    }
    
    .hero-title-large {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .hero-cta-buttons {
        flex-direction: column;
    }
    
    .btn-hero {
        width: 100%;
    }
    
    .search-box {
        padding: 2rem 1.5rem;
    }
    
    .search-filters {
        grid-template-columns: 1fr;
    }
    
    .btn-search {
        width: 100%;
    }
    
    .section-header-center h2 {
        font-size: 2rem;
    }
    
    .cars-grid-premium {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .car-card-premium {
        border-radius: 8px;
    }
    
    .car-image-premium {
        height: 200px;
    }
    
    .car-image-premium img,
    .gallery-image {
        object-fit: contain;
        background: var(--bg-light);
    }
    
    .car-info-premium {
        padding: 1rem;
    }
    
    .car-info-premium h3 {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .car-specs-boxes {
        gap: 0.5rem;
        margin-top: 0.75rem;
    }
    
    .spec-box {
        padding: 0.625rem 0.375rem;
        gap: 0.375rem;
    }
    
    .spec-box i {
        font-size: 0.875rem;
    }
    
    .spec-box span {
        font-size: 0.75rem;
    }
    
    .car-actions {
        margin-top: 0.75rem;
    }
    
    .action-btn {
        padding: 0.625rem 1rem;
        font-size: 0.875rem;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-trust {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
    
    .cta-buttons-visual {
        grid-template-columns: 1fr;
    }
    
    .footer-grid-premium {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-premium {
        min-height: 450px;
    }
    
    .hero-video {
        /* Extra small screens - scale properly */
        transform: translate(-50%, -50%) scale(1.2);
    }
    
    .hero-content-premium {
        padding: 1.5rem 1rem;
    }
    
    .hero-title-large {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .search-title {
        font-size: 1.375rem;
    }
    
    .section-header-center h2 {
        font-size: 1.75rem;
    }
    
    .stats-trust {
        grid-template-columns: 1fr;
    }
    
    .stat-number-trust {
        font-size: 2.25rem;
    }
}

/* ================================
   CAR DETAIL PAGE - PREMIUM
   ================================ */
.breadcrumbs {
    background: var(--bg-light);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
}

.breadcrumbs .container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.breadcrumbs a {
    color: var(--text-gray);
    font-size: 0.875rem;
    transition: var(--transition);
}

.breadcrumbs a:hover {
    color: var(--primary);
}

.breadcrumbs span {
    color: var(--text-dark);
    font-size: 0.875rem;
    font-weight: 500;
}

.breadcrumbs i.fas {
    font-size: 0.75rem;
    color: var(--text-gray);
}

.car-detail-premium {
    padding: 2rem 0;
    background: var(--bg-light);
}

.car-detail-layout {
    display: grid;
    grid-template-columns: 1fr 500px;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

/* ======= Gallery Slider ======= */
.car-gallery-section {
    position: relative;
}

.gallery-slider {
    position: relative;
    background: var(--bg-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.slider-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 66.67%; /* 3:2 aspect ratio */
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    cursor: zoom-in;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.slider-arrow:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.slider-prev {
    left: 1rem;
}

.slider-next {
    right: 1rem;
}

.slider-counter {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    z-index: 2;
}

.gallery-badges {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 2;
}

.badge-gallery {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.badge-offer {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
}

.badge-sold {
    background: rgba(100, 116, 139, 0.9);
    color: white;
}

.badge-reserved {
    background: rgba(251, 191, 36, 0.9);
    color: #78350f;
}

/* Thumbnail Strip */
.thumbnail-strip {
    display: flex;
    gap: 0.75rem;
    padding: 1rem;
    overflow-x: auto;
    background: var(--bg-white);
    border-radius: 0 0 var(--radius) var(--radius);
    scrollbar-width: thin;
}

.thumbnail-strip::-webkit-scrollbar {
    height: 6px;
}

.thumbnail-strip::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 3px;
}

.thumbnail-item {
    flex-shrink: 0;
    width: 80px;
    height: 60px;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.thumbnail-item:hover {
    border-color: var(--text-gray);
}

.thumbnail-item.active {
    border-color: var(--primary);
    box-shadow: 0 0 0 1px var(--primary);
}

.thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.no-image-premium {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 4rem 2rem;
    box-shadow: var(--shadow-lg);
}

.no-image-premium i {
    font-size: 4rem;
    color: var(--text-gray);
    margin-bottom: 1rem;
}

.no-image-premium p {
    color: var(--text-gray);
    font-size: 1.125rem;
}

/* ======= Info Section ======= */
.car-info-premium {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.car-header-premium h1 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

/* Compact Header with Inline Price */
.car-header-compact {
    margin-bottom: 1.5rem;
}

.car-header-compact h1 {
    font-size: 1.75rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.price-inline {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.car-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.car-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-gray);
}

.car-meta i {
    color: var(--primary);
}

/* Price Section */
.price-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #fef2f2, #fee2e2);
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
    border: 2px solid #fecaca;
}

.price-large {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.status-available {
    background: #d1fae5;
    color: #065f46;
}

.status-sold {
    background: #e5e7eb;
    color: #6b7280;
}

.status-reserved {
    background: #fef3c7;
    color: #78350f;
}

.status-badge i {
    font-size: 0.625rem;
}

/* Quick Specs Chips */
.quick-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.spec-chip {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    background: var(--bg-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.spec-chip i {
    font-size: 1.25rem;
    color: var(--primary);
}

.spec-chip span {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-dark);
}

/* CTA Buttons Premium */
.cta-buttons-premium {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.cta-btn-large {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.cta-icon-large {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.5rem;
}

.cta-text-large {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.cta-text-large span {
    font-size: 0.875rem;
    opacity: 0.9;
}

.cta-text-large strong {
    font-size: 1.125rem;
}

.cta-phone-large {
    background: var(--bg-white);
    border: 2px solid var(--primary);
    color: var(--primary);
}

.cta-phone-large .cta-icon-large {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
}

.cta-phone-large:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(220, 38, 38, 0.2);
}

.cta-phone-large:hover .cta-icon-large {
    background: white;
    color: var(--primary);
}

.cta-whatsapp-large {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
}

.cta-whatsapp-large .cta-icon-large {
    background: rgba(255, 255, 255, 0.2);
}

.cta-whatsapp-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
}

/* Share Section */
.share-section {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--bg-white);
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
    border: 1px solid var(--border);
}

.share-section span {
    font-size: 0.875rem;
    color: var(--text-gray);
    font-weight: 500;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--bg-white);
    color: var(--text-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.share-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: scale(1.1);
}

/* Specs Card */
.specs-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.specs-card h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.specs-card h3 i {
    color: var(--primary);
}

.specs-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
}

.spec-row:last-child {
    border-bottom: none;
}

.spec-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-gray);
}

.spec-label i {
    width: 20px;
    color: var(--primary);
}

.spec-value {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9375rem;
}

/* Description Card */
.description-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
    border: 1px solid var(--border);
}

.description-card h2 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.description-card h2 i {
    color: var(--primary);
}

.description-content {
    line-height: 1.8;
    color: var(--text-gray);
    font-size: 1rem;
}

/* Contact Form Card */
.contact-form-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    margin-bottom: 1.5rem;
    border: 1px solid var(--border);
}

.contact-form-card h2 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.contact-form-card h2 i {
    color: var(--primary);
}

.contact-form-card > p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}

.contact-form-premium .form-row-premium {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact-form-premium .form-group {
    margin-bottom: 1rem;
}

.contact-form-premium label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
    font-size: 0.9375rem;
}

.contact-form-premium .required {
    color: var(--primary);
}

.contact-form-premium .form-control {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
    transition: var(--transition);
}

.contact-form-premium .form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.contact-form-premium textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* Similar Cars */
.similar-cars-section {
    margin-top: 2rem;
}

/* Similar Cars Carousel */
.similar-cars-carousel {
    margin-top: 2rem;
    padding: 2rem 0;
}

.similar-cars-carousel h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.similar-cars-carousel h2 i {
    color: var(--primary);
}

.carousel-container {
    position: relative;
}

.carousel-track {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 0.5rem 0;
}

.carousel-track::-webkit-scrollbar {
    display: none;
}

.carousel-card {
    flex: 0 0 260px;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.carousel-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.carousel-image {
    display: block;
    position: relative;
    height: 160px;
    overflow: hidden;
    background: var(--bg-light);
}

.carousel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.carousel-card:hover .carousel-image img {
    transform: scale(1.1);
}

.carousel-info {
    padding: 1rem;
}

.carousel-info h4 {
    font-size: 0.9375rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    min-height: 38px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.carousel-info h4 a {
    color: var(--text-dark);
}

.carousel-info h4 a:hover {
    color: var(--primary);
}

.carousel-price {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.carousel-specs {
    display: flex;
    gap: 0.75rem;
    font-size: 0.8125rem;
    color: var(--text-gray);
}

.carousel-specs span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.carousel-nav:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
    left: -20px;
}

.carousel-next {
    right: -20px;
}

.carousel-nav i {
    font-size: 1.125rem;
}

.similar-cars-section h2 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
    color: var(--text-dark);
}

.similar-cars-section h2 i {
    color: var(--primary);
}

.similar-cars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.similar-car-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border);
}

.similar-car-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.similar-car-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--bg-light);
}

.similar-car-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.similar-car-card:hover .similar-car-image img {
    transform: scale(1.1);
}

.no-image-small {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: var(--bg-light);
}

.no-image-small i {
    font-size: 3rem;
    color: var(--text-gray);
}

.similar-car-info {
    padding: 1.25rem;
}

.similar-car-info h3 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.similar-car-info h3 a {
    color: var(--text-dark);
    transition: var(--transition);
}

.similar-car-info h3 a:hover {
    color: var(--primary);
}

.similar-car-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.similar-car-specs {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--text-gray);
}

.similar-car-specs span {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.similar-car-specs i {
    color: var(--primary);
}

/* Sticky Contact Bar (Mobile Only) */
.sticky-contact-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-white);
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
    z-index: 100;
    padding: 0.75rem;
    gap: 0.75rem;
}

.sticky-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
}

.sticky-phone {
    background: var(--primary);
    color: white;
}

.sticky-whatsapp {
    background: #25D366;
    color: white;
}

.sticky-btn:active {
    transform: scale(0.95);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2.5rem;
    color: white;
    cursor: pointer;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: var(--transition);
}

.lightbox-arrow:hover {
    background: rgba(255, 255, 255, 0.3);
}

.lightbox-prev {
    left: 2rem;
}

.lightbox-next {
    right: 2rem;
}

/* Alerts */
.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.alert i {
    font-size: 1.25rem;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.alert-warning {
    background: #fef3c7;
    color: #78350f;
    border: 1px solid #fde68a;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* ======= Responsive ======= */
@media (max-width: 1024px) {
    .car-detail-layout {
        grid-template-columns: 1fr 400px;
        gap: 1.25rem;
    }
}

@media (max-width: 768px) {
    .car-detail-layout {
        grid-template-columns: 1fr;
    }
    
    .car-info-premium {
        position: static;
    }
    
    .car-header-premium h1 {
        font-size: 1.5rem;
    }
    
    .price-large {
        font-size: 2rem;
    }
    
    .quick-specs {
        grid-template-columns: 1fr;
    }
    
    .contact-form-premium .form-row-premium {
        grid-template-columns: 1fr;
    }
    
    .similar-cars-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 1rem;
    }
    
    .sticky-contact-bar {
        display: flex;
    }
    
    .car-detail-premium {
        padding: 1.5rem 0;
        padding-bottom: 5rem;
    }
    
    .car-detail-layout {
        grid-template-columns: 1fr;
    }
    
    .car-gallery-section {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }
    
    .gallery-slider {
        border-radius: 12px;
        width: 100%;
        max-width: 100%;
    }
    
    .slider-container {
        width: 100%;
        max-width: 100%;
        padding-bottom: 75%;
        overflow: hidden;
        border-radius: 12px;
    }
    
    .slide {
        width: 100%;
        max-width: 100%;
        background: #000;
    }
    
    .slide img {
        width: 100%;
        max-width: 100%;
        height: 100%;
        object-fit: contain;
    }
    
    .slider-arrow {
        width: 40px;
        height: 40px;
    }
    
    .slider-prev {
        left: 0.5rem;
    }
    
    .slider-next {
        right: 0.5rem;
    }
}

@media (max-width: 480px) {
    .breadcrumbs {
        font-size: 0.75rem;
    }
    
    .car-header-premium h1 {
        font-size: 1.25rem;
    }
    
    .price-section {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .price-large {
        font-size: 1.75rem;
    }
    
    .cta-btn-large {
        padding: 1rem;
    }
    
    .cta-icon-large {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }
    
    .cta-text-large strong {
        font-size: 1rem;
    }
    
    .similar-cars-grid {
        grid-template-columns: 1fr;
    }
    
    .car-header-compact {
        margin-bottom: 0.75rem;
    }
    
    .car-header-compact h1 {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
    }
    
    .price-inline {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }
    
    .description-card-compact,
    .contact-form-card {
        padding: 0.875rem;
        margin-top: 0.875rem;
    }
    
    .description-card-compact h3 {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .description-content-compact {
        font-size: 0.875rem;
        line-height: 1.6;
    }
    
    .specs-card {
        padding: 0.875rem;
        margin-top: 0.875rem;
    }
    
    .specs-card h3 {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .spec-row {
        padding: 0.625rem 0;
        gap: 0.5rem;
    }
    
    .spec-label,
    .spec-value {
        font-size: 0.875rem;
    }
}

/* Description Card Compact (inside left column) */
.description-card-compact {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 1.25rem;
    box-shadow: var(--shadow-sm);
    margin-top: 1.25rem;
    border: 1px solid var(--border);
}

.description-card-compact h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 600;
}

.description-card-compact h3 i {
    color: var(--primary);
}

.description-content-compact {
    line-height: 1.8;
    color: var(--text-gray);
    font-size: 0.9375rem;
}





/* Fallback Image Styling */
.no-image-premium img,
.no-image-small img {
    opacity: 0.5;
    filter: grayscale(100%);
}

/* ============================================
   CONTACT PAGE PREMIUM STYLES
   ============================================ */

.contact-page-premium {
    padding: 3rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: calc(100vh - 400px);
}

/* Contact Hero */
.contact-hero {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3rem;
    align-items: center;
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 3rem;
}

.contact-hero-content h1 {
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-hero-content h1 i {
    color: var(--primary);
}

.contact-page-premium .hero-subtitle {
    font-size: 1.1rem;
    color: white;
    line-height: 1.7;
}

.hero-logo-large {
    width: 150px;
    height: 150px;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.1));
}

/* Contact Layout */
.contact-layout {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 2rem;
    align-items: start;
}

/* Quick Contact Buttons */
.quick-contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.quick-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.quick-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.quick-btn-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.8rem;
}

.quick-btn-phone .quick-btn-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.quick-btn-whatsapp .quick-btn-icon {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
}

.quick-btn-text {
    flex: 1;
}

.quick-btn-text span {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.quick-btn-text strong {
    display: block;
    font-size: 1.1rem;
    color: var(--dark);
}

/* Info Cards Grid */
.info-cards-grid {
    display: grid;
    gap: 1rem;
    margin-bottom: 2rem;
}

.info-card-modern {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    display: flex;
    gap: 1rem;
    align-items: center;
    transition: all 0.3s ease;
}

.info-card-modern:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transform: translateX(5px);
}

.info-card-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.info-card-content h3 {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.info-card-content p,
.info-card-content a {
    color: var(--dark);
    font-weight: 600;
    font-size: 1rem;
    margin: 0;
}

.info-card-content a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-card-content a:hover {
    color: var(--primary);
}

/* Social Connect Card */
.social-connect-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    margin-bottom: 2rem;
}

.social-connect-card h3 {
    font-size: 1.3rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.social-connect-card h3 i {
    color: var(--primary);
}

.social-connect-card > p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.social-buttons-modern {
    display: grid;
    gap: 0.75rem;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    color: white;
}

.social-instagram {
    background: linear-gradient(135deg, #E1306C 0%, #C13584 100%);
}

.social-facebook {
    background: linear-gradient(135deg, #3B5998 0%, #2D4373 100%);
}

.social-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.social-btn i {
    font-size: 1.5rem;
}

.social-btn span {
    flex: 1;
    color: white;
}

/* Why Choose Us Card */
.why-choose-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(214, 40, 57, 0.3);
}

.why-choose-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.why-choose-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.why-choose-list li {
    padding: 0.75rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.why-choose-list li:last-child {
    border-bottom: none;
}

.why-choose-list i {
    color: #FFD700;
    font-size: 1.2rem;
}

/* Contact Form Section */
.contact-form-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-card-premium {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.form-header {
    margin-bottom: 2rem;
}

.form-header h2 {
    font-size: 1.8rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.form-header h2 i {
    color: var(--primary);
}

.form-header p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Premium Form Styling */
.contact-form-premium .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.contact-form-premium .form-group {
    margin-bottom: 1.5rem;
}

.contact-form-premium label {
    display: block;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-form-premium label i {
    color: var(--primary);
}

.required {
    color: var(--primary);
}

.form-control-modern {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-control-modern:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(214, 40, 57, 0.1);
}

.form-control-modern::placeholder {
    color: #adb5bd;
}

textarea.form-control-modern {
    resize: vertical;
    min-height: 120px;
}

.form-notice {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: #e7f3ff;
    border-left: 4px solid #0066cc;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: #004085;
}

.form-notice i {
    color: #0066cc;
    font-size: 1.2rem;
}

/* Trust Indicators */
.trust-indicators {
    display: flex;
    justify-content: space-around;
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
}

.trust-item i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.trust-item span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark);
}

/* Responsive Design */
@media (max-width: 992px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }
    
    .contact-hero {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-logo-large {
        margin: 0 auto;
    }
    
    .contact-form-premium .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 2rem;
    }
    
    .contact-hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-logo-large {
        width: 100px;
        height: 100px;
    }
    
    .quick-contact-buttons {
        flex-direction: column;
    }
    
    .form-card-premium {
        padding: 1.5rem;
    }
    
    .trust-indicators {
        flex-direction: column;
        gap: 1rem;
    }
}

/* ============================================
   ADMIN TABLE MOBILE OPTIMIZATION
   ============================================ */

/* Hide mobile-only elements by default on desktop */
.mobile-only-info,
.mobile-only-status {
    display: none;
}

@media (max-width: 1024px) {
    /* Admin Table Mobile Styles */
    .admin-table-mobile .hide-mobile {
        display: none !important;
    }
    
    .mobile-only-info {
        display: flex !important;
        flex-wrap: wrap;
        gap: 0.75rem;
        margin-top: 0.5rem;
        padding-top: 0.5rem;
        border-top: 1px solid var(--border-light);
    }
    
    .mobile-only-status {
        display: flex !important;
        align-items: center;
        gap: 0.5rem;
        margin-top: 0.5rem;
    }
    
    .mobile-only-status form {
        display: inline-flex !important;
    }
    
    .mobile-only-status .badge {
        display: inline-flex !important;
    }
    
    .mobile-info-item {
        display: inline-flex;
        align-items: center;
        gap: 0.25rem;
        font-size: 0.875rem;
        color: var(--text-gray);
    }
    
    .mobile-info-item i {
        color: var(--primary);
        font-size: 0.75rem;
    }
    
    .admin-table-mobile .table-car-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        width: 100%;
    }
    
    .admin-table-mobile .table-car-img {
        width: 100%;
        height: 120px;
        border-radius: 8px;
    }
    
    .admin-table-mobile .table-car-details-wrapper {
        width: 100%;
    }
    
    .admin-table-mobile .table-car-name {
        font-size: 1rem;
        white-space: normal;
        margin-bottom: 0.25rem;
    }
    
    .table-actions-mobile {
        flex-direction: row;
        justify-content: flex-start;
        gap: 0.75rem;
    }
    
    .table-actions-mobile .btn-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .admin-table-mobile tbody tr {
        display: block;
        margin-bottom: 1rem;
        border: 1px solid var(--border);
        border-radius: 8px;
        padding: 1rem;
        background: white;
    }
    
    .admin-table-mobile tbody td {
        display: block;
        border: none;
        padding: 0;
    }
    
    .admin-table-mobile tbody td:last-child {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid var(--border);
    }
    
    .admin-table-mobile thead {
        display: none;
    }
}

/* ============================================
   LIGHTBOX GALLERY MODAL
   ============================================ */
.lightbox-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    transition: transform 0.3s ease;
    cursor: zoom-in;
}

.lightbox-image.zoomed {
    transform: scale(2);
    cursor: zoom-out;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10001;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.lightbox-close i {
    font-size: 1.5rem;
    color: white;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10001;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-nav i {
    font-size: 1.5rem;
    color: white;
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

.lightbox-counter {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    z-index: 10001;
}

@media (max-width: 768px) {
    .lightbox-nav {
        width: 45px;
        height: 45px;
    }
    
    .lightbox-prev {
        left: 15px;
    }
    
    .lightbox-next {
        right: 15px;
    }
    
    .lightbox-close {
        top: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
    }
    
    .lightbox-counter {
        bottom: 20px;
        font-size: 0.875rem;
        padding: 0.625rem 1.25rem;
    }
}


