/* Pricing section - main container for vehicle pricing cards */
.pricing-section {
    padding: 8rem 1rem 4rem 1rem;
    background: #121212;
    position: relative;
    color: #ffffff;
    scroll-margin-top: 4rem;
}

/* Gradient background effect for visual depth */
.pricing-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 15% 30%, rgba(255, 140, 66, 0.04) 0%, transparent 60%),
        radial-gradient(circle at 85% 70%, rgba(139, 92, 246, 0.04) 0%, transparent 60%);
    pointer-events: none;
}

/* Main content wrapper */
.pricing-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Section heading */
.pricing-section h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    text-align: center;
    color: #f8fafc;
}

/* Subtitle text */
.pricing-section .section-subtitle {
    text-align: center;
    color: #94a3b8;
    margin-bottom: 3rem;
    font-size: 1rem;
}

/* Grid layout for pricing cards */
.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

/* ======================================
   PRICE CARD STYLING WITH COLOR THEMES
   ====================================== */

/* Base price card styling */
.price-card {
    --theme-color: #ffffff;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid var(--theme-color);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

/* Color theme variants - each tariff has unique color */
.price-card.econom { --theme-color: #10b981; }
.price-card.standart { --theme-color: #3b82f6; }
.price-card.business { --theme-color: #ff8c42; }
.price-card.cargo { --theme-color: #a855f7; }
.price-card.microbus { --theme-color: #eab308; }

/* Hover effect for cards */
.price-card:hover {
    transform: translateY(-12px);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

/* Vehicle image container */
.vehicle-image {
    position: relative;
    overflow: hidden;
    height: 200px;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}

.vehicle-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
}

.price-card:hover .vehicle-image img {
    transform: scale(1.1);
}

/* Badge styling */
.price-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--theme-color);
    color: #121212;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

/* Price info section */
.price-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.price-info h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #f1f5f9;
}

/* Price details list */
.price-details {
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(170, 70, 70, 0.06);
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-label {
    font-weight: 500;
    color: #94a3b8;
    font-size: 0.9rem;
}

.detail-value {
    font-weight: 600;
    color: #e2e8f0;
    text-align: right;
}

.detail-value.theme-text {
    color: var(--theme-color);
}

/* ======================================
   PRICE AND ACTION BLOCK
   ====================================== */

/* Combined price and button container */
.price-action-group {
    background: #2a2b30;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Price amount block */
.price-amount-block {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
}

/* Price text styling */
.price-from,
.price-unit,
.price-value {
    color: var(--theme-color);
}

.price-from,
.price-unit {
    font-size: 0.85rem;
    font-weight: 500;
}

.price-value {
    font-size: 1.8rem;
    font-weight: 700;
}

/* Booking button */
.book-btn {
    width: 100%;
    border: none;
    background: var(--theme-color);
    color: #121212;
    padding: 1rem;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Button shine effect on hover */
.book-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

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

.book-btn:hover {
    filter: brightness(1.1);
}

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

/* Tablet layout */
@media (min-width: 640px) {
    .pricing-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

/* Desktop layout */
@media (min-width: 768px) {
    .pricing-section {
        padding: 11rem 2rem 6rem 2rem;
    }

    .pricing-section h2 {
        font-size: 2.5rem;
    }

    .vehicle-image {
        height: 240px;
    }

    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

