/* chauffer-service-booking-widget-1.css — вынесено из inline <style> компонента view/common/chauffer-service-booking-widget.php */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: #f8f8f8;
    color: #333;
    line-height: 1.5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title-wrapper {
    text-align: center;
    margin-bottom: 40px;
    margin-top: 100px;
}

.section-subtitle {
    color: #9A8866;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    color: #222;
    letter-spacing: -0.5px;
    margin-bottom: 20px;
}

.view-all-link {
    color: #222;
    font-size: 14px;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.view-all-link:hover {
    color: #9A8866;
}

.airport-selector {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    padding: 10px 0 10px;
    position: relative;
    overflow-x: auto;
    margin-left: auto;
    margin-right: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.airport-selector::-webkit-scrollbar {
    display: none;
}

.airport-pill {
    background-color: #fff;
    border-radius: 10px;
    padding: 10px 15px;
    font-size: 14px;
    font-weight: 500;
    color: #444;
    cursor: pointer;
    margin: 0 8px;
    transition: all 0.3s ease;
    position: relative;
    flex: 0 0 auto;
    white-space: nowrap;
    border: 1px solid rgba(0,0,0,0.08);
}

.airport-pill:hover {
    background-color: #f5f5f5;
}

.airport-pill.active {
    background-color: #222;
    color: #fff;
    position: relative;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transform: translateY(-3px);
    border-color: transparent;
}

.airport-pill.active:after {
    content: '';
    position: absolute;
    bottom: -9px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #222;
    z-index: 1;
}

.airport-pill:first-child {
    margin-left: 15px;
}

.airport-pill:last-child {
    margin-right: 15px;
}

.destinations-group {
    display: none;
}

.destinations-group.active {
    display: block;
}

.destinations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.destination-card {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0f0f0;
}

.destination-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: #e5e5e5;
}

.badge {
    position: absolute;
    top: 16px;
    left: 0;
    padding: 6px 14px;
    color: white;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 0 4px 4px 0;
    z-index: 2;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.1);
}

.premium {
    background: linear-gradient(135deg, #9A8866 0%, #BEA97A 100%);
}

.exclusive {
    background: linear-gradient(135deg, #4A6FA3 0%, #6989BB 100%);
}

.luxury {
    background: linear-gradient(135deg, #8C6096 0%, #A77FB9 100%);
}

.card-content {
    padding: 25px;
}

.route-info {
    margin-bottom: 20px;
    padding-top: 10px;
}

.card-title {
    font-size: 22px;
    font-weight: 600;
    color: #222;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.from {
    color: #555;
}

.arrow {
    margin: 0 10px;
    color: #9A8866;
    font-weight: 400;
}

.to {
    color: #222;
}

.card-description {
    font-size: 14px;
    color: #666;
}

.separator {
    height: 1px;
    background-color: #eee;
    margin-bottom: 20px;
}

.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.trip-details {
    display: flex;
    gap: 20px;
}

.time-info, .distance-info {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #666;
}

.go-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #222;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.go-btn:hover {
    background-color: #9A8866;
    transform: scale(1.05);
}

.go-btn .arrow-icon {
    transition: transform 0.3s ease;
}

.go-btn:hover .arrow-icon {
    transform: translateX(4px);
}

.scroll-indicator {
    display: none;
}

@media (max-width: 768px) {
    .section-title-wrapper {
        text-align: center;
        margin-bottom: 40px;
        margin-top: 25px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .destinations-grid {
        grid-template-columns: 1fr;
        padding: 0px 15px;
    }
    
    .airport-selector {
        justify-content: flex-start;
        padding: 10px 0 30px;
        width: 90%;
        scrollbar-width: thin;
        scrollbar-color: #9A8866 #f0f0f0;
        -webkit-overflow-scrolling: touch;
    }
    
    .airport-selector::-webkit-scrollbar {
        height: 4px;
        display: block;
    }
    
    .airport-selector::-webkit-scrollbar-track {
        background: #f0f0f0;
        border-radius: 10px;
    }
    
    .airport-selector::-webkit-scrollbar-thumb {
        background-color: #9A8866;
        border-radius: 10px;
        animation: pulse-scrollbar 2s infinite;
    }
    
    .airport-pill {
        padding: 10px 18px !important;
        font-size: 13px !important;
        margin: 0 5px !important;
    }
    
    .airport-pill:first-child {
        margin-left: 15px !important;
    }
    
    .airport-pill:last-child {
        margin-right: 20px !important;
    }
    
    .airport-pill.active:after {
        bottom: -16px;
    }
    
    .airport-selector:before,
    .airport-selector:after {
        content: "";
        position: absolute;
        top: 0;
        bottom: 15px;
        width: 35px;
        pointer-events: none;
    }
    
    .airport-selector:before {
        left: 0;
        background: linear-gradient(to right, rgba(248,248,248,1), rgba(248,248,248,0));
    }
    
    .airport-selector:after {
        right: 0;
        background: linear-gradient(to left, rgba(248,248,248,1), rgba(248,248,248,0));
    }
    
    .scroll-indicator {
        position: absolute;
        bottom: 12px;
        left: 50%;
        transform: translateX(-50%);
        text-align: center;
        font-size: 12px;
        color: #9A8866;
        opacity: 0.8;
        animation: fade-in-out 2s infinite;
        pointer-events: none;
        display: block;
    }
    
    @keyframes pulse-scrollbar {
        0% { opacity: 0.5; }
        50% { opacity: 1; }
        100% { opacity: 0.5; }
    }
    
    @keyframes fade-in-out {
        0%, 100% { opacity: 0.5; }
        50% { opacity: 1; }
    }
}
