/* ==================== PREMIUM VEHICLE CARD ==================== */

/* Vehicles Section Override - Premium Style */
.vehicles {
    position: relative;
    padding: 5rem 0 !important;
    background: radial-gradient(circle at top left, rgba(59, 130, 246, 0.15), transparent 45%),
        linear-gradient(180deg, #0f172a 0%, #1e3a8a 50%, #0f172a 100%) !important;
    overflow: hidden;
}

.premium-reservation-section::before,
.premium-reservation-section::after {
    content: "";
    position: absolute;
    border-radius: 9999px;
    background: radial-gradient(circle, rgba(234, 179, 8, 0.25), transparent 65%);
    filter: blur(0);
    animation: premiumFloat 12s ease-in-out infinite;
}

.premium-reservation-section::before {
    width: 380px;
    height: 380px;
    top: -120px;
    right: 5%;
    animation-delay: 0s;
}

.premium-reservation-section::after {
    width: 480px;
    height: 480px;
    bottom: -180px;
    left: -120px;
    animation-delay: 3s;
}

/* Vehicles Grid Override - Premium Style */
.vehicles .vehicles-grid {
    position: relative;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 2rem !important;
    max-width: 1280px;
    margin: 0 auto;
    padding: 2rem 0 !important;
    z-index: 1;
}


.premium-card-grid::after {
    content: "";
    display: block;
    border-radius: 32px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.18), rgba(139, 92, 246, 0.12));
    filter: blur(50px);
    height: 320px;
    transform: translateY(120px);
    opacity: 0.6;
}

/* Vehicle Card Override - Premium Style */
.vehicles .vehicle-card {
    position: relative !important;
    max-width: none !important;
    width: 100% !important;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.35), rgba(30, 41, 59, 0.55), rgba(15, 23, 42, 0.65)) !important;
    border-radius: 28px !important;
    border: 2px solid transparent !important;
    background-clip: padding-box;
    padding: 1.75rem !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 50px rgba(234, 179, 8, 0.2), inset 0 2px 0 rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(30px) !important;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.6s cubic-bezier(0.4, 0, 0.2, 1) !important;
    overflow: visible !important;
    display: flex !important;
    flex-direction: column !important;
    min-height: 100% !important;
}

/* Border gradient effect for vehicle cards */
.vehicles .vehicle-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 28px;
    padding: 2px;
    background: linear-gradient(135deg, #eab308, #f59e0b);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: -1;
}

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

.vehicles .vehicle-card:hover {
    transform: translateY(-15px) scale(1.02) !important;
    box-shadow: 0 35px 90px rgba(234, 179, 8, 0.35), 0 0 80px rgba(234, 179, 8, 0.25) !important;
}

.premium-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 32px;
    padding: 2px;
    background: linear-gradient(135deg, #eab308, #f59e0b);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.6;
}

.premium-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 35px 90px rgba(234, 179, 8, 0.35), 0 0 80px rgba(234, 179, 8, 0.25);
}

.premium-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.premium-card-badges {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.premium-card-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.85rem;
    border-radius: 9999px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #0f172a;
    box-shadow: 0 8px 20px rgba(234, 179, 8, 0.35);
    animation: badgePulse 2s ease-in-out infinite;
}

.premium-card-badge.popular {
    background: linear-gradient(135deg, #eab308, #f59e0b);
}

.premium-card-badge.discount {
    background: linear-gradient(135deg, #dc2626, #ef4444);
    color: #fff;
    animation-delay: 0.5s;
    box-shadow: 0 10px 30px rgba(220, 38, 38, 0.4);
}

.premium-card-title {
    margin-bottom: 1rem;
}

.premium-card-title h3 {
    font-size: 1.75rem;
    font-weight: 900;
    color: #fff;
    margin: 0;
}

.premium-card-title span {
    display: block;
    font-size: 0.9rem;
    color: rgba(226, 232, 240, 0.6);
    margin-top: 0.5rem;
}

.premium-card-class {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.2rem;
    border-radius: 9999px;
    background: rgba(234, 179, 8, 0.18);
    border: 1px solid rgba(234, 179, 8, 0.5);
    color: #facc15;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.premium-card-specs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.premium-spec-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.65rem 0.85rem;
    border-radius: 18px;
    background: rgba(30, 41, 59, 0.65);
    border: 1px solid rgba(234, 179, 8, 0.25);
    backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.premium-spec-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 120%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: transform 0.6s ease;
}

.premium-spec-item:hover::before {
    transform: translateX(120%);
}

.premium-spec-item:hover {
    transform: translateY(-3px) scale(1.02);
    border-color: rgba(234, 179, 8, 0.65);
    box-shadow: 0 12px 28px rgba(234, 179, 8, 0.25);
}

.premium-spec-icon {
    width: 32px;
    height: 32px;
    border-radius: 9999px;
    background: rgba(234, 179, 8, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #facc15;
    font-size: 0.95rem;
}

.premium-spec-text {
    display: flex;
    flex-direction: column;
}

.premium-spec-text span:first-child {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(148, 163, 184, 0.7);
}

.premium-spec-text span:last-child {
    font-size: 0.85rem;
    color: #fff;
    font-weight: 600;
}

.premium-card-media {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.premium-car-image {
    width: 100%;
    max-width: 280px;
    aspect-ratio: 3 / 2;
    position: relative;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.premium-car-image.no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 24px;
    background: rgba(30, 41, 59, 0.65);
    border: 1px dashed rgba(148, 163, 184, 0.35);
    color: rgba(234, 179, 8, 0.7);
    font-size: 3rem;
}

.premium-car-image.no-image::before {
    content: "\f1b9";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}

.premium-car-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 20px 60px rgba(234, 179, 8, 0.35));
    transition: transform 0.6s ease, filter 0.6s ease;
}

.premium-car-image:hover img {
    transform: scale(1.15) rotateY(6deg) translateZ(15px);
    filter: drop-shadow(0 25px 80px rgba(234, 179, 8, 0.5));
}

.premium-card-price {
    text-align: center;
    margin-bottom: 1.25rem;
}

.premium-card-price h4 {
    font-size: 0.75rem;
    color: rgba(148, 163, 184, 0.75);
    margin-bottom: 0.5rem;
    letter-spacing: 0.08em;
}

.premium-card-price .amount {
    font-size: 2.25rem;
    font-weight: 900;
    background: linear-gradient(120deg, #eab308, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    animation: premiumShimmer 3s ease infinite;
    filter: drop-shadow(0 0 20px rgba(234, 179, 8, 0.35));
}

.premium-card-price .tax-note {
    font-size: 0.75rem;
    color: rgba(148, 163, 184, 0.6);
    margin-top: 0.25rem;
}

.premium-card-actions {
    display: grid;
    gap: 0.65rem;
}

.premium-btn {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1rem;
    border-radius: 18px;
    font-size: 0.9rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    position: relative;
    overflow: hidden;
}

.premium-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 120%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transition: transform 0.6s ease;
}

.premium-btn:hover::before {
    transform: translateX(120%);
}

.premium-btn.primary {
    background: linear-gradient(135deg, #eab308, #f59e0b);
    color: #0f172a;
    box-shadow: 0 12px 35px rgba(234, 179, 8, 0.45);
}

.premium-btn.primary:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 20px 55px rgba(234, 179, 8, 0.55);
}

.premium-btn.primary .icon {
    font-size: 1.3rem;
}

.premium-btn.primary .arrow {
    transition: transform 0.35s ease;
}

.premium-btn.primary:hover .arrow {
    transform: translateX(8px);
}

.premium-btn.secondary {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: #fff;
    box-shadow: 0 12px 35px rgba(59, 130, 246, 0.45);
}

.premium-btn.secondary:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 22px 55px rgba(59, 130, 246, 0.6);
}

.premium-btn.outline {
    background: rgba(30, 41, 59, 0.65);
    border: 2px solid rgba(100, 116, 139, 0.45);
    color: rgba(226, 232, 240, 0.9);
}

.premium-btn.outline:hover {
    transform: translateY(-2px);
    background: rgba(51, 65, 85, 0.75);
    border-color: rgba(234, 179, 8, 0.4);
}

/* ==================== RESERVATION MODAL ==================== */

.premium-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    z-index: 50;
}

.premium-modal.active {
    display: flex;
}

.premium-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    opacity: 0;
    animation: modalFadeIn 0.3s forwards;
}

.premium-modal-dialog {
    position: relative;
    width: min(480px, 100%);
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.55), rgba(15, 23, 42, 0.65));
    border-radius: 24px;
    border: 2px solid transparent;
    background-clip: padding-box;
    padding: 1.75rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 50px rgba(59, 130, 246, 0.25);
    backdrop-filter: blur(30px);
    transform: scale(0.95);
    opacity: 0;
    animation: modalScaleIn 0.3s forwards;
}

.premium-modal-dialog::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 32px;
    padding: 2px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.premium-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    border-radius: 9999px;
    border: none;
    background: rgba(30, 41, 59, 0.85);
    color: rgba(148, 163, 184, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.premium-modal-close:hover {
    transform: rotate(90deg) scale(1.1);
    background: rgba(51, 65, 85, 0.9);
    color: #fff;
}

.premium-modal-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.premium-modal-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 0.85rem;
    border-radius: 9999px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.35rem;
    box-shadow: 0 12px 30px rgba(59, 130, 246, 0.45);
}

.premium-modal-header h3 {
    font-size: 1.5rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 0.35rem;
}

.premium-modal-header p {
    font-size: 0.85rem;
    color: rgba(148, 163, 184, 0.75);
}

.premium-modal-form {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.premium-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.premium-form-label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    color: rgba(226, 232, 240, 0.85);
}

.premium-form-label i {
    font-size: 0.8rem;
    color: #60a5fa;
}

.premium-form-input,
.premium-form-select {
    width: 100%;
    padding: 0.75rem 0.95rem;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.65);
    border: 2px solid rgba(100, 116, 139, 0.3);
    color: #fff;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.premium-form-input::placeholder {
    color: rgba(148, 163, 184, 0.5);
}

.premium-form-input:focus,
.premium-form-select:focus {
    outline: none;
    border-color: #3b82f6;
    background: rgba(15, 23, 42, 0.85);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
}

.premium-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.premium-modal-info {
    margin-top: 1rem;
    display: flex;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border-radius: 14px;
    background: rgba(59, 130, 246, 0.18);
    border: 1px solid rgba(59, 130, 246, 0.35);
    color: rgba(226, 232, 240, 0.85);
}

.premium-modal-info i {
    font-size: 1.2rem;
    color: #60a5fa;
}

.premium-modal-info strong {
    display: block;
    font-size: 0.85rem;
    color: #bfdbfe;
    margin-bottom: 0.2rem;
}

.premium-modal-info span {
    font-size: 0.75rem;
    color: rgba(148, 163, 184, 0.8);
}

.premium-modal-actions {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-top: 1rem;
}

.premium-modal-btn {
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: 16px;
    font-size: 0.9rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
}

.premium-modal-btn.primary {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: #fff;
    box-shadow: 0 12px 35px rgba(59, 130, 246, 0.45);
}

.premium-modal-btn.primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 22px 55px rgba(59, 130, 246, 0.6);
}

.premium-modal-btn.outline {
    background: rgba(22, 163, 74, 0.2);
    border: 2px solid rgba(34, 197, 94, 0.6);
    color: #34d399;
    backdrop-filter: blur(10px);
}

.premium-modal-btn.outline:hover {
    transform: translateY(-2px);
    background: rgba(22, 163, 74, 0.28);
}

.premium-modal-btn i {
    font-size: 0.95rem;
}

/* ==================== VEHICLE DETAIL STYLES ==================== */

.vehicle-detail-content {
    margin-bottom: 1.5rem;
}

.detail-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 1rem;
    background: rgba(30, 41, 59, 0.4);
    border-radius: 12px;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #e2e8f0;
    font-size: 0.95rem;
}

.detail-item i {
    color: #3b82f6;
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

.detail-item:last-child {
    grid-column: 1 / -1;
    justify-content: center;
}

/* ==================== ANIMATIONS ==================== */

@keyframes premiumFloat {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(30px, 30px);
    }
}

@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 10px 25px rgba(234, 179, 8, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 18px 35px rgba(234, 179, 8, 0.45);
    }
}

@keyframes premiumShimmer {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

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

@keyframes modalScaleIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ==================== RESPONSIVE ==================== */

@media (max-width: 1024px) {
    .premium-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        justify-items: center;
    }

    .premium-card-grid::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .premium-reservation-section {
        padding: 3rem 0 4rem;
    }

    .premium-card-grid {
        grid-template-columns: 1fr;
    }

    .premium-card {
        padding: 1.5rem;
    }

    .premium-card-title h3 {
        font-size: 1.5rem;
    }

    .premium-card-specs {
        grid-template-columns: 1fr;
    }

    .premium-form-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .premium-card {
        padding: 1.75rem;
    }

    .premium-btn,
    .premium-modal-btn {
        font-size: 1rem;
    }

    .premium-card-price .amount {
        font-size: 2.6rem;
    }
}
